{"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-09-30.preview","x-stripeBetaHeaders":["embedded_connect_beta=v2","server_side_confirmation_beta=v1","orders_beta=v4","unified_accounts_beta=v1","terminal_collect_inputs_beta=v2","terminal_collect_confirm_beta=v1","retrieve_tax_forms_beta=v1","checkout_server_update_beta=v1","payment_records_beta=v2","financial_connections_transactions_beta=v1","invoice_partial_payments_beta=v3","invoice_payment_plans_beta=v1","payment_intent_with_tax_api_beta=v1","custom_checkout_beta=v2","id_bank_transfer_beta=v2","fx_quote_preview=v1"],"x-stripeReleasePhase":"public_preview","x-stripeSpecAudience":"sdk","x-stripeSpecFilename":"spec3.public_preview.sdk"},"servers":[{"url":"https://api.stripe.com/"}],"security":[{"basicAuth":[]},{"bearerAuth":[]}],"tags":[{"name":"agentic","x-kind":"api-group"},{"name":"billing","x-kind":"api-group"},{"name":"commerce","x-kind":"api-group"},{"name":"core","x-kind":"api-group"},{"name":"core/health","x-kind":"api-group"},{"name":"core/vault","x-kind":"api-group"},{"name":"data","x-kind":"api-group"},{"name":"data/analytics","x-kind":"api-group"},{"name":"data/reporting","x-kind":"api-group"},{"name":"delegated_commerce","x-kind":"api-group"},{"name":"extend","x-kind":"api-group"},{"name":"extend/objects","x-kind":"api-group"},{"name":"iam","x-kind":"api-group"},{"name":"money_management","x-kind":"api-group"},{"name":"network","x-kind":"api-group"},{"name":"orchestrated_commerce","x-kind":"api-group"},{"name":"payments","x-kind":"api-group"},{"name":"provisioning","x-kind":"api-group"},{"name":"reporting","x-kind":"api-group"},{"name":"risk","x-kind":"api-group"},{"name":"signals","x-kind":"api-group"},{"name":"spend_management","x-kind":"api-group"},{"name":"tax","x-kind":"api-group"}],"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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_connect_account"}},"/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","capital_financing_offer","capital_financing_reporting"],"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"}}}}},"x-stableId":"create_connect_account_link"}},"/v1/account_notices":{"get":{"summary":"List AccountNotices","description":"

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

","operationId":"GetAccountNotices","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"sent","in":"query","description":"Set to false to only return unsent AccountNotices.","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"},"x-stripeLessCommon":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":"IssuingComplianceNoticeList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/account_notice"}},"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/account_notices","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"}}}}},"x-stableId":"list_connect_account_notices"}},"/v1/account_notices/{account_notice}":{"get":{"summary":"Retrieve an AccountNotice","description":"

Retrieves an AccountNotice object.

","operationId":"GetAccountNoticesAccountNotice","parameters":[{"name":"account_notice","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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/account_notice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_connect_account_notice"},"post":{"summary":"Update an AccountNotice","description":"

Updates an AccountNotice object.

","operationId":"PostAccountNoticesAccountNotice","parameters":[{"name":"account_notice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["email","sent_at"],"type":"object","properties":{"email":{"title":"email_params","required":["plain_text","recipient","subject"],"type":"object","properties":{"plain_text":{"maxLength":10000,"type":"string","description":"Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use."},"recipient":{"type":"string","description":"Email address of the recipient."},"subject":{"maxLength":5000,"type":"string","description":"Subject of the email."}},"description":"Information about the email you sent.","x-stripeMostCommon":["plain_text","recipient","subject"]},"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`."},"sent_at":{"type":"integer","description":"Date when you sent the notice.","format":"unix-time"}},"additionalProperties":false,"x-stripeMostCommon":["email","metadata","sent_at"]},"encoding":{"email":{"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/account_notice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"update_connect_account_notice"}},"/v1/account_sessions":{"post":{"summary":"Create an Account Session","description":"

Creates an 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"]},"app_install":{"title":"app_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"app_features_param","type":"object","properties":{"allowed_apps":{"description":"The list of apps allowed to be enabled in the embedded component.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["allowed_apps"]}},"description":"Configuration for the [app install](/connect/supported-embedded-components/app-install/) embedded component.","x-stripeMostCommon":["enabled","features"]},"app_viewport":{"title":"app_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"app_features_param","type":"object","properties":{"allowed_apps":{"description":"The list of apps allowed to be enabled in the embedded component.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["allowed_apps"]}},"description":"Configuration for the [app viewport](/connect/supported-embedded-components/app-viewport/) embedded component.","x-stripeMostCommon":["enabled","features"]},"balance_report":{"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 [balance report](/connect/supported-embedded-components/financial-reports#balance-report) 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"]},"capital_financing":{"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 [Capital financing](/connect/supported-embedded-components/capital-financing/) embedded component.","x-stripeMostCommon":["enabled","features"]},"capital_financing_application":{"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 [Capital financing application](/connect/supported-embedded-components/capital-financing-application/) embedded component.","x-stripeMostCommon":["enabled","features"]},"capital_financing_promotion":{"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 [Capital financing promotion](/connect/supported-embedded-components/capital-financing-promotion/) embedded component.","x-stripeMostCommon":["enabled","features"]},"capital_overview":{"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 [Capital overview](/connect/supported-embedded-components/capital-overview/) 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."},"smart_disputes_management":{"type":"boolean","description":"Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management","smart_disputes_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"]},"export_tax_transactions":{"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 [export tax transactions](/connect/supported-embedded-components/export-tax-transactions/) 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."},"smart_disputes_management":{"type":"boolean","description":"Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management","smart_disputes_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."},"smart_disputes_management":{"type":"boolean","description":"Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["destination_on_behalf_of_charge_management","dispute_management","refund_management","smart_disputes_management"]}},"description":"Configuration for the [payment disputes](/connect/supported-embedded-components/payment-disputes/) embedded component.","x-stripeMostCommon":["enabled","features"]},"payment_method_settings":{"title":"payment_method_settings_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"payment_method_settings_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. This is `false` by default."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["disable_stripe_user_authentication"]}},"description":"Configuration for the [payment method settings](/connect/supported-embedded-components/payment-method-settings/) 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."},"smart_disputes_management":{"type":"boolean","description":"Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management","smart_disputes_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"]},"payout_reconciliation_report":{"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 reconciliation report](/connect/supported-embedded-components/financial-reports#payout-reconciliation-report) 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"]},"product_tax_code_selector":{"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 [product tax code selector](/connect/supported-embedded-components/product-tax-code-selector/) embedded component.","x-stripeMostCommon":["enabled","features"]},"recipients":{"title":"recipients_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"recipients_features_param","type":"object","properties":{"send_money":{"type":"boolean","description":"Whether to allow sending money."}},"x-stripeMostCommon":["send_money"]}},"description":"Configuration for the [recipients](/connect/supported-embedded-components/recipients/) embedded component.","x-stripeMostCommon":["enabled","features"]},"reporting_chart":{"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 [reporting chart](/connect/supported-embedded-components/reporting-chart/) 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"]},"tax_threshold_monitoring":{"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 threshold monitoring](/connect/supported-embedded-components/tax-threshold-monitoring/) 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","balance_report","balances","capital_financing","capital_financing_application","capital_financing_manual_payment","capital_financing_promotion","capital_overview","check_scanning","disputes_list","documents","export_tax_transactions","financial_account","financial_account_rewards","financial_account_transactions","financial_accounts","financial_accounts_transactions","instant_payouts_promotion","issuing_card","issuing_cards_list","network_cost_passthrough_report","notification_banner","outbound_payment_details","payment_details","payment_disputes","payment_method_settings","payments","payout_details","payout_reconciliation_report","payouts","payouts_list","product_tax_code_selector","recipients","recipients_list","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"}}}}},"x-stableId":"create_connect_account_session"}},"/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"}]},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_accounts"},"post":{"summary":"Create an account","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://docs.stripe.com/api#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."},"specified_commercial_transactions_act_url":{"description":"A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Used by the Checkout product and for Japanese payment methods.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"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"]},"app_distribution":{"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 app_distribution 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"]},"automatic_indirect_tax":{"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 automatic_indirect_tax 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"]},"bizum_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 bizum_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"]},"blik_recurring_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_recurring_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":"protectable_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","protections","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"]},"gopay_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 gopay_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"]},"id_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 id_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"id_bank_transfer_payments_bca":{"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 id_bank_transfer_payments_bca 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"]},"paypal_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 paypal_payments capability.","x-stripeMostCommon":["preview","requested"]},"paypay_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 paypay_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"]},"qris_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 qris_payments capability.","x-stripeMostCommon":["preview","requested"]},"rechnung_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 rechnung_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"]},"scalapay_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 scalapay_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"]},"sequra_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 sequra_payments capability.","x-stripeMostCommon":["preview","requested"]},"shopeepay_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 shopeepay_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"]},"stripe_balance_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 stripe_balance_payments capability.","x-stripeMostCommon":["preview","requested"]},"sunbit_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 sunbit_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"]},"treasury_evolve":{"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_evolve capability.","x-stripeMostCommon":["preview","requested"]},"treasury_fifth_third":{"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_fifth_third capability.","x-stripeMostCommon":["preview","requested"]},"treasury_goldman_sachs":{"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_goldman_sachs 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_facilitated_payments","agentic_payments","alipay_payments","alma_payments","amazon_pay_payments","app_distribution","apple_pay_later_payments","au_bank_transfer_payments","au_becs_debit_payments","australia_sender","automatic_indirect_tax","bacs_debit_payments","bacs_debit_stripe_sun_payments","bancontact_payments","bank_transfer_payments","beneficiary_transfers","billie_payments","bizum_payments","blik_payments","blik_recurring_payments","boleto_payments","bridge_orchestration","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_debit_card_cross_river","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_onboarding","demo_pay_payments","dispute_deflection","dispute_resolution","dk_bank_transfer_payments","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","gcash_payments","getbalance_payments","gift_card_payments","giropay_payments","gopay_payments","grabpay_payments","gross_settlement","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","konbini_seven_eleven_payments","kr_card_payments","kr_market_payments","kriya_payments","legacy_payments","link_payments","loans","mb_way_payments","merchant_outbound_transfers_external_account","mobilepay_payments","momo_payments","mondu_payments","money_manager_business_storage_dda_usd","money_manager_business_storage_inbound_aud","money_manager_business_storage_inbound_eur","money_manager_business_storage_inbound_eurc","money_manager_business_storage_inbound_gbp","money_manager_business_storage_inbound_usd","money_manager_business_storage_inbound_usdc","money_manager_business_storage_outbound_aud","money_manager_business_storage_outbound_eur","money_manager_business_storage_outbound_eurc","money_manager_business_storage_outbound_gbp","money_manager_business_storage_outbound_usd","money_manager_business_storage_outbound_usdc","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","no_bank_transfer_payments","nz_bank_account_becs_debit_payments","nz_bank_transfer_payments","octopus_payments","oxxo_payments","p24_payments","pay_by_bank_payments","payco_payments","paynow_payments","payouts","paypal_payments","paypay_payments","payto_payments","pix_payments","promptpay_payments","qris_payments","rechnung_payments","revolut_pay_payments","samsung_pay_payments","satispay_payments","scalapay_payments","sepa_bank_transfer_payments","sepa_debit_payments","sequra_payments","shop_pay_payments","shopeepay_payments","skip_the_dishes","sofort_payments","south_korea_market_payments","stablecoin_custodial","steam_marketplace","storer_financial_addresses_bank_accounts","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","tamara_payments","tax_reporting_us_1099_k","tax_reporting_us_1099_misc","touch_n_go_payments","transfers","treasury","treasury_evolve","treasury_fifth_third","treasury_goldman_sachs","tripadvisor_supplier","truemoney_payments","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"]},"administrative_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 location where the business is administered.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"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":200,"type":"string","description":"The company's legal name."},"name_kana":{"maxLength":200,"type":"string","description":"The Kana variation of the company's legal name (Japan only)."},"name_kanji":{"maxLength":200,"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)."},"principal_place_of_business":{"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 primary location where the business conducts operations.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"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.)\n\nChanging this value requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of a document returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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","administrative_address","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","physical_address","principal_place_of_business","registered_email","registration_date","registration_number","representative_declaration","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":{"application":{"title":"controller_application_specs","required":["loss_liable"],"type":"object","properties":{"loss_liable":{"type":"boolean","description":"Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://docs.stripe.com/connect/account-balances)."},"onboarding_owner":{"type":"boolean","description":"Whether the controller owns onboarding for this account."},"pricing_controls":{"type":"boolean","description":"Whether the controller has pricing controls for this account."}},"description":"A hash of configuration describing the Connect application that controls the account.","x-stripeMostCommon":["loss_liable","onboarding_owner","pricing_controls"]},"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":"Properties of the account's dashboard.","x-stripeMostCommon":["type"]},"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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents showing the company's governing document (for example, a memorandum of association, constitution, or articles 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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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_ultimate_beneficial_ownership":{"title":"signer_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://docs.stripe.com/api#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":["articles_of_association","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_annual_turnover","proof_of_business_activity","proof_of_business_activity_additional","proof_of_business_presence","proof_of_partnership_deed","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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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_address","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":[""]}]},"risk_controls":{"title":"risk_controls_hash_param","type":"object","properties":{"charges":{"title":"risk_control_param","type":"object","properties":{"pause_requested":{"type":"boolean","description":"To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.\nThere can be a delay before the risk control is paused or unpaused."}},"description":"Represents the risk control status of charges. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).","x-stripeMostCommon":["pause_requested"]},"payouts":{"title":"risk_control_param","type":"object","properties":{"pause_requested":{"type":"boolean","description":"To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.\nThere can be a delay before the risk control is paused or unpaused."}},"description":"Represents the risk control status of payouts. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).","x-stripeMostCommon":["pause_requested"]}},"description":"A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).","x-stripeMostCommon":["charges","payouts","rejected_reason"]},"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"]},"bank_bca_onboarding":{"title":"bank_bca_onboarding_settings_specs","type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"Bank BCA business account holder name"},"business_account_number":{"maxLength":5000,"type":"string","description":"Bank BCA business account number"}},"description":"Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.","x-stripeMostCommon":["account_holder_name","business_account_number"]},"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"]},"capital":{"title":"capital_settings_specs","type":"object","properties":{"payout_destination":{"type":"object","additionalProperties":{"maxLength":5000,"type":"string"},"description":"Per-currency mapping of user-selected destination accounts used to pay out loans."},"payout_destination_selector":{"type":"object","additionalProperties":{"type":"array","items":{"maxLength":5000,"type":"string"}},"description":"Per-currency mapping of all destination accounts eligible to receive Capital financing payouts."}},"description":"Settings specific to the account's use of the Capital product.","x-stripeMostCommon":["payout_destination","payout_destination_selector"]},"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":{"email_customers_on_successful_payment":{"type":"boolean","description":"When you enable this parameter, the customer of this Account receives an email receipt when their payment succeeds. If this parameter isn't set, the default value is `false`."},"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"]},"paypay_payments":{"title":"paypay_payments_settings_specs","type":"object","properties":{"additional_files":{"type":"array","description":"Additional files that are required to support the onboarding process of your business.","items":{"maxLength":5000,"type":"string"}},"goods_type":{"type":"string","description":"The type of goods your business sells. Use `digital_content` if you sell digital content. Use `other` for all other types of goods or services.","enum":["digital_content","other"],"x-stripeEnum":{"kind":"closed","values":[{"value":"digital_content"},{"value":"other"}]}},"site":{"title":"paypay_site_specs","type":"object","properties":{"accessible":{"title":"paypay_site_accessible_specs","type":"object","properties":{},"description":"Additional information about your business's website."},"in_development":{"title":"paypay_site_in_development_specs","required":["password"],"type":"object","properties":{"password":{"maxLength":5000,"type":"string","description":"The password needed to access your business's website."},"username":{"maxLength":5000,"type":"string","description":"The username needed to access your business's website."}},"description":"Additional information about your business's website.","x-stripeMostCommon":["password","username"]},"restricted":{"title":"paypay_site_restricted_specs","type":"object","properties":{"payment_flow_file":{"maxLength":5000,"type":"string","description":"The file explaining the payment flow for your business."}},"description":"Additional information about your business's website.","x-stripeMostCommon":["payment_flow_file"]},"type":{"type":"string","description":"The status of your business's website.","enum":["accessible","in_development","restricted"],"x-stripeEnum":{"kind":"closed","values":[{"value":"accessible"},{"value":"in_development"},{"value":"restricted"}]}}},"description":"Details regarding your business's website.","x-stripeMostCommon":["accessible","in_development","restricted","type"]}},"description":"Settings specific to the PayPay payments method.","x-stripeMostCommon":["additional_files","goods_type","site"]},"sepa_debit_payments":{"title":"sepa_debit_payments_specs","type":"object","properties":{"creditor_id":{"type":"string","description":"The business creditor id for european payments."}},"description":"Settings specific to SEPA Direct Debit payments.","x-stripeMostCommon":["creditor_id"]},"smart_disputes":{"title":"smart_disputes_settings_specs","type":"object","properties":{"auto_respond":{"title":"smart_disputes_auto_respond_specs","type":"object","properties":{"preference":{"type":"string","description":"The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.","enum":["inherit","off","on"],"x-stripeEnum":{"kind":"closed","values":[{"value":"inherit"},{"value":"off"},{"value":"on"}]}}},"description":"Smart Disputes auto-respond settings for the account.","x-stripeMostCommon":["preference"]}},"description":"Settings specific to the account's use of Smart Disputes.","x-stripeMostCommon":["auto_respond"]},"tax_forms":{"title":"tax_form_settings_param","type":"object","properties":{"consented_to_paperless_delivery":{"type":"boolean","description":"Whether the account opted out of receiving their tax forms by postal delivery."}},"description":"Settings specific to the account's tax forms.","x-stripeMostCommon":["consented_to_paperless_delivery","mail_paper_copy"]},"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_deflection","fund_and_send","funding_credit","invoices","konbini_payments","payments","payouts","sepa_debit_payments","smart_disputes","tax_forms","treasury","verified","wechat_pay_payments"]},"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` parameter is deprecated. Use [`controller`](/api/accounts/create#create_account-controller) instead to configure dashboard access, fee payer, loss liability, and requirement collection.","enum":["custom","express","standard"]}},"additionalProperties":false,"x-stripeMostCommon":["business_type","capabilities","company","controller","country","email","individual","metadata","tos_acceptance"]},"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},"risk_controls":{"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"}}}}},"x-stableId":"create_connect_account"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_connect_account"},"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"},"x-stripeLessCommon":true}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"account_token":{"maxLength":5000,"type":"string","description":"An [account token](https://docs.stripe.com/api#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."},"specified_commercial_transactions_act_url":{"description":"A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"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"]},"app_distribution":{"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 app_distribution 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"]},"automatic_indirect_tax":{"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 automatic_indirect_tax 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"]},"bizum_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 bizum_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"]},"blik_recurring_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_recurring_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":"protectable_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","protections","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"]},"gopay_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 gopay_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"]},"id_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 id_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"id_bank_transfer_payments_bca":{"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 id_bank_transfer_payments_bca 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"]},"paypal_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 paypal_payments capability.","x-stripeMostCommon":["preview","requested"]},"paypay_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 paypay_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"]},"qris_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 qris_payments capability.","x-stripeMostCommon":["preview","requested"]},"rechnung_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 rechnung_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"]},"scalapay_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 scalapay_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"]},"sequra_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 sequra_payments capability.","x-stripeMostCommon":["preview","requested"]},"shopeepay_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 shopeepay_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"]},"stripe_balance_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 stripe_balance_payments capability.","x-stripeMostCommon":["preview","requested"]},"sunbit_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 sunbit_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"]},"treasury_evolve":{"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_evolve capability.","x-stripeMostCommon":["preview","requested"]},"treasury_fifth_third":{"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_fifth_third capability.","x-stripeMostCommon":["preview","requested"]},"treasury_goldman_sachs":{"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_goldman_sachs 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_facilitated_payments","agentic_payments","alipay_payments","alma_payments","amazon_pay_payments","app_distribution","apple_pay_later_payments","au_bank_transfer_payments","au_becs_debit_payments","australia_sender","automatic_indirect_tax","bacs_debit_payments","bacs_debit_stripe_sun_payments","bancontact_payments","bank_transfer_payments","beneficiary_transfers","billie_payments","bizum_payments","blik_payments","blik_recurring_payments","boleto_payments","bridge_orchestration","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_debit_card_cross_river","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_onboarding","demo_pay_payments","dispute_deflection","dispute_resolution","dk_bank_transfer_payments","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","gcash_payments","getbalance_payments","gift_card_payments","giropay_payments","gopay_payments","grabpay_payments","gross_settlement","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","konbini_seven_eleven_payments","kr_card_payments","kr_market_payments","kriya_payments","legacy_payments","link_payments","loans","mb_way_payments","merchant_outbound_transfers_external_account","mobilepay_payments","momo_payments","mondu_payments","money_manager_business_storage_dda_usd","money_manager_business_storage_inbound_aud","money_manager_business_storage_inbound_eur","money_manager_business_storage_inbound_eurc","money_manager_business_storage_inbound_gbp","money_manager_business_storage_inbound_usd","money_manager_business_storage_inbound_usdc","money_manager_business_storage_outbound_aud","money_manager_business_storage_outbound_eur","money_manager_business_storage_outbound_eurc","money_manager_business_storage_outbound_gbp","money_manager_business_storage_outbound_usd","money_manager_business_storage_outbound_usdc","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","no_bank_transfer_payments","nz_bank_account_becs_debit_payments","nz_bank_transfer_payments","octopus_payments","oxxo_payments","p24_payments","pay_by_bank_payments","payco_payments","paynow_payments","payouts","paypal_payments","paypay_payments","payto_payments","pix_payments","promptpay_payments","qris_payments","rechnung_payments","revolut_pay_payments","samsung_pay_payments","satispay_payments","scalapay_payments","sepa_bank_transfer_payments","sepa_debit_payments","sequra_payments","shop_pay_payments","shopeepay_payments","skip_the_dishes","sofort_payments","south_korea_market_payments","stablecoin_custodial","steam_marketplace","storer_financial_addresses_bank_accounts","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","tamara_payments","tax_reporting_us_1099_k","tax_reporting_us_1099_misc","touch_n_go_payments","transfers","treasury","treasury_evolve","treasury_fifth_third","treasury_goldman_sachs","tripadvisor_supplier","truemoney_payments","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"]},"administrative_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 location where the business is administered.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"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":200,"type":"string","description":"The company's legal name."},"name_kana":{"maxLength":200,"type":"string","description":"The Kana variation of the company's legal name (Japan only)."},"name_kanji":{"maxLength":200,"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)."},"principal_place_of_business":{"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 primary location where the business conducts operations.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"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.)\n\nChanging this value requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of a document returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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","administrative_address","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","physical_address","principal_place_of_business","registered_email","registration_date","registration_number","representative_declaration","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_update","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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents showing the company's governing document (for example, a memorandum of association, constitution, or articles 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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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":["articles_of_association","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_annual_turnover","proof_of_business_activity","proof_of_business_activity_additional","proof_of_business_presence","proof_of_partnership_deed","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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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","attestation","birth_address","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":[""]}]},"risk_controls":{"title":"risk_controls_hash_param","type":"object","properties":{"charges":{"title":"risk_control_param","type":"object","properties":{"pause_requested":{"type":"boolean","description":"To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.\nThere can be a delay before the risk control is paused or unpaused."}},"description":"Represents the risk control status of charges. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).","x-stripeMostCommon":["pause_requested"]},"payouts":{"title":"risk_control_param","type":"object","properties":{"pause_requested":{"type":"boolean","description":"To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.\nThere can be a delay before the risk control is paused or unpaused."}},"description":"Represents the risk control status of payouts. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).","x-stripeMostCommon":["pause_requested"]}},"description":"A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).","x-stripeMostCommon":["charges","payouts","rejected_reason"]},"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"]},"bank_bca_onboarding":{"title":"bank_bca_onboarding_settings_specs","type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"Bank BCA business account holder name"},"business_account_number":{"maxLength":5000,"type":"string","description":"Bank BCA business account number"}},"description":"Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.","x-stripeMostCommon":["account_holder_name","business_account_number"]},"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"]},"capital":{"title":"capital_settings_specs","type":"object","properties":{"payout_destination":{"type":"object","additionalProperties":{"maxLength":5000,"type":"string"},"description":"Per-currency mapping of user-selected destination accounts used to pay out loans."},"payout_destination_selector":{"type":"object","additionalProperties":{"type":"array","items":{"maxLength":5000,"type":"string"}},"description":"Per-currency mapping of all destination accounts eligible to receive Capital financing payouts."}},"description":"Settings specific to the account's use of the Capital product.","x-stripeMostCommon":["payout_destination","payout_destination_selector"]},"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":{"email_customers_on_successful_payment":{"type":"boolean","description":"When you enable this parameter, the customer of this Account receives an email receipt when their payment succeeds. If this parameter isn't set, the default value is `false`."},"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"]},"paypay_payments":{"title":"paypay_payments_settings_specs","type":"object","properties":{"additional_files":{"type":"array","description":"Additional files that are required to support the onboarding process of your business.","items":{"maxLength":5000,"type":"string"}},"goods_type":{"type":"string","description":"The type of goods your business sells. Use `digital_content` if you sell digital content. Use `other` for all other types of goods or services.","enum":["digital_content","other"],"x-stripeEnum":{"kind":"closed","values":[{"value":"digital_content"},{"value":"other"}]}},"site":{"title":"paypay_site_specs","type":"object","properties":{"accessible":{"title":"paypay_site_accessible_specs","type":"object","properties":{},"description":"Additional information about your business's website."},"in_development":{"title":"paypay_site_in_development_specs","required":["password"],"type":"object","properties":{"password":{"maxLength":5000,"type":"string","description":"The password needed to access your business's website."},"username":{"maxLength":5000,"type":"string","description":"The username needed to access your business's website."}},"description":"Additional information about your business's website.","x-stripeMostCommon":["password","username"]},"restricted":{"title":"paypay_site_restricted_specs","type":"object","properties":{"payment_flow_file":{"maxLength":5000,"type":"string","description":"The file explaining the payment flow for your business."}},"description":"Additional information about your business's website.","x-stripeMostCommon":["payment_flow_file"]},"type":{"type":"string","description":"The status of your business's website.","enum":["accessible","in_development","restricted"],"x-stripeEnum":{"kind":"closed","values":[{"value":"accessible"},{"value":"in_development"},{"value":"restricted"}]}}},"description":"Details regarding your business's website.","x-stripeMostCommon":["accessible","in_development","restricted","type"]}},"description":"Settings specific to the PayPay payments method.","x-stripeMostCommon":["additional_files","goods_type","site"]},"sepa_debit_payments":{"title":"sepa_debit_payments_specs","type":"object","properties":{"creditor_id":{"type":"string","description":"The business creditor id for european payments."}},"description":"Settings specific to SEPA Direct Debit payments.","x-stripeMostCommon":["creditor_id"]},"smart_disputes":{"title":"smart_disputes_settings_specs","type":"object","properties":{"auto_respond":{"title":"smart_disputes_auto_respond_specs","type":"object","properties":{"preference":{"type":"string","description":"The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.","enum":["inherit","off","on"],"x-stripeEnum":{"kind":"closed","values":[{"value":"inherit"},{"value":"off"},{"value":"on"}]}}},"description":"Smart Disputes auto-respond settings for the account.","x-stripeMostCommon":["preference"]}},"description":"Settings specific to the account's use of Smart Disputes.","x-stripeMostCommon":["auto_respond"]},"tax_forms":{"title":"tax_form_settings_param","type":"object","properties":{"consented_to_paperless_delivery":{"type":"boolean","description":"Whether the account opted out of receiving their tax forms by postal delivery."}},"description":"Settings specific to the account's tax forms.","x-stripeMostCommon":["consented_to_paperless_delivery","mail_paper_copy"]},"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","dispute_deflection","fund_and_send","funding_credit","invoices","konbini_payments","payments","payouts","sepa_debit_payments","smart_disputes","tax_forms","treasury","verified","wechat_pay_payments"]},"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},"risk_controls":{"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"}}}}},"x-stableId":"update_connect_account"},"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"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/deleted_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"delete_connect_account"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_account_capabilities"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/capability"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_connect_account_capability"},"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"update_connect_account_capability"}},"/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"},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_external_accounts"},"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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"create_connect_external_account"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_connect_external_account"},"post":{"summary":"Update a bank account","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"},"x-stripeLessCommon":true},{"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://docs.stripe.com/api#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"}}}}},"x-stableId":"update_connect_external_account,update_connect_external_account_card"},"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"delete_connect_external_account"}},"/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"}}}}},"x-stableId":"create_connect_login_link"}},"/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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_people"},"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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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).\n\nChanging this value for the account's representative requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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).\n\nChanging this value for the account's representative requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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).\n\nChanging this value for the account's representative requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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"}}}}},"x-stableId":"create_connect_person"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_connect_person"},"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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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).\n\nChanging this value for the account's representative requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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).\n\nChanging this value for the account's representative requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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).\n\nChanging this value for the account's representative requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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"}}}}},"x-stableId":"update_connect_person"},"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 representative. 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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"delete_connect_person"}},"/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.

","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"}},"payouts_action":{"type":"string","description":"Whether to pause payouts on the account as part of the rejection. Defaults to `pause`. Use `none` to leave payouts enabled.","enum":["none","pause"],"x-stripeEnum":{"kind":"closed","values":[{"value":"none"},{"value":"pause"}]}},"reason":{"type":"string","description":"The reason for rejecting the account. Can be `fraud_payment_method_casher`, `fraud_payment_method_tester`, `fraud_no_intent_to_fulfill`, `fraud_other`, `credit`, `terms_of_service`, or `other`.","enum":["credit","fraud_no_intent_to_fulfill","fraud_other","fraud_payment_method_casher","fraud_payment_method_tester","other","terms_of_service"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"value":"credit"},{"value":"fraud_no_intent_to_fulfill"},{"value":"fraud_other"},{"value":"fraud_payment_method_casher"},{"value":"fraud_payment_method_tester"},{"value":"other"},{"value":"terms_of_service"}]}}},"additionalProperties":false,"x-stripeMostCommon":["payouts_action","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"}}}}},"x-stableId":"reject_connect_account"}},"/v1/accounts/{account}/unreject":{"post":{"summary":"Unreject an account","description":"

With Connect, you can unreject accounts that you have previously rejected.

\n\n

Only accounts that were rejected by your platform can be unrejected. This API cannot be used to unreject accounts that were rejected by Stripe.

\n\n

Unreject will only enable charges and/or payouts if there are no other restrictions other than those placed by a previous rejection. If you have separately paused charges and/or payouts outside of rejection, those pauses will remain in place after unrejection.

","operationId":"PostAccountsAccountUnreject","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/account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"unreject_connect_account"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}},"x-stripeLessCommon":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":{"$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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_application_fees"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_connect_application_fee_refund"},"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"}}}}},"x-stableId":"update_connect_application_fee_refund"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_connect_application_fee"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_application_fee_refunds"},"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"}}}}},"x-stableId":"create_connect_application_fee_refund"}},"/v1/apps/installs":{"get":{"summary":"List all app installs","description":"

Returns a list of app installs. An app developer or embedding platform filtering by its own app sees the installs across the accounts that installed it; other callers see the installs on their own account. The key selects the environment: a live key lists live installs, a sandbox API key lists the installs on that sandbox, and the key of an app’s managed sandbox filtering by app lists that app’s installs across every sandbox. For existing accounts that still use legacy test mode, a test mode key lists legacy test mode installs.

","operationId":"GetAppsInstalls","parameters":[{"name":"account","in":"query","description":"Only return installs made by this account. Only useful to app developers and embedding platforms, whose lists span the accounts that installed their app.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"app","in":"query","description":"Only return installs for the app specified by this app ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"approval_required","in":"query","description":"Only return installs whose installer must authorize pending permissions, content security policy entries, or endpoints.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"channel","in":"query","description":"Only return installs in the distribution channel specified by this channel name.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["private_live","private_test","public","testing"],"x-stripeEnum":{"kind":"open","values":[{"description":"A private app installed in live mode.","value":"private_live"},{"description":"A private app installed in test mode.","value":"private_test"},{"description":"The published version of the app.","value":"public"},{"description":"A pre-release version of the app installed for external testing.","value":"testing"}]}}},{"name":"created","in":"query","description":"Only return app installs 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":"created_by","in":"query","description":"Only return installs created by the embedding platform 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"}},"x-stripeLessCommon":true},{"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 installs with the given status.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string","enum":["install_failed","installed","installing","uninstall_failed","uninstalling"]}}],"requestBody":{"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":"AppServiceResourceInstallAPIList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/apps.install"}},"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/installs","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"}}}}},"x-stableId":"list_app_installs"},"post":{"summary":"Create an app install","description":"

Creates an app install. An account installs its own private app with its own key; public and testing installs are made from the Dashboard. An app developer or embedding platform acting on a connected account through Stripe-Account installs or reinstalls its app there. For a private app, creating an install installs the newest completed upload; when that version is already installed with nothing pending, the existing install is returned.

","operationId":"PostAppsInstalls","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["app"],"type":"object","properties":{"app":{"maxLength":5000,"type":"string","description":"The ID of the app to install."},"channel":{"type":"string","description":"The distribution channel to install from. Defaults to `public`. A private app must be installed on `private_test` or `private_live`, matching the mode of the API key.","enum":["private_live","private_test","public","testing"],"x-stripeEnum":{"kind":"open","values":[{"description":"A private app installed in live mode.","value":"private_live"},{"description":"A private app installed in test mode.","value":"private_test"},{"description":"The published version of the app.","value":"public"},{"description":"A pre-release version of the app installed for external testing.","value":"testing"}]}},"code_challenge":{"maxLength":5000,"type":"string","description":"For OAuth apps, the PKCE code challenge used to issue the `auth_code` returned on the install. Must be 43 to 128 characters and contain only letters, numbers, `-`, `.`, `_`, and `~`. Only applies to installs made by the app developer or an embedding platform; ignored when an account installs its own private app."},"code_challenge_method":{"maxLength":5000,"type":"string","description":"The method used to derive `code_challenge`. Required when `code_challenge` is provided, and must be `S256`."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["app","channel","code_challenge","code_challenge_method"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/apps.install"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"create_app_install"}},"/v1/apps/installs/{id}":{"get":{"summary":"Retrieve an app install","description":"

Retrieves an app install. The installing account, the app’s developer (with the keys of the account that owns the app or of the app’s managed sandbox), and the embedding platform that created the install can retrieve it.

","operationId":"GetAppsInstallsId","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"}},"x-stripeLessCommon":true},{"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/apps.install"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_app_install"},"post":{"summary":"Update an app install","description":"

Reauthorizes an app install. The installer grants the permissions, content security policy entries, and endpoints that the version being installed requests. An account reauthorizes its own installs on any channel with its own key; app developers and embedding platforms reauthorize installs on connected accounts through Stripe-Account. For private apps, the version being installed is the newest completed upload.

","operationId":"PostAppsInstallsId","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/apps.install"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"update_app_install"}},"/v1/apps/installs/{id}/uninstall":{"post":{"summary":"Uninstall an app install","description":"

Uninstalls an app from the account that installed it.

","operationId":"PostAppsInstallsIdUninstall","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/apps.install"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"uninstall_app_install"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_secrets"},"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"}}}}},"x-stableId":"set_connect_secret"}},"/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"}}}}},"x-stableId":"delete_connect_secret"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"find_connect_secret"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/balance"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_balance"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/balance_settings"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_balance_settings"},"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":{"automatic_transfer_rules_by_currency":{"description":"Configures per-currency rules for automatically transferring funds from the payments balance to a FinancialAccount.","anyOf":[{"type":"object","additionalProperties":{"anyOf":[{"type":"array","items":{"title":"automatic_transfer_rule","required":["payout_method","type"],"type":"object","properties":{"payout_method":{"type":"string","description":"The ID of the FinancialAccount that funds will be transferred to during automatic transfers."},"transfer_up_to_amount":{"type":"integer","description":"The maximum amount in minor units to transfer to the FinancialAccount. Required and only applicable when `type` is `transfer_up_to_amount`."},"type":{"type":"string","description":"The type of automatic transfer rule.","enum":["transfer_all","transfer_up_to_amount"]}},"x-stripeMostCommon":["destination_currency","payout_method","transfer_up_to_amount","type"]}},{"type":"string","enum":[""]}]}},{"type":"string","enum":[""]}]},"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"],"x-stripeBypassValidation":true},"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":[""]}]},"start_of_day":{"description":"Customized start of day configuration for automatic payouts to group and send payments in local timezones with a customized day starting time. For details, see our [Customized start of day](/connect/customized-start-of-day) documentation.","anyOf":[{"title":"start_of_day","type":"object","properties":{"hour":{"type":"integer","description":"Hour at which the customized start of day begins according to the given timezone. Must be a [supported customized start of day hour](/connect/customized-start-of-day#available-timezones-and-cutoffs)."},"minutes":{"type":"integer","description":"Minutes at which the customized start of day begins according to the given timezone. Must be either 0 or 30."},"timezone":{"maxLength":5000,"type":"string","description":"Timezone for the customized start of day. Must be a [supported customized start of day timezone](/connect/customized-start-of-day#available-timezones-and-cutoffs)."}},"x-stripeMostCommon":["hour","minutes","timezone"]},{"type":"string","enum":[""]}]}},"description":"Settings related to the account's balance settlement timing.","x-stripeMostCommon":["delay_days_override","payment_method_options","start_of_day"]}},"description":"Settings that apply to the [Payments Balance](https://docs.stripe.com/api/balance).","x-stripeMostCommon":["debit_negative_balances","payouts","settlement_currencies","settlement_timing"]}},"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"}}}}},"x-stableId":"update_balance_settings"}},"/v1/balance_transactions":{"get":{"summary":"List all balance transactions","description":"

Returns a list of transactions that have contributed to the Stripe account balance (for example, charges, transfers, and so on). The transactions return in sorted order, with the most recent transactions appearing first.

\n\n

The previous name of this endpoint was “Balance history,” and it 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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"type","in":"query","description":"Only returns transactions of the given type. One of: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_dispute_provisional_credit`, `issuing_dispute_provisional_credit_reversal`, `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`, `transfer_refund`, or `fee_credit_funding`.","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"}}}}},"x-stableId":"list_balance_transactions"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_balance_transaction"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_billing_alerts"},"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. The value must be greater than 0."},"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"}}}}},"x-stableId":"create_billing_alert"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_billing_alert"}},"/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"}}}}},"x-stableId":"activate_billing_alert"}},"/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"}}}}},"x-stableId":"archive_billing_alert"}},"/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"}}}}},"x-stableId":"deactivate_billing_alert"}},"/v1/billing/analytics/meter_usage":{"get":{"summary":"Retrieves aggregated meter usage data","description":"

Returns aggregated meter usage data for a customer within a specified time interval. The data can be grouped by various dimensions and can include multiple meters if specified.

","operationId":"GetBillingAnalyticsMeterUsage","parameters":[{"name":"customer","in":"query","description":"The customer id to fetch meter usage data for.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ends_at","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":"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"}},"x-stripeLessCommon":true},{"name":"meters","in":"query","description":"An array of meter parameters to specify which meters to include in the usage data. If not specified, usage across all meters for the customer is included.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"title":"meter_param","required":["meter"],"type":"object","properties":{"dimension_filters":{"type":"object","additionalProperties":{"type":"array","items":{"maxLength":100,"type":"string"}},"description":"Key-value pairs used to filter usage events by meter dimension values. Each value is an array that can include multiple values for the key. If specified, usage is filtered for matching usage events."},"dimension_group_by_keys":{"type":"array","description":"List of meter dimension keys to group by. If specified, usage events will be grouped by the given meter dimension key's values.","items":{"maxLength":100,"type":"string"}},"meter":{"maxLength":5000,"type":"string","description":"Meter id to query usage for."},"tenant_filters":{"type":"object","additionalProperties":{"type":"array","items":{"maxLength":100,"type":"string"}},"description":"Key-value pairs used to filter usage events by high cardinality tenant dimension values. Each value is an array that can include multiple values for the key. If specified, usage is filtered for matching usage events."}},"x-stripeMostCommon":["dimension_filters","dimension_group_by_keys","meter","tenant_filters","tenant_group_by_keys"]}}},{"name":"starts_at","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":"timezone","in":"query","description":"The timezone to use for the start and end times. Defaults to UTC if not specified.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string","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"]}},{"name":"value_grouping_window","in":"query","description":"Specifies what granularity to use when aggregating meter usage events. If not specified, a single event would be returned for the specified time range.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["day","hour","month","week"]}}],"requestBody":{"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.analytics.meter_usage"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_billing_meter_usage"}},"/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"}},"x-stripeLessCommon":true},{"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`. Limit 20 prices.","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","rate_cards"]},"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"}}}}},"x-stableId":"retrieve_credit_balance_summary"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"all_credit_balance_transactions"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_credit_balance_transaction"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"all_credit_grants"},"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`. Limit 20 prices.","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","rate_cards"]}},"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"}}}}},"x-stableId":"create_credit_grant"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_credit_grant"},"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"}}}}},"x-stableId":"update_credit_grant"}},"/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"}}}}},"x-stableId":"expire_credit_grant"}},"/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"}}}}},"x-stableId":"void_credit_grant"}},"/v1/billing/feedback_options":{"get":{"summary":"List all feedback options","description":"

Returns a list of your feedback options.

","operationId":"GetBillingFeedbackOptions","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"status","in":"query","description":"Filter results to only include feedback options with the given status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","inactive"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The feedback option is active and available for use.","value":"active"},{"description":"The feedback option has been deactivated and is no longer available for use.","value":"inactive"}]}},"x-stripeLessCommon":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":"Resource for List Endpoint","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/billing.feedback_option"}},"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":"Resource for the List Endpoint of Feedback Option.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"list_billing_feedback_options"},"post":{"summary":"Create a feedback option","description":"

Creates a new feedback option.

","operationId":"PostBillingFeedbackOptions","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["description"],"type":"object","properties":{"description":{"maxLength":100,"type":"string","description":"The text of the feedback option, which customers see when canceling. Maximum 100 characters."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["description"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.feedback_option"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"create_billing_feedback_option"}},"/v1/billing/feedback_options/{id}":{"get":{"summary":"Retrieve a feedback option","description":"

Retrieves a feedback option object given an ID.

","operationId":"GetBillingFeedbackOptionsId","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"}},"x-stripeLessCommon":true},{"name":"id","in":"path","description":"The ID of the feedback option to retrieve.","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.feedback_option"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_billing_feedback_option"},"post":{"summary":"Update a feedback option","description":"

Updates the description of an existing feedback option.

","operationId":"PostBillingFeedbackOptionsId","parameters":[{"name":"id","in":"path","description":"The ID of the feedback option to update.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"description":{"maxLength":100,"type":"string","description":"The text of the feedback option, which customers see when canceling. Maximum 100 characters."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["description"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.feedback_option"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"update_billing_feedback_option"}},"/v1/billing/feedback_options/{id}/deactivate":{"post":{"summary":"Deactivate a feedback option","description":"

Deactivates a feedback option. Deactivated feedback options cannot be used in portal configurations.

","operationId":"PostBillingFeedbackOptionsIdDeactivate","parameters":[{"name":"id","in":"path","description":"The ID of the feedback option to deactivate.","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.feedback_option"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"deactivate_billing_feedback_option"}},"/v1/billing/margins":{"get":{"summary":"List all margins","description":"

Retrieve a list of your margins.

","operationId":"GetBillingMargins","parameters":[{"name":"active","in":"query","description":"Only return margins that are active or inactive. For example, pass `true` to only list active margins.","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"MarginList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/margin"}},"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/margins","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"}}}}},"x-stableId":"list_margins"},"post":{"summary":"Create a margin","description":"

Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.

","operationId":"PostBillingMargins","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["percent_off"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the margin can be applied to invoices, invoice items, or invoice line items or not. Defaults to `true`."},"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":5000,"type":"string","description":"Name of the margin, which is displayed to customers, such as on invoices."},"percent_off":{"type":"number","description":"Percent that will be taken off the subtotal before tax (after all other discounts and promotions) of any invoice to which the margin is applied."}},"additionalProperties":false,"x-stripeMostCommon":["active","metadata","name","percent_off"]},"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/margin"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"create_margin"}},"/v1/billing/margins/{margin}":{"get":{"summary":"Retrieve a margin","description":"

Retrieve a margin object with the given ID.

","operationId":"GetBillingMarginsMargin","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"}},"x-stripeLessCommon":true},{"name":"margin","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/margin"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_margin"},"post":{"summary":"Update a margin","description":"

Update the specified margin object. Certain fields of the margin object are not editable.

","operationId":"PostBillingMarginsMargin","parameters":[{"name":"margin","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 margin can be applied to invoices, invoice items, or invoice line items or not."},"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":5000,"type":"string","description":"Name of the margin, which is displayed to customers, such as on invoices."}},"additionalProperties":false,"x-stripeMostCommon":["active","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/margin"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"update_margin"}},"/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"}}}}},"x-stableId":"create_billing_meter_event_adjustment"}},"/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. Stripe enforces 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"}}}}},"x-stableId":"create_billing_meter_event"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"all_billing_meters"},"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.","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"}}}}},"x-stableId":"create_billing_meter"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_billing_meter"},"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"}}}}},"x-stableId":"update_billing_meter"}},"/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"}}}}},"x-stableId":"deactivate_billing_meter"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"all_billing_meter_event_summaries"}},"/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"}}}}},"x-stableId":"reactivate_billing_meter"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_billing_portal_configurations"},"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 [overridden](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."},"feedback_options":{"description":"The IDs of custom feedback options to use for this cancellation reason.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"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","feedback_options","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Resets the subscription's billing cycle anchor to the current time.","value":"now"},{"description":"Keeps the subscription's billing cycle anchor unchanged.","value":"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"}}}}},"x-stableId":"create_billing_portal_configuration"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/billing_portal.configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_billing_portal_configuration"},"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 [overridden](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."},"feedback_options":{"description":"The IDs of custom feedback options to use for this cancellation reason.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"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","feedback_options","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Resets the subscription's billing cycle anchor to the current time.","value":"now"},{"description":"Keeps the subscription's billing cycle anchor unchanged.","value":"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"}}}}},"x-stableId":"update_billing_portal_configuration"}},"/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":{"after_expiration":{"title":"after_expiration_param","required":["type"],"type":"object","properties":{"customer_login":{"title":"after_expiration_customer_login_param","type":"object","properties":{"expires_at":{"type":"integer","description":"The Unix timestamp after which the customer can no longer recover this session. Leave unset to allow recovery without a deadline.","format":"unix-time"}},"description":"Configuration for authenticating the customer after the session expires.","x-stripeMostCommon":["expires_at"]},"type":{"type":"string","description":"The behavior to apply when the session expires.","enum":["customer_login"],"x-stripeEnum":{"kind":"open","values":[{"description":"Allow the customer to authenticate by email to create a replacement session.","value":"customer_login"}]}}},"description":"Behavior after the portal session expires.","x-stripeMostCommon":["customer_login","type"]},"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":["customer_update","payment_method_update","subscription_cancel","subscription_update","subscription_update_confirm"],"x-stripeBypassValidation":true}},"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_pause","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":["after_expiration","configuration","customer","customer_account","flow_data","locale","on_behalf_of","return_url"]},"encoding":{"after_expiration":{"style":"deepObject","explode":true},"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"}}}}},"x-stableId":"create_billing_portal_session"}},"/v1/capital/financing_offers":{"get":{"summary":"List financing offers","description":"

Retrieves the financing offers available for Connected accounts that belong to your platform.

","operationId":"GetCapitalFinancingOffers","parameters":[{"name":"connected_account","in":"query","description":"limit list to offers belonging to given connected account","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","description":"Only return offers 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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"status","in":"query","description":"limit list to offers with given status","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string","enum":["accepted","canceled","completed","delivered","expired","fully_repaid","paid_out","rejected","revoked","undelivered"]}}],"requestBody":{"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":"CapitalConnectConnectFinancingList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/capital.financing_offer"}},"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/capital/financing_offers","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"}}}}},"x-stableId":"list_capital_connect_financing_offers"}},"/v1/capital/financing_offers/{financing_offer}":{"get":{"summary":"Retrieve a given financing offer","description":"

Get the details of the financing offer

","operationId":"GetCapitalFinancingOffersFinancingOffer","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"}},"x-stripeLessCommon":true},{"name":"financing_offer","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/capital.financing_offer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_capital_connect_financing_offer"}},"/v1/capital/financing_offers/{financing_offer}/mark_delivered":{"post":{"summary":"Mark that a financing offer has been delivered","description":"

Acknowledges that platform has received and delivered the financing_offer to\nthe intended merchant recipient.

","operationId":"PostCapitalFinancingOffersFinancingOfferMarkDelivered","parameters":[{"name":"financing_offer","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/capital.financing_offer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"mark_delivered_capital_connect_financing_offer"}},"/v1/capital/financing_summary":{"get":{"summary":"Retrieve financing summary","description":"

Retrieve the financing summary object for the account.

","operationId":"GetCapitalFinancingSummary","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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/capital.financing_summary"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_capital_connect_financing_summary"}},"/v1/capital/financing_transactions":{"get":{"summary":"List all financing transactions","description":"

Returns a list of financing transactions. The transactions are returned in sorted order,\nwith the most recent transactions appearing first.

","operationId":"GetCapitalFinancingTransactions","parameters":[{"name":"charge","in":"query","description":"For transactions of type `payment` and reason `automatic_withholding` only, only returns transactions that were created as a result of this charge.","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"name":"financing_offer","in":"query","description":"Returns transactions that were created that apply to this financing offer 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"},"x-stripeLessCommon":true},{"name":"reversed_transaction","in":"query","description":"Only returns transactions that are responsible for reversing this financing transaction 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"},"x-stripeLessCommon":true},{"name":"treasury_transaction","in":"query","description":"For transactions of type `payment` and reason `automatic_withholding` only, only returns transactions that were created as a result of this Treasury 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":"CapitalConnectFinancingTransactionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/capital.financing_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"}}}}},"x-stableId":"list_capital_connect_financing_transactions"}},"/v1/capital/financing_transactions/{financing_transaction}":{"get":{"summary":"Retrieve a given financing transaction","description":"

Retrieves a financing transaction for a financing offer.

","operationId":"GetCapitalFinancingTransactionsFinancingTransaction","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"}},"x-stripeLessCommon":true},{"name":"financing_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/capital.financing_transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_capital_connect_financing_transaction"}},"/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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_charges"},"post":{"summary":"Create a charge","description":"

This method is deprecated and will be removed soon. If your integration uses it, you need to update it to use a different payment flow, such as the Payment Intents API.

","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://docs.stripe.com/api#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://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."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the transfer. Often useful for displaying to users."},"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"}}}}},"x-stableId":"create_charge"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"search_charges"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/charge"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_charge"},"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"},"x-stripeLessCommon":true}],"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":[""]}]},"payment_details":{"title":"payment_details_charge_params","type":"object","properties":{"car_rental":{"title":"car_rental","required":["booking_number","days_rented","pickup_at","return_at"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the car rental."},"car_class_code":{"maxLength":4,"type":"string","description":"Class code of the car."},"car_make":{"maxLength":10,"type":"string","description":"Make of the car."},"car_model":{"maxLength":10,"type":"string","description":"Model of the car."},"company":{"maxLength":26,"type":"string","description":"The name of the rental car company."},"customer_service_phone_number":{"maxLength":16,"type":"string","description":"The customer service phone number of the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"distance":{"title":"car_rental_distance","type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"The details of the distance traveled during the rental period.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"car_rental_driver","required":["name"],"type":"object","properties":{"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the car reservation."}},"x-stripeMostCommon":["driver_identification_number","driver_tax_number","name"]}},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["extra_mileage","gas","late_return","one_way_service","parking_violation"]}},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep nor cancel their booking."},"pickup_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":"Car pick-up address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"pickup_at":{"type":"integer","description":"Car pick-up time. Measured in seconds since the Unix epoch.","format":"unix-time"},"pickup_location_name":{"maxLength":38,"type":"string","description":"Name of the pickup location."},"rate_amount":{"type":"integer","description":"Rental rate."},"rate_interval":{"type":"string","description":"The frequency at which the rate amount is applied. One of `day`, `week` or `month`","enum":["day","month","week"]},"renter_name":{"maxLength":100,"type":"string","description":"The name of the person or entity renting the car."},"return_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":"Car return address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"return_at":{"type":"integer","description":"Car return time. Measured in seconds since the Unix epoch.","format":"unix-time"},"return_location_name":{"maxLength":38,"type":"string","description":"Name of the return location."},"tax_exempt":{"type":"boolean","description":"Indicates whether the goods or services are tax-exempt or tax is not collected."},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"The vehicle identification number."}},"description":"Car rental details for this PaymentIntent.","x-stripeMostCommon":["affiliate","booking_number","car_class_code","car_make","car_model","company","customer_service_phone_number","days_rented","delivery","distance","drivers","extra_charges","no_show","pickup_address","pickup_at","pickup_location_name","rate_amount","rate_interval","renter_name","return_address","return_at","return_location_name","tax_exempt","vehicle_identification_number"]},"car_rental_data":{"description":"Car rental data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"car_rental_data","required":["drop_off","pickup","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."}},"description":"Affiliate (such as travel agency) details for the rental.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the car rental."},"carrier_name":{"maxLength":255,"type":"string","description":"Name of the car rental company."},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"distance":{"title":"distance","required":["amount","unit"],"type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"Distance details for the rental.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"List of drivers for the rental.","items":{"title":"driver","required":["name"],"type":"object","properties":{"date_of_birth":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Day of birth (1-31)."},"month":{"type":"integer","description":"Month of birth (1-12)."},"year":{"type":"integer","description":"Year of birth (must be greater than 1900)."}},"description":"Driver's date of birth.","x-stripeMostCommon":["day","month","year"]},"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":198,"type":"string","description":"Driver's full name."}},"x-stripeMostCommon":["date_of_birth","driver_identification_number","driver_tax_number","name"]}},"drop_off":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Drop-off location details.","x-stripeMostCommon":["address","location_name","time"]},"insurances":{"type":"array","description":"Insurance details for the rental.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["liability_supplement","loss_damage_waiver","other","partial_damage_waiver","personal_accident","personal_effects"],"x-stripeEnum":{"kind":"open","values":[{"description":"Supplemental liability insurance coverage.","value":"liability_supplement"},{"description":"Agreement waiving responsibility for loss or damage to the vehicle.","value":"loss_damage_waiver"},{"description":"Other types of insurance coverage.","value":"other"},{"description":"Agreement limiting responsibility for loss or damage to the vehicle.","value":"partial_damage_waiver"},{"description":"Insurance covering personal accidents during the rental period.","value":"personal_accident"},{"description":"Insurance covering personal belongings during the rental period.","value":"personal_effects"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Indicates if the customer was a no-show."},"pickup":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Pickup location details.","x-stripeMostCommon":["address","location_name","time"]},"renter_name":{"maxLength":198,"type":"string","description":"Name of the person renting the vehicle."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total amount in cents."},"currency":{"type":"string","description":"Currency of the amount.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code applied to the rental."},"maximum_free_miles_or_kilometers":{"type":"integer","description":"Maximum number of free miles or kilometers included."}},"description":"Discount details for the rental.","x-stripeMostCommon":["corporate_client_code","coupon","maximum_free_miles_or_kilometers"]},"extra_charges":{"type":"array","description":"Additional charges for the rental.","items":{"title":"extra_charge","required":["amount","type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["extra_mileage","gas","gps","late_charge","one_way_drop_off","other","parking","phone","regular_mileage","towing"]}},"x-stripeMostCommon":["amount","type"]}},"rate_per_unit":{"type":"integer","description":"Rate per unit for the rental."},"rate_unit":{"type":"string","description":"Unit of measurement for the rate.","enum":["days","kilometers","miles","months","weeks"],"x-stripeEnum":{"kind":"open","values":[{"description":"Rental rate charged per day.","value":"days"},{"description":"Rental rate charged per kilometer.","value":"kilometers"},{"description":"Rental rate charged per mile.","value":"miles"},{"description":"Rental rate charged per month.","value":"months"},{"description":"Rental rate charged per week.","value":"weeks"}]}},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates if the transaction is tax exempt."},"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate applied."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the rental.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total cost breakdown for the rental.","x-stripeMostCommon":["amount","currency","discounts","extra_charges","rate_per_unit","rate_unit","tax"]},"vehicle":{"title":"vehicle","type":"object","properties":{"make":{"maxLength":40,"type":"string","description":"Make of the rental vehicle."},"model":{"maxLength":40,"type":"string","description":"Model of the rental vehicle."},"odometer":{"type":"integer","description":"Odometer reading at the time of rental."},"type":{"type":"string","description":"Type of the rental vehicle.","enum":["cargo_van","compact","economy","exotic","exotic_suv","fifteen_passenger_van","four_wheel_drive","full_size","intermediate","large_suv","large_truck","luxury","medium_suv","midsize","mini","minivan","miscellaneous","moped","moving_van","premium","regular","small_medium_truck","small_suv","special","standard","stretch","subcompact","taxi","twelve_foot_truck","twelve_passenger_van","twenty_foot_truck","twenty_four_foot_truck","twenty_six_foot_truck","unique"],"x-stripeEnum":{"kind":"open","values":[{"description":"Van designed for cargo transport.","value":"cargo_van"},{"description":"Compact car.","value":"compact"},{"description":"Economy-class car.","value":"economy"},{"description":"Exotic or high-performance vehicle.","value":"exotic"},{"description":"Exotic or luxury sport utility vehicle.","value":"exotic_suv"},{"description":"Van with capacity for fifteen passengers.","value":"fifteen_passenger_van"},{"description":"Four-wheel-drive vehicle.","value":"four_wheel_drive"},{"description":"Full-sized car.","value":"full_size"},{"description":"Intermediate-sized car.","value":"intermediate"},{"description":"Large sport utility vehicle.","value":"large_suv"},{"description":"Large truck.","value":"large_truck"},{"description":"Luxury car.","value":"luxury"},{"description":"Medium sport utility vehicle.","value":"medium_suv"},{"description":"Midsize car.","value":"midsize"},{"description":"Mini-sized car.","value":"mini"},{"description":"Minivan.","value":"minivan"},{"description":"Other miscellaneous vehicle types.","value":"miscellaneous"},{"description":"Moped or motorized scooter.","value":"moped"},{"description":"Van designed for moving goods.","value":"moving_van"},{"description":"Premium car.","value":"premium"},{"description":"Regular vehicle type.","value":"regular"},{"description":"Small to medium truck.","value":"small_medium_truck"},{"description":"Small sport utility vehicle.","value":"small_suv"},{"description":"Special vehicle type.","value":"special"},{"description":"Standard-sized car.","value":"standard"},{"description":"Stretch limousine.","value":"stretch"},{"description":"Subcompact car.","value":"subcompact"},{"description":"Taxi or for-hire vehicle.","value":"taxi"},{"description":"Truck with twelve-foot cargo space.","value":"twelve_foot_truck"},{"description":"Van with capacity for twelve passengers.","value":"twelve_passenger_van"},{"description":"Truck with twenty-foot cargo space.","value":"twenty_foot_truck"},{"description":"Truck with twenty-four-foot cargo space.","value":"twenty_four_foot_truck"},{"description":"Truck with twenty-six-foot cargo space.","value":"twenty_six_foot_truck"},{"description":"Unique or specialty vehicle.","value":"unique"}]}},"vehicle_class":{"type":"string","description":"Class of the rental vehicle.","enum":["business","economy","first_class","premium_economy"]},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"Vehicle identification number (VIN)."}},"description":"Vehicle details for the rental.","x-stripeMostCommon":["make","model","odometer","type","vehicle_class","vehicle_identification_number"]}},"x-stripeMostCommon":["affiliate","booking_number","carrier_name","customer_service_phone_number","days_rented","distance","drivers","drop_off","insurances","no_show_indicator","pickup","renter_name","total","vehicle"]}},{"type":"string","enum":[""]}]},"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":[""]}]},"event_details":{"title":"event","required":["name"],"type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"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 event location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"company":{"maxLength":5000,"type":"string","description":"The name of the company"},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"ends_at":{"type":"integer","description":"Event end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"genre":{"maxLength":5000,"type":"string","description":"Type of the event entertainment (concert, sports event etc)"},"name":{"maxLength":5000,"type":"string","description":"The name of the event."},"starts_at":{"type":"integer","description":"Event start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Event details for this PaymentIntent","x-stripeMostCommon":["access_controlled_venue","address","affiliate","company","delivery","ends_at","genre","name","starts_at"]},"flight":{"title":"flight","required":["segments"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"agency_number":{"maxLength":8,"type":"string","description":"The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking."},"carrier":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"passenger_name":{"maxLength":26,"type":"string","description":"The name of the person or entity on the reservation."},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation.","items":{"title":"flight_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the flight reservation."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"The individual flight segments associated with the trip.","items":{"title":"flight_segment","required":["departs_at"],"type":"object","properties":{"amount":{"type":"integer","description":"The flight segment amount."},"arrival_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the arrival airport."},"arrives_at":{"type":"integer","description":"The arrival time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"carrier":{"maxLength":2,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment."},"departs_at":{"type":"integer","description":"The departure time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"departure_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the departure airport."},"flight_number":{"maxLength":4,"type":"string","description":"The flight number associated with the segment"},"service_class":{"type":"string","description":"The fare class for the segment.","enum":["business","economy","first","premium_economy"]}},"x-stripeMostCommon":["amount","arrival_airport","arrives_at","carrier","departs_at","departure_airport","flight_number","service_class"]}},"ticket_number":{"maxLength":14,"type":"string","description":"The ticket number associated with the travel reservation."}},"description":"Flight reservation details for this PaymentIntent","x-stripeMostCommon":["affiliate","agency_number","carrier","delivery","passenger_name","passengers","segments","ticket_number"]},"flight_data":{"description":"Flight data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"flight_data","required":["segments","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."},"travel_authorization_code":{"maxLength":64,"type":"string","description":"Code provided by the company to a travel agent authorizing ticket issuance."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name","travel_authorization_code"]},"booking_number":{"maxLength":255,"type":"string","description":"Reservation reference."},"computerized_reservation_system":{"maxLength":4,"type":"string","description":"Computerized reservation system used to make the reservation and purchase the ticket."},"endorsements_and_restrictions":{"maxLength":20,"type":"string","description":"Ticket restrictions."},"insurances":{"type":"array","description":"List of insurances.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Insurance cost."},"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Insurance company name."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering lost, damaged, or delayed baggage.","value":"baggage"},{"description":"Insurance covering losses due to airline bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering flight cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during travel.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"passengers":{"type":"array","description":"List of passengers.","items":{"title":"passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Passenger's full name."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"List of flight segments.","items":{"title":"segment","required":["arrival","carrier_code","departure","service_class"],"type":"object","properties":{"amount":{"type":"integer","description":"Segment fare amount."},"arrival":{"title":"arrival","required":["airport"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Arrival airport IATA code."},"arrives_at":{"type":"integer","description":"Arrival date/time.","format":"unix-time"},"city":{"maxLength":99,"type":"string","description":"Arrival city."},"country":{"maxLength":5000,"type":"string","description":"Arrival country."}},"description":"Arrival details.","x-stripeMostCommon":["airport","arrives_at","city","country"]},"carrier_code":{"maxLength":5000,"type":"string","description":"Airline carrier code."},"carrier_name":{"maxLength":25,"type":"string","description":"Carrier name."},"currency":{"type":"string","description":"Segment currency.","format":"currency"},"departure":{"title":"departure","required":["airport","departs_at"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Departure airport IATA code."},"city":{"maxLength":99,"type":"string","description":"Departure city."},"country":{"maxLength":5000,"type":"string","description":"Departure country."},"departs_at":{"type":"integer","description":"Departure date/time.","format":"unix-time"}},"description":"Departure details.","x-stripeMostCommon":["airport","city","country","departs_at"]},"exchange_ticket_number":{"maxLength":20,"type":"string","description":"Exchange ticket number."},"fare_basis_code":{"maxLength":20,"type":"string","description":"Fare basis code."},"fees":{"type":"integer","description":"Additional fees."},"flight_number":{"maxLength":20,"type":"string","description":"Flight number."},"is_stop_over_indicator":{"type":"boolean","description":"Stopover indicator."},"refundable":{"type":"boolean","description":"Refundable ticket indicator."},"service_class":{"type":"string","description":"Class of service.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating.","value":"business"},{"description":"Economy class seating.","value":"economy"},{"description":"First class seating with premium amenities.","value":"first_class"},{"description":"Premium economy class with enhanced seating and services.","value":"premium_economy"}]}},"tax_amount":{"type":"integer","description":"Tax amount for segment."},"ticket_number":{"maxLength":20,"type":"string","description":"Ticket number."}},"x-stripeMostCommon":["amount","arrival","carrier_code","carrier_name","currency","departure","exchange_ticket_number","fare_basis_code","fees","flight_number","is_stop_over_indicator","refundable","service_class","tax_amount","ticket_number"]}},"ticket_electronically_issued_indicator":{"type":"boolean","description":"Electronic ticket indicator."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total flight amount."},"credit_reason":{"type":"string","description":"Reason for credit.","enum":["other","partial_ticket_refund","passenger_transport_ancillary_cancellation","ticket_and_ancillary_cancellation","ticket_cancellation"],"x-stripeEnum":{"kind":"open","values":[{"description":"Other credit reasons.","value":"other"},{"description":"Partial refund of the ticket cost.","value":"partial_ticket_refund"},{"description":"Cancellation of passenger transport and ancillary services.","value":"passenger_transport_ancillary_cancellation"},{"description":"Cancellation of both ticket and ancillary services.","value":"ticket_and_ancillary_cancellation"},{"description":"Cancellation of the ticket only.","value":"ticket_cancellation"}]}},"currency":{"type":"string","description":"Total currency.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."}},"description":"Discount details.","x-stripeMostCommon":["corporate_client_code"]},"extra_charges":{"type":"array","description":"Additional charges.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of additional charges."},"type":{"type":"string","description":"Type of additional charges.","enum":["additional_fees","ancillary_service_charges","exchange_fee"],"x-stripeEnum":{"kind":"open","values":[{"description":"Additional fees charged for the flight.","value":"additional_fees"},{"description":"Charges for ancillary services such as baggage, seat selection, or meals.","value":"ancillary_service_charges"},{"description":"Fee charged for exchanging or changing the ticket.","value":"exchange_fee"}]}}},"x-stripeMostCommon":["amount","type"]}},"tax":{"title":"tax","type":"object","properties":{"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown.","x-stripeMostCommon":["tax_items"]}},"description":"Total cost breakdown.","x-stripeMostCommon":["amount","credit_reason","currency","discounts","extra_charges","tax"]},"transaction_type":{"type":"string","description":"Type of flight transaction.","enum":["exchange_ticket","miscellaneous","refund","ticket_purchase"],"x-stripeEnum":{"kind":"open","values":[{"description":"Exchange or modification of an existing ticket.","value":"exchange_ticket"},{"description":"Other miscellaneous flight-related transactions.","value":"miscellaneous"},{"description":"Refund for a canceled or unused ticket.","value":"refund"},{"description":"Purchase of a new flight ticket.","value":"ticket_purchase"}]}}},"x-stripeMostCommon":["affiliate","booking_number","computerized_reservation_system","endorsements_and_restrictions","insurances","passengers","segments","ticket_electronically_issued_indicator","total","transaction_type"]}},{"type":"string","enum":[""]}]},"lodging":{"title":"lodging","required":["checkin_at","checkout_at"],"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 lodging location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"adults":{"type":"integer","description":"The number of adults on the booking"},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the lodging reservation."},"category":{"type":"string","description":"The lodging category","enum":["hotel","vacation_rental"]},"checkin_at":{"type":"integer","description":"Lodging check-in time. Measured in seconds since the Unix epoch.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Lodging check-out time. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"The customer service phone number of the lodging company."},"daily_room_rate_amount":{"type":"integer","description":"The daily lodging room rate."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["gift_shop","laundry","mini_bar","other","restaurant","telephone"]}},"fire_safety_act_compliance":{"type":"boolean","description":"Indicates whether the lodging location is compliant with the Fire Safety Act."},"name":{"maxLength":100,"type":"string","description":"The name of the lodging location."},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep their booking while failing to cancel the reservation."},"number_of_rooms":{"type":"integer","description":"The number of rooms on the booking"},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"lodging_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the lodging reservation."}},"x-stripeMostCommon":["name"]}},"property_phone_number":{"type":"string","description":"The phone number of the lodging location."},"room_class":{"maxLength":5000,"type":"string","description":"The room class for this purchase."},"room_nights":{"type":"integer","description":"The number of room nights"},"total_room_tax_amount":{"type":"integer","description":"The total tax amount associating with the room reservation."},"total_tax_amount":{"type":"integer","description":"The total tax amount"}},"description":"Lodging reservation details for this PaymentIntent","x-stripeMostCommon":["address","adults","affiliate","booking_number","category","checkin_at","checkout_at","customer_service_phone_number","daily_room_rate_amount","delivery","extra_charges","fire_safety_act_compliance","name","no_show","number_of_rooms","passengers","property_phone_number","room_class","room_nights","total_room_tax_amount","total_tax_amount"]},"lodging_data":{"description":"Lodging data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"lodging_data","required":["checkin_at","checkout_at","total"],"type":"object","properties":{"accommodation":{"title":"accommodation","type":"object","properties":{"accommodation_type":{"type":"string","description":"Type of accommodation.","enum":["apartment","cabana","house","penthouse","room","standard","suite","villa"],"x-stripeEnum":{"kind":"open","values":[{"description":"A self-contained apartment unit.","value":"apartment"},{"description":"A cabana or small cabin.","value":"cabana"},{"description":"A standalone house.","value":"house"},{"description":"A penthouse or top-floor luxury accommodation.","value":"penthouse"},{"description":"A standard room.","value":"room"},{"description":"A standard accommodation type.","value":"standard"},{"description":"A suite with multiple rooms or enhanced amenities.","value":"suite"},{"description":"A villa or luxury residence.","value":"villa"}]}},"bed_type":{"maxLength":20,"type":"string","description":"Bed type."},"daily_rate_amount":{"type":"integer","description":"Daily accommodation rate in cents."},"nights":{"type":"integer","description":"Number of nights."},"number_of_rooms":{"type":"integer","description":"Number of rooms, cabanas, apartments, and so on."},"rate_type":{"maxLength":20,"type":"string","description":"Rate type."},"smoking_indicator":{"type":"boolean","description":"Whether smoking is allowed."}},"description":"Accommodation details for the lodging.","x-stripeMostCommon":["accommodation_type","bed_type","daily_rate_amount","nights","number_of_rooms","rate_type","smoking_indicator"]},"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Affiliate partner name."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the lodging."},"checkin_at":{"type":"integer","description":"Check-in date.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Check-out date.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the lodging company."},"fire_safety_act_compliance_indicator":{"type":"boolean","description":"Whether the lodging is compliant with any hotel fire safety regulations."},"guests":{"type":"array","description":"List of guests for the lodging.","items":{"title":"guest","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Guest's full name."}},"x-stripeMostCommon":["name"]}},"host":{"title":"host","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":"Address of the host.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"country_of_domicile":{"maxLength":5000,"type":"string","description":"Host's country of domicile."},"host_reference":{"maxLength":255,"type":"string","description":"Reference number for the host."},"host_type":{"type":"string","description":"Type of host.","enum":["hostel","hotel","owner","rental_agency"],"x-stripeEnum":{"kind":"open","values":[{"description":"A hostel or shared accommodation facility.","value":"hostel"},{"description":"A hotel or hotel chain.","value":"hotel"},{"description":"The property owner directly managing the rental.","value":"owner"},{"description":"A rental agency managing the property.","value":"rental_agency"}]}},"name":{"maxLength":255,"type":"string","description":"Name of the lodging property or host."},"number_of_reservations":{"type":"integer","description":"Total number of reservations for the host."},"property_phone_number":{"type":"string","description":"Property phone number."},"registered_at":{"type":"integer","description":"Host's registration date.","format":"unix-time"}},"description":"Host details for the lodging.","x-stripeMostCommon":["address","country_of_domicile","host_reference","host_type","name","number_of_reservations","property_phone_number","registered_at"]},"insurances":{"type":"array","description":"List of insurances for the lodging.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Price of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering losses due to provider bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during the stay.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Whether the renter is a no-show."},"renter_id_number":{"maxLength":25,"type":"string","description":"Renter ID number for the lodging."},"renter_name":{"maxLength":198,"type":"string","description":"Renter name for the lodging."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total price of the lodging reservation in cents."},"cash_advances":{"type":"integer","description":"Cash advances in cents."},"currency":{"type":"string","description":"Currency of the total amount.","format":"currency"},"discounts":{"title":"discount","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code."}},"description":"Discount details for the lodging.","x-stripeMostCommon":["corporate_client_code","coupon"]},"extra_charges":{"type":"array","description":"Additional charges for the lodging.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["gift_shop","laundry","mini_bar","other","phone","restaurant"],"x-stripeEnum":{"kind":"open","values":[{"description":"Charges for gift shop purchases.","value":"gift_shop"},{"description":"Charges for laundry or cleaning services.","value":"laundry"},{"description":"Charges for mini bar consumption.","value":"mini_bar"},{"description":"Other miscellaneous charges.","value":"other"},{"description":"Charges for telephone services.","value":"phone"},{"description":"Charges for dining or food services.","value":"restaurant"}]}}},"x-stripeMostCommon":["amount","type"]}},"prepaid_amount":{"type":"integer","description":"Prepaid amount in cents."},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates whether the transaction is tax exempt."},"tax_items":{"type":"array","description":"Tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount in cents."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the lodging reservation.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total details for the lodging.","x-stripeMostCommon":["amount","cash_advances","currency","discounts","extra_charges","prepaid_amount","tax"]}},"x-stripeMostCommon":["accommodation","affiliate","booking_number","checkin_at","checkout_at","customer_service_phone_number","fire_safety_act_compliance_indicator","guests","host","insurances","no_show_indicator","renter_id_number","renter_name","total"]}},{"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":[""]}]},"subscription":{"title":"subscription","required":["name"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"auto_renewal":{"type":"boolean","description":"Info whether the subscription will be auto renewed upon expiry."},"billing_interval":{"title":"subscription_billing_interval","required":["count","interval"],"type":"object","properties":{"count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."},"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]}},"description":"Subscription billing details for this purchase.","x-stripeMostCommon":["count","interval"]},"ends_at":{"type":"integer","description":"Subscription end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"name":{"maxLength":5000,"type":"string","description":"Name of the product on subscription. e.g. Apple Music Subscription"},"starts_at":{"type":"integer","description":"Subscription start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Subscription details for this PaymentIntent","x-stripeMostCommon":["affiliate","auto_renewal","billing_interval","ends_at","name","starts_at"]}},"description":"Provides industry-specific information about the charge.","x-stripeMostCommon":["car_rental","car_rental_data","event_details","fleet_data","flight","flight_data","healthcare","lodging","lodging_data","subscription"]},"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},"payment_details":{"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"}}}}},"x-stableId":"update_charge"}},"/v1/charges/{charge}/capture":{"post":{"summary":"Capture a charge","description":"

This method is deprecated and will be removed soon. If your integration uses it, you need to update it to use a different payment flow, such as the Payment Intents API.

","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"}},"payment_details":{"title":"payment_details_charge_params","type":"object","properties":{"car_rental":{"title":"car_rental","required":["booking_number","days_rented","pickup_at","return_at"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the car rental."},"car_class_code":{"maxLength":4,"type":"string","description":"Class code of the car."},"car_make":{"maxLength":10,"type":"string","description":"Make of the car."},"car_model":{"maxLength":10,"type":"string","description":"Model of the car."},"company":{"maxLength":26,"type":"string","description":"The name of the rental car company."},"customer_service_phone_number":{"maxLength":16,"type":"string","description":"The customer service phone number of the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"distance":{"title":"car_rental_distance","type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"The details of the distance traveled during the rental period.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"car_rental_driver","required":["name"],"type":"object","properties":{"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the car reservation."}},"x-stripeMostCommon":["driver_identification_number","driver_tax_number","name"]}},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["extra_mileage","gas","late_return","one_way_service","parking_violation"]}},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep nor cancel their booking."},"pickup_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":"Car pick-up address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"pickup_at":{"type":"integer","description":"Car pick-up time. Measured in seconds since the Unix epoch.","format":"unix-time"},"pickup_location_name":{"maxLength":38,"type":"string","description":"Name of the pickup location."},"rate_amount":{"type":"integer","description":"Rental rate."},"rate_interval":{"type":"string","description":"The frequency at which the rate amount is applied. One of `day`, `week` or `month`","enum":["day","month","week"]},"renter_name":{"maxLength":100,"type":"string","description":"The name of the person or entity renting the car."},"return_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":"Car return address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"return_at":{"type":"integer","description":"Car return time. Measured in seconds since the Unix epoch.","format":"unix-time"},"return_location_name":{"maxLength":38,"type":"string","description":"Name of the return location."},"tax_exempt":{"type":"boolean","description":"Indicates whether the goods or services are tax-exempt or tax is not collected."},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"The vehicle identification number."}},"description":"Car rental details for this PaymentIntent.","x-stripeMostCommon":["affiliate","booking_number","car_class_code","car_make","car_model","company","customer_service_phone_number","days_rented","delivery","distance","drivers","extra_charges","no_show","pickup_address","pickup_at","pickup_location_name","rate_amount","rate_interval","renter_name","return_address","return_at","return_location_name","tax_exempt","vehicle_identification_number"]},"car_rental_data":{"description":"Car rental data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"car_rental_data","required":["drop_off","pickup","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."}},"description":"Affiliate (such as travel agency) details for the rental.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the car rental."},"carrier_name":{"maxLength":255,"type":"string","description":"Name of the car rental company."},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"distance":{"title":"distance","required":["amount","unit"],"type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"Distance details for the rental.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"List of drivers for the rental.","items":{"title":"driver","required":["name"],"type":"object","properties":{"date_of_birth":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Day of birth (1-31)."},"month":{"type":"integer","description":"Month of birth (1-12)."},"year":{"type":"integer","description":"Year of birth (must be greater than 1900)."}},"description":"Driver's date of birth.","x-stripeMostCommon":["day","month","year"]},"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":198,"type":"string","description":"Driver's full name."}},"x-stripeMostCommon":["date_of_birth","driver_identification_number","driver_tax_number","name"]}},"drop_off":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Drop-off location details.","x-stripeMostCommon":["address","location_name","time"]},"insurances":{"type":"array","description":"Insurance details for the rental.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["liability_supplement","loss_damage_waiver","other","partial_damage_waiver","personal_accident","personal_effects"],"x-stripeEnum":{"kind":"open","values":[{"description":"Supplemental liability insurance coverage.","value":"liability_supplement"},{"description":"Agreement waiving responsibility for loss or damage to the vehicle.","value":"loss_damage_waiver"},{"description":"Other types of insurance coverage.","value":"other"},{"description":"Agreement limiting responsibility for loss or damage to the vehicle.","value":"partial_damage_waiver"},{"description":"Insurance covering personal accidents during the rental period.","value":"personal_accident"},{"description":"Insurance covering personal belongings during the rental period.","value":"personal_effects"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Indicates if the customer was a no-show."},"pickup":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Pickup location details.","x-stripeMostCommon":["address","location_name","time"]},"renter_name":{"maxLength":198,"type":"string","description":"Name of the person renting the vehicle."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total amount in cents."},"currency":{"type":"string","description":"Currency of the amount.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code applied to the rental."},"maximum_free_miles_or_kilometers":{"type":"integer","description":"Maximum number of free miles or kilometers included."}},"description":"Discount details for the rental.","x-stripeMostCommon":["corporate_client_code","coupon","maximum_free_miles_or_kilometers"]},"extra_charges":{"type":"array","description":"Additional charges for the rental.","items":{"title":"extra_charge","required":["amount","type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["extra_mileage","gas","gps","late_charge","one_way_drop_off","other","parking","phone","regular_mileage","towing"]}},"x-stripeMostCommon":["amount","type"]}},"rate_per_unit":{"type":"integer","description":"Rate per unit for the rental."},"rate_unit":{"type":"string","description":"Unit of measurement for the rate.","enum":["days","kilometers","miles","months","weeks"],"x-stripeEnum":{"kind":"open","values":[{"description":"Rental rate charged per day.","value":"days"},{"description":"Rental rate charged per kilometer.","value":"kilometers"},{"description":"Rental rate charged per mile.","value":"miles"},{"description":"Rental rate charged per month.","value":"months"},{"description":"Rental rate charged per week.","value":"weeks"}]}},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates if the transaction is tax exempt."},"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate applied."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the rental.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total cost breakdown for the rental.","x-stripeMostCommon":["amount","currency","discounts","extra_charges","rate_per_unit","rate_unit","tax"]},"vehicle":{"title":"vehicle","type":"object","properties":{"make":{"maxLength":40,"type":"string","description":"Make of the rental vehicle."},"model":{"maxLength":40,"type":"string","description":"Model of the rental vehicle."},"odometer":{"type":"integer","description":"Odometer reading at the time of rental."},"type":{"type":"string","description":"Type of the rental vehicle.","enum":["cargo_van","compact","economy","exotic","exotic_suv","fifteen_passenger_van","four_wheel_drive","full_size","intermediate","large_suv","large_truck","luxury","medium_suv","midsize","mini","minivan","miscellaneous","moped","moving_van","premium","regular","small_medium_truck","small_suv","special","standard","stretch","subcompact","taxi","twelve_foot_truck","twelve_passenger_van","twenty_foot_truck","twenty_four_foot_truck","twenty_six_foot_truck","unique"],"x-stripeEnum":{"kind":"open","values":[{"description":"Van designed for cargo transport.","value":"cargo_van"},{"description":"Compact car.","value":"compact"},{"description":"Economy-class car.","value":"economy"},{"description":"Exotic or high-performance vehicle.","value":"exotic"},{"description":"Exotic or luxury sport utility vehicle.","value":"exotic_suv"},{"description":"Van with capacity for fifteen passengers.","value":"fifteen_passenger_van"},{"description":"Four-wheel-drive vehicle.","value":"four_wheel_drive"},{"description":"Full-sized car.","value":"full_size"},{"description":"Intermediate-sized car.","value":"intermediate"},{"description":"Large sport utility vehicle.","value":"large_suv"},{"description":"Large truck.","value":"large_truck"},{"description":"Luxury car.","value":"luxury"},{"description":"Medium sport utility vehicle.","value":"medium_suv"},{"description":"Midsize car.","value":"midsize"},{"description":"Mini-sized car.","value":"mini"},{"description":"Minivan.","value":"minivan"},{"description":"Other miscellaneous vehicle types.","value":"miscellaneous"},{"description":"Moped or motorized scooter.","value":"moped"},{"description":"Van designed for moving goods.","value":"moving_van"},{"description":"Premium car.","value":"premium"},{"description":"Regular vehicle type.","value":"regular"},{"description":"Small to medium truck.","value":"small_medium_truck"},{"description":"Small sport utility vehicle.","value":"small_suv"},{"description":"Special vehicle type.","value":"special"},{"description":"Standard-sized car.","value":"standard"},{"description":"Stretch limousine.","value":"stretch"},{"description":"Subcompact car.","value":"subcompact"},{"description":"Taxi or for-hire vehicle.","value":"taxi"},{"description":"Truck with twelve-foot cargo space.","value":"twelve_foot_truck"},{"description":"Van with capacity for twelve passengers.","value":"twelve_passenger_van"},{"description":"Truck with twenty-foot cargo space.","value":"twenty_foot_truck"},{"description":"Truck with twenty-four-foot cargo space.","value":"twenty_four_foot_truck"},{"description":"Truck with twenty-six-foot cargo space.","value":"twenty_six_foot_truck"},{"description":"Unique or specialty vehicle.","value":"unique"}]}},"vehicle_class":{"type":"string","description":"Class of the rental vehicle.","enum":["business","economy","first_class","premium_economy"]},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"Vehicle identification number (VIN)."}},"description":"Vehicle details for the rental.","x-stripeMostCommon":["make","model","odometer","type","vehicle_class","vehicle_identification_number"]}},"x-stripeMostCommon":["affiliate","booking_number","carrier_name","customer_service_phone_number","days_rented","distance","drivers","drop_off","insurances","no_show_indicator","pickup","renter_name","total","vehicle"]}},{"type":"string","enum":[""]}]},"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":[""]}]},"event_details":{"title":"event","required":["name"],"type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"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 event location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"company":{"maxLength":5000,"type":"string","description":"The name of the company"},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"ends_at":{"type":"integer","description":"Event end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"genre":{"maxLength":5000,"type":"string","description":"Type of the event entertainment (concert, sports event etc)"},"name":{"maxLength":5000,"type":"string","description":"The name of the event."},"starts_at":{"type":"integer","description":"Event start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Event details for this PaymentIntent","x-stripeMostCommon":["access_controlled_venue","address","affiliate","company","delivery","ends_at","genre","name","starts_at"]},"flight":{"title":"flight","required":["segments"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"agency_number":{"maxLength":8,"type":"string","description":"The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking."},"carrier":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"passenger_name":{"maxLength":26,"type":"string","description":"The name of the person or entity on the reservation."},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation.","items":{"title":"flight_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the flight reservation."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"The individual flight segments associated with the trip.","items":{"title":"flight_segment","required":["departs_at"],"type":"object","properties":{"amount":{"type":"integer","description":"The flight segment amount."},"arrival_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the arrival airport."},"arrives_at":{"type":"integer","description":"The arrival time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"carrier":{"maxLength":2,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment."},"departs_at":{"type":"integer","description":"The departure time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"departure_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the departure airport."},"flight_number":{"maxLength":4,"type":"string","description":"The flight number associated with the segment"},"service_class":{"type":"string","description":"The fare class for the segment.","enum":["business","economy","first","premium_economy"]}},"x-stripeMostCommon":["amount","arrival_airport","arrives_at","carrier","departs_at","departure_airport","flight_number","service_class"]}},"ticket_number":{"maxLength":14,"type":"string","description":"The ticket number associated with the travel reservation."}},"description":"Flight reservation details for this PaymentIntent","x-stripeMostCommon":["affiliate","agency_number","carrier","delivery","passenger_name","passengers","segments","ticket_number"]},"flight_data":{"description":"Flight data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"flight_data","required":["segments","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."},"travel_authorization_code":{"maxLength":64,"type":"string","description":"Code provided by the company to a travel agent authorizing ticket issuance."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name","travel_authorization_code"]},"booking_number":{"maxLength":255,"type":"string","description":"Reservation reference."},"computerized_reservation_system":{"maxLength":4,"type":"string","description":"Computerized reservation system used to make the reservation and purchase the ticket."},"endorsements_and_restrictions":{"maxLength":20,"type":"string","description":"Ticket restrictions."},"insurances":{"type":"array","description":"List of insurances.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Insurance cost."},"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Insurance company name."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering lost, damaged, or delayed baggage.","value":"baggage"},{"description":"Insurance covering losses due to airline bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering flight cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during travel.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"passengers":{"type":"array","description":"List of passengers.","items":{"title":"passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Passenger's full name."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"List of flight segments.","items":{"title":"segment","required":["arrival","carrier_code","departure","service_class"],"type":"object","properties":{"amount":{"type":"integer","description":"Segment fare amount."},"arrival":{"title":"arrival","required":["airport"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Arrival airport IATA code."},"arrives_at":{"type":"integer","description":"Arrival date/time.","format":"unix-time"},"city":{"maxLength":99,"type":"string","description":"Arrival city."},"country":{"maxLength":5000,"type":"string","description":"Arrival country."}},"description":"Arrival details.","x-stripeMostCommon":["airport","arrives_at","city","country"]},"carrier_code":{"maxLength":5000,"type":"string","description":"Airline carrier code."},"carrier_name":{"maxLength":25,"type":"string","description":"Carrier name."},"currency":{"type":"string","description":"Segment currency.","format":"currency"},"departure":{"title":"departure","required":["airport","departs_at"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Departure airport IATA code."},"city":{"maxLength":99,"type":"string","description":"Departure city."},"country":{"maxLength":5000,"type":"string","description":"Departure country."},"departs_at":{"type":"integer","description":"Departure date/time.","format":"unix-time"}},"description":"Departure details.","x-stripeMostCommon":["airport","city","country","departs_at"]},"exchange_ticket_number":{"maxLength":20,"type":"string","description":"Exchange ticket number."},"fare_basis_code":{"maxLength":20,"type":"string","description":"Fare basis code."},"fees":{"type":"integer","description":"Additional fees."},"flight_number":{"maxLength":20,"type":"string","description":"Flight number."},"is_stop_over_indicator":{"type":"boolean","description":"Stopover indicator."},"refundable":{"type":"boolean","description":"Refundable ticket indicator."},"service_class":{"type":"string","description":"Class of service.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating.","value":"business"},{"description":"Economy class seating.","value":"economy"},{"description":"First class seating with premium amenities.","value":"first_class"},{"description":"Premium economy class with enhanced seating and services.","value":"premium_economy"}]}},"tax_amount":{"type":"integer","description":"Tax amount for segment."},"ticket_number":{"maxLength":20,"type":"string","description":"Ticket number."}},"x-stripeMostCommon":["amount","arrival","carrier_code","carrier_name","currency","departure","exchange_ticket_number","fare_basis_code","fees","flight_number","is_stop_over_indicator","refundable","service_class","tax_amount","ticket_number"]}},"ticket_electronically_issued_indicator":{"type":"boolean","description":"Electronic ticket indicator."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total flight amount."},"credit_reason":{"type":"string","description":"Reason for credit.","enum":["other","partial_ticket_refund","passenger_transport_ancillary_cancellation","ticket_and_ancillary_cancellation","ticket_cancellation"],"x-stripeEnum":{"kind":"open","values":[{"description":"Other credit reasons.","value":"other"},{"description":"Partial refund of the ticket cost.","value":"partial_ticket_refund"},{"description":"Cancellation of passenger transport and ancillary services.","value":"passenger_transport_ancillary_cancellation"},{"description":"Cancellation of both ticket and ancillary services.","value":"ticket_and_ancillary_cancellation"},{"description":"Cancellation of the ticket only.","value":"ticket_cancellation"}]}},"currency":{"type":"string","description":"Total currency.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."}},"description":"Discount details.","x-stripeMostCommon":["corporate_client_code"]},"extra_charges":{"type":"array","description":"Additional charges.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of additional charges."},"type":{"type":"string","description":"Type of additional charges.","enum":["additional_fees","ancillary_service_charges","exchange_fee"],"x-stripeEnum":{"kind":"open","values":[{"description":"Additional fees charged for the flight.","value":"additional_fees"},{"description":"Charges for ancillary services such as baggage, seat selection, or meals.","value":"ancillary_service_charges"},{"description":"Fee charged for exchanging or changing the ticket.","value":"exchange_fee"}]}}},"x-stripeMostCommon":["amount","type"]}},"tax":{"title":"tax","type":"object","properties":{"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown.","x-stripeMostCommon":["tax_items"]}},"description":"Total cost breakdown.","x-stripeMostCommon":["amount","credit_reason","currency","discounts","extra_charges","tax"]},"transaction_type":{"type":"string","description":"Type of flight transaction.","enum":["exchange_ticket","miscellaneous","refund","ticket_purchase"],"x-stripeEnum":{"kind":"open","values":[{"description":"Exchange or modification of an existing ticket.","value":"exchange_ticket"},{"description":"Other miscellaneous flight-related transactions.","value":"miscellaneous"},{"description":"Refund for a canceled or unused ticket.","value":"refund"},{"description":"Purchase of a new flight ticket.","value":"ticket_purchase"}]}}},"x-stripeMostCommon":["affiliate","booking_number","computerized_reservation_system","endorsements_and_restrictions","insurances","passengers","segments","ticket_electronically_issued_indicator","total","transaction_type"]}},{"type":"string","enum":[""]}]},"lodging":{"title":"lodging","required":["checkin_at","checkout_at"],"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 lodging location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"adults":{"type":"integer","description":"The number of adults on the booking"},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the lodging reservation."},"category":{"type":"string","description":"The lodging category","enum":["hotel","vacation_rental"]},"checkin_at":{"type":"integer","description":"Lodging check-in time. Measured in seconds since the Unix epoch.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Lodging check-out time. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"The customer service phone number of the lodging company."},"daily_room_rate_amount":{"type":"integer","description":"The daily lodging room rate."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["gift_shop","laundry","mini_bar","other","restaurant","telephone"]}},"fire_safety_act_compliance":{"type":"boolean","description":"Indicates whether the lodging location is compliant with the Fire Safety Act."},"name":{"maxLength":100,"type":"string","description":"The name of the lodging location."},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep their booking while failing to cancel the reservation."},"number_of_rooms":{"type":"integer","description":"The number of rooms on the booking"},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"lodging_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the lodging reservation."}},"x-stripeMostCommon":["name"]}},"property_phone_number":{"type":"string","description":"The phone number of the lodging location."},"room_class":{"maxLength":5000,"type":"string","description":"The room class for this purchase."},"room_nights":{"type":"integer","description":"The number of room nights"},"total_room_tax_amount":{"type":"integer","description":"The total tax amount associating with the room reservation."},"total_tax_amount":{"type":"integer","description":"The total tax amount"}},"description":"Lodging reservation details for this PaymentIntent","x-stripeMostCommon":["address","adults","affiliate","booking_number","category","checkin_at","checkout_at","customer_service_phone_number","daily_room_rate_amount","delivery","extra_charges","fire_safety_act_compliance","name","no_show","number_of_rooms","passengers","property_phone_number","room_class","room_nights","total_room_tax_amount","total_tax_amount"]},"lodging_data":{"description":"Lodging data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"lodging_data","required":["checkin_at","checkout_at","total"],"type":"object","properties":{"accommodation":{"title":"accommodation","type":"object","properties":{"accommodation_type":{"type":"string","description":"Type of accommodation.","enum":["apartment","cabana","house","penthouse","room","standard","suite","villa"],"x-stripeEnum":{"kind":"open","values":[{"description":"A self-contained apartment unit.","value":"apartment"},{"description":"A cabana or small cabin.","value":"cabana"},{"description":"A standalone house.","value":"house"},{"description":"A penthouse or top-floor luxury accommodation.","value":"penthouse"},{"description":"A standard room.","value":"room"},{"description":"A standard accommodation type.","value":"standard"},{"description":"A suite with multiple rooms or enhanced amenities.","value":"suite"},{"description":"A villa or luxury residence.","value":"villa"}]}},"bed_type":{"maxLength":20,"type":"string","description":"Bed type."},"daily_rate_amount":{"type":"integer","description":"Daily accommodation rate in cents."},"nights":{"type":"integer","description":"Number of nights."},"number_of_rooms":{"type":"integer","description":"Number of rooms, cabanas, apartments, and so on."},"rate_type":{"maxLength":20,"type":"string","description":"Rate type."},"smoking_indicator":{"type":"boolean","description":"Whether smoking is allowed."}},"description":"Accommodation details for the lodging.","x-stripeMostCommon":["accommodation_type","bed_type","daily_rate_amount","nights","number_of_rooms","rate_type","smoking_indicator"]},"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Affiliate partner name."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the lodging."},"checkin_at":{"type":"integer","description":"Check-in date.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Check-out date.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the lodging company."},"fire_safety_act_compliance_indicator":{"type":"boolean","description":"Whether the lodging is compliant with any hotel fire safety regulations."},"guests":{"type":"array","description":"List of guests for the lodging.","items":{"title":"guest","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Guest's full name."}},"x-stripeMostCommon":["name"]}},"host":{"title":"host","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":"Address of the host.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"country_of_domicile":{"maxLength":5000,"type":"string","description":"Host's country of domicile."},"host_reference":{"maxLength":255,"type":"string","description":"Reference number for the host."},"host_type":{"type":"string","description":"Type of host.","enum":["hostel","hotel","owner","rental_agency"],"x-stripeEnum":{"kind":"open","values":[{"description":"A hostel or shared accommodation facility.","value":"hostel"},{"description":"A hotel or hotel chain.","value":"hotel"},{"description":"The property owner directly managing the rental.","value":"owner"},{"description":"A rental agency managing the property.","value":"rental_agency"}]}},"name":{"maxLength":255,"type":"string","description":"Name of the lodging property or host."},"number_of_reservations":{"type":"integer","description":"Total number of reservations for the host."},"property_phone_number":{"type":"string","description":"Property phone number."},"registered_at":{"type":"integer","description":"Host's registration date.","format":"unix-time"}},"description":"Host details for the lodging.","x-stripeMostCommon":["address","country_of_domicile","host_reference","host_type","name","number_of_reservations","property_phone_number","registered_at"]},"insurances":{"type":"array","description":"List of insurances for the lodging.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Price of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering losses due to provider bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during the stay.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Whether the renter is a no-show."},"renter_id_number":{"maxLength":25,"type":"string","description":"Renter ID number for the lodging."},"renter_name":{"maxLength":198,"type":"string","description":"Renter name for the lodging."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total price of the lodging reservation in cents."},"cash_advances":{"type":"integer","description":"Cash advances in cents."},"currency":{"type":"string","description":"Currency of the total amount.","format":"currency"},"discounts":{"title":"discount","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code."}},"description":"Discount details for the lodging.","x-stripeMostCommon":["corporate_client_code","coupon"]},"extra_charges":{"type":"array","description":"Additional charges for the lodging.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["gift_shop","laundry","mini_bar","other","phone","restaurant"],"x-stripeEnum":{"kind":"open","values":[{"description":"Charges for gift shop purchases.","value":"gift_shop"},{"description":"Charges for laundry or cleaning services.","value":"laundry"},{"description":"Charges for mini bar consumption.","value":"mini_bar"},{"description":"Other miscellaneous charges.","value":"other"},{"description":"Charges for telephone services.","value":"phone"},{"description":"Charges for dining or food services.","value":"restaurant"}]}}},"x-stripeMostCommon":["amount","type"]}},"prepaid_amount":{"type":"integer","description":"Prepaid amount in cents."},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates whether the transaction is tax exempt."},"tax_items":{"type":"array","description":"Tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount in cents."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the lodging reservation.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total details for the lodging.","x-stripeMostCommon":["amount","cash_advances","currency","discounts","extra_charges","prepaid_amount","tax"]}},"x-stripeMostCommon":["accommodation","affiliate","booking_number","checkin_at","checkout_at","customer_service_phone_number","fire_safety_act_compliance_indicator","guests","host","insurances","no_show_indicator","renter_id_number","renter_name","total"]}},{"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":[""]}]},"subscription":{"title":"subscription","required":["name"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"auto_renewal":{"type":"boolean","description":"Info whether the subscription will be auto renewed upon expiry."},"billing_interval":{"title":"subscription_billing_interval","required":["count","interval"],"type":"object","properties":{"count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."},"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]}},"description":"Subscription billing details for this purchase.","x-stripeMostCommon":["count","interval"]},"ends_at":{"type":"integer","description":"Subscription end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"name":{"maxLength":5000,"type":"string","description":"Name of the product on subscription. e.g. Apple Music Subscription"},"starts_at":{"type":"integer","description":"Subscription start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Subscription details for this PaymentIntent","x-stripeMostCommon":["affiliate","auto_renewal","billing_interval","ends_at","name","starts_at"]}},"description":"Provides industry-specific information about the charge.","x-stripeMostCommon":["car_rental","car_rental_data","event_details","fleet_data","flight","flight_data","healthcare","lodging","lodging_data","subscription"]},"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},"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/charge"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"capture_charge"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":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":"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"}},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"The checkout session is complete. Payment processing may still be in progress","value":"complete"},{"description":"The checkout session has expired. No further processing will occur","value":"expired"},{"description":"The checkout session is still in progress. Payment processing has not started","value":"open"}]}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_checkout_sessions"},"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 `elements`.","x-stripeMostCommon":["recovery"]},"allow_promotion_codes":{"type":"boolean","description":"Enables user redeemable promotion codes."},"allowed_payment_method_types":{"type":"array","description":"A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nUnlike `payment_method_types`, this acts as a filter on the dynamically computed set of\neligible payment methods rather than an explicit static list. Only payment methods that\nare both dynamically eligible and present in this list will be offered to the customer.","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","sunbit","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"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":["address_collection_precision","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 `elements`.","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_page` or `elements`."},"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 and US customers.","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 `elements`.","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":100,"type":"string","description":"Custom text for the label, displayed to the customer. Up to 100 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 `elements`.","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."},"coupon_data":{"title":"coupon_data","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)."},"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"},"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},"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)."}},"description":"Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.","x-stripeMostCommon":["amount_off","currency","duration","metadata","name","percent_off"]},"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","bizum","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","sunbit","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","currency_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"]},"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."},"tax_details":{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","x-stripeMostCommon":["performance_location","provider_options","tax_code"]},"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},"managed_payments":{"title":"managed_payments_params","type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session."}},"description":"Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).","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`."},"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.","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 `elements` or `form`.","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 `elements`.","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 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"]},"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"],"x-stripeBypassValidation":true},"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 `elements`.","x-stripeMostCommon":["currency","financial_connections","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,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"}]}}},"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","verification_method"]},"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","off_session"]}},"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"]},"blik":{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"subscription_payment_method_options_mandate_options_param","type":"object","properties":{"expires_at":{"type":"integer","description":"Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.","format":"unix-time"}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["expires_at"]},"setup_future_usage":{"type":"string","enum":["","none","off_session"]}},"description":"contains details about the BLIK payment method options.","x-stripeMostCommon":["mandate_options","setup_future_usage"]},"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_decremental_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_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":"The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.","items":{"type":"string","enum":["american_express","discover_global_network","mastercard","visa"]}},"funding_types_blocked":{"type":"array","description":"Card funding types to block for this Checkout Session. Supported values are `credit`, `debit`, and `prepaid`.","items":{"type":"string","enum":["credit","debit","prepaid"]}}},"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 `elements`.","x-stripeMostCommon":["brands_blocked","funding_types_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 (Link is also known as Onelink in the UK).","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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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 PAYCO payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"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."},"reference_id":{"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"]},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":32,"type":"string"}}},"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."},"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"amount_type":{"type":"string","description":"Type of amount. Defaults to `maximum`.","enum":["fixed","maximum"]},"currency":{"type":"string","description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.","format":"currency"},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged. Defaults to `monthly`.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]},"reference":{"maxLength":35,"type":"string","description":"Subscription name displayed to buyers in their bank app. Defaults to the displayable business name."},"start_date":{"maxLength":5000,"type":"string","description":"Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date."}},"description":"Additional fields for mandate creation.","x-stripeMostCommon":["amount","amount_includes_iof","amount_type","currency","end_date","payment_schedule","reference","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 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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"},{"description":"Use `off_session` if your customer may or may not be present in your checkout flow.","value":"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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 Samsung Pay payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"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"]},"scalapay":{"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 Scalapay 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"]},"sequra":{"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 SeQura payment method options.","x-stripeMostCommon":["capture_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"]},"sunbit":{"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 Sunbit payment method options.","x-stripeMostCommon":["capture_method","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","off_session"]}},"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","inferred_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,"x-stripeEnum":{"kind":"open","values":[{"description":"The end customer will pay from an Android app","value":"android"},{"description":"The end customer will pay from an iOS app","value":"ios"},{"description":"The end customer will pay from web browser","value":"web"}]}},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"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","bizum","blik","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","scalapay","sepa_debit","sequra","sofort","sunbit","swish","twint","upi","us_bank_account","wechat_pay"]},"permissions":{"title":"permissions_param","type":"object","properties":{"update":{"title":"permissions_update_param","type":"object","properties":{"line_items":{"type":"string","description":"Determines which entity is allowed to update the line items.\n\nDefault is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.\n\nWhen set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.","enum":["client_only","server_only"]},"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\nThis parameter is only supported when `ui_mode=elements`.","enum":["client_only","server_only"]}},"description":"Permissions for updating the Checkout Session.","x-stripeMostCommon":["line_items","shipping_details"]},"update_discounts":{"type":"string","description":"Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.\n\nDefault is `client_only`. Stripe Checkout client will automatically handle discount updates. If set to `server_only`, only your server is allowed to update discounts.","enum":["client_only","server_only"]},"update_line_items":{"type":"string","description":"Determines which entity is allowed to update the line items.\n\nDefault is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.\n\nWhen set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.","enum":["client_only","server_only"]},"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\nThis parameter is only supported when `ui_mode=elements`.","enum":["client_only","server_only"]}},"description":"This property is used to set up permissions for various actions (for example, update) on the CheckoutSession object. Can only be set when creating `embedded_page` or `elements` 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_page`. 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_page` or `elements`\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_preselect","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":"create_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 `elements`.","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.","format":"unix-time"},"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":"Configures when the subscription schedule's billing cycle anchors to a specific day of the week or month.","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Amounts are net of discounts, and discount amounts are zero.","value":"included"},{"description":"Amounts are gross of discounts, and discount amounts are accurate.","value":"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":["account_tax_ids","custom_fields","description","footer","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":["billing_cycle_anchor","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_cycle_anchor_config","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_page` or `elements`. 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 `elements`.","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_page`.","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 (Link is also known as Onelink in the UK).","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},"allowed_payment_method_types":{"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},"managed_payments":{"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},"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"}}}}},"x-stableId":"create_checkout_session"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_checkout_session"},"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":{"automatic_tax":{"title":"automatic_tax_params","type":"object","properties":{"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":["liability"]},"collected_information":{"title":"collected_information_params","type":"object","properties":{"shipping_details":{"title":"shipping_details_params","required":["address","name"],"type":"object","properties":{"address":{"title":"shipping_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_page` or `elements` sessions.","x-stripeMostCommon":["billing_details","shipping_details"]},"discounts":{"description":"List of coupons and promotion codes attached to the Checkout Session.","anyOf":[{"type":"array","items":{"title":"discount_params","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The ID of the [Coupon](https://docs.stripe.com/api/coupons) to apply to this Session. One of `coupon` or `coupon_data` is required when updating discounts."},"coupon_data":{"title":"coupon_data","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)."},"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"},"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},"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)."}},"description":"Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.","x-stripeMostCommon":["amount_off","currency","duration","metadata","name","percent_off"]}},"x-stripeMostCommon":["coupon","coupon_data"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice_creation":{"title":"invoice_creation_params","type":"object","properties":{"invoice_data":{"title":"invoice_data_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":"Parameters passed when creating invoices for payment-mode Checkout Sessions.","x-stripeMostCommon":["issuer"]}},"description":"Generate a post-purchase Invoice for one-time payments.","x-stripeMostCommon":["invoice_data"]},"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."},"tax_details":{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","x-stripeMostCommon":["performance_location","provider_options","tax_code"]},"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":[""]}]},"payment_intent_data":{"title":"payment_intent_data_params","type":"object","properties":{"description":{"description":"An arbitrary string attached to the object. Often useful for displaying to users. Pass an empty string to clear a previously configured value.","anyOf":[{"maxLength":1000,"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":[""]}]},"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.\n\nPass an empty string to remove a previously supplied configuration.","enum":["","off_session","on_session"]},"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.\n Pass an empty string to clear a previously configured value.","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.\n Pass an empty string to clear a previously configured value.","anyOf":[{"maxLength":22,"type":"string"},{"type":"string","enum":[""]}]}},"description":"A subset of parameters to apply to the PaymentIntent for Checkout Sessions in `payment` mode.\n\nYou can only update these parameters when `ui_mode` is `elements` and while the session is active. If the PaymentIntent requires customer action or confirmation, updating these parameters abandons the current payment attempt and returns the PaymentIntent to `requires_payment_method`. You can't update these parameters after the PaymentIntent begins processing, requires capture, succeeds, or is canceled.","x-stripeMostCommon":["description","metadata","receipt_email","setup_future_usage","statement_descriptor","statement_descriptor_suffix"]},"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":"create_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":[""]}]},"subscription_data":{"title":"subscription_data_params","type":"object","properties":{"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"]},"pending_invoice_item_interval":{"description":"Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api#create_invoice) 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":[""]}]},"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":{"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":[""]}]}},"description":"A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.","x-stripeMostCommon":["invoice_settings","pending_invoice_item_interval","trial_end","trial_period_days"]}},"additionalProperties":false,"x-stripeMostCommon":["line_items","metadata"]},"encoding":{"automatic_tax":{"style":"deepObject","explode":true},"collected_information":{"style":"deepObject","explode":true},"discounts":{"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},"payment_intent_data":{"style":"deepObject","explode":true},"shipping_options":{"style":"deepObject","explode":true},"subscription_data":{"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"}}}}},"x-stableId":"update_checkout_session"}},"/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"}}}}},"x-stableId":"expire_checkout_session"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_checkout_session_line_items"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_climate_orders"},"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"}}}}},"x-stableId":"create_climate_order"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_climate_order"},"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"}}}}},"x-stableId":"update_climate_order"}},"/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"}}}}},"x-stableId":"cancel_climate_order"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_climate_products"}},"/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"}},"x-stripeLessCommon":true},{"name":"product","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/climate.product"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_climate_product"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_climate_suppliers"}},"/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"}},"x-stripeLessCommon":true},{"name":"supplier","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/climate.supplier"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_climate_supplier"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/confirmation_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_confirmation_token"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_country_specs"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/country_spec"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_country_spec"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_coupons"},"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"},"script":{"title":"script_param","required":["configuration","id"],"type":"object","properties":{"configuration":{"type":"object","description":"The configuration values of the script. The keys and values are specific to the script implementation."},"id":{"maxLength":5000,"type":"string","description":"The script implementation ID for this coupon."}},"description":"Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.","x-stripeMostCommon":["configuration","id"]}},"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},"script":{"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"}}}}},"x-stableId":"create_coupon"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/coupon"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_coupon"},"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"}}}}},"x-stableId":"update_coupon"},"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"}}}}},"x-stableId":"delete_coupon"}},"/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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_credit_notes"},"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.

\n\n

For invoices that also have refunds created through the Refund API, the credit note API subtracts those refund amounts from the maximum creditable amount. This prevents the combined credit notes and refunds from exceeding the invoice amount. If you use both, ensure the combined total does not exceed the invoice’s paid amount.

","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 20 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"],"x-stripeBypassValidation":true},"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"}}}}},"x-stableId":"create_credit_note"}},"/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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"]},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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 20 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"},"x-stripeLessCommon":true},{"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"],"x-stripeBypassValidation":true}},{"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"},"x-stripeLessCommon":true},{"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"]}},"x-stripeLessCommon":true},{"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"]},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/credit_note"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"preview_credit_note"}},"/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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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 20 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"},"x-stripeLessCommon":true},{"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"],"x-stripeBypassValidation":true}},{"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"},"x-stripeLessCommon":true},{"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"]}},"x-stripeLessCommon":true},{"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"]},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_credit_note_preview_line_items"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_credit_note_line_items"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_credit_note"},"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"}}}}},"x-stableId":"update_credit_note"}},"/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"}}}}},"x-stableId":"void_credit_note"}},"/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":{"active_entitlements":{"title":"active_entitlements_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the active entitlements is enabled."}},"description":"Configuration for active entitlements.","x-stripeMostCommon":["enabled"]},"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_portal":{"title":"customer_portal_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the customer portal is enabled."}},"description":"Configuration for customer portal.","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_preselect","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"]},"tax_id_element":{"title":"tax_id_element_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the Tax ID Element is enabled."},"features":{"title":"features_param","type":"object","properties":{"tax_id_redisplay":{"type":"string","description":"Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`.\n\nWhen enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers.","enum":["disabled","enabled"],"x-stripeBypassValidation":true},"tax_id_save":{"type":"string","description":"Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`.\n\nWhen enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use.","enum":["disabled","enabled"],"x-stripeBypassValidation":true}},"description":"This hash defines whether the Tax ID Element supports certain features.","x-stripeMostCommon":["tax_id_redisplay","tax_id_save"]}},"description":"Configuration for the Tax ID Element.","x-stripeMostCommon":["enabled","features"]}},"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"}}}}},"x-stableId":"create_customer_session"}},"/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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_customers"},"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 1–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","currency_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","default_shared_payment_token","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`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `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`, `py_ruc`, `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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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"}}}}},"x-stableId":"create_customer"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"search_customers"}},"/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"}},"x-stripeLessCommon":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":{"anyOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_customer"},"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 1–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","currency_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","default_shared_payment_token","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"}}}}},"x-stableId":"update_customer"},"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"}}}}},"x-stableId":"delete_customer"}},"/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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_customer_balance_transactions"},"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"}}}}},"x-stableId":"create_customer_balance_transaction"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_customer_balance_transaction"},"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"}}}}},"x-stableId":"update_customer_balance_transaction"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/cash_balance"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_cash_balance"},"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"}}}}},"x-stableId":"update_cash_balance"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"Cash Balance Transaction List","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"}}}}},"x-stableId":"list_customer_cash_balance_transactions"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_cash_balance_transaction"}},"/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"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/deleted_discount"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"delete_customer_discount"}},"/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"}}}}},"x-stableId":"create_or_retrieve_funding_instructions_for_customer_balance"}},"/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"]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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","bizum","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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"}}}}},"x-stableId":"list_customer_payment_methods"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_customer_payment_method"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"create_customer_source"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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":{"summary":"Update a card","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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"update_customer_card,update_customer_bank_account"},"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"delete_customer_source"}},"/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"}}}}},"x-stableId":"verify_customer_source"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_tax_ids"},"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`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `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`, `py_ruc`, `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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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"}}}}},"x-stableId":"create_tax_id"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_tax_id"},"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"}}}}},"x-stableId":"delete_tax_id"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_disputes"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/dispute"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_dispute"},"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."},"appeal":{"description":"Evidence to submit when appealing a dispute.","anyOf":[{"title":"appeal_evidence_params","type":"object","properties":{"card":{"description":"Evidence for a card dispute appeal.","anyOf":[{"title":"appeal_evidence_card_params","type":"object","properties":{"reason_for_filing":{"description":"An explanation of the reason for filing the appeal.","anyOf":[{"maxLength":20000,"type":"string"},{"type":"string","enum":[""]}]},"supporting_files":{"description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `dispute_evidence` to support the appeal.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["reason_for_filing","supporting_files"]},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["card"]},{"type":"string","enum":[""]}]},"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":{"mastercard_compliance":{"title":"mastercard_compliance","type":"object","properties":{"fee_acknowledged":{"type":"boolean","description":"A field acknowledging the fee incurred when countering a Mastercard compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute."}},"description":"Evidence provided for Mastercard compliance evidence submission.","x-stripeMostCommon":["fee_acknowledged"]},"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":["mastercard_compliance","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","appeal","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","proof_of_customer_acceptance","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"}},"intended_submission_method":{"type":"string","description":"Intended submission method for the dispute.","enum":["manual","prefer_manual","prefer_smart_disputes","smart_disputes"],"x-stripeEnum":{"kind":"closed","values":[{"description":"You'll submit the manual packet if you upload evidence and won't ever use Smart Disputes to respond to the dispute.","value":"manual"},{"description":"You'll submit the manual packet if you upload evidence, but use Smart Disputes if you have no evidence to add to the dispute response.","value":"prefer_manual"},{"description":"You'll let Smart Disputes submit the dispute response if it detects Stripe evidence, but use the manual packet otherwise.","value":"prefer_smart_disputes"},{"description":"You'll let Smart Disputes submit the dispute response if it detects Stripe evidence, and won't use the manual packet.","value":"smart_disputes"}]}},"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","intended_submission_method","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"}}}}},"x-stableId":"update_dispute"}},"/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 (accepting it), 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"}}}}},"x-stableId":"close_dispute"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_active_entitlements"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"get_active_entitlement"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"entitlements_list_features"},"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"}}}}},"x-stableId":"entitlements_create_feature"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"entitlements_get_feature"},"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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"entitlements_update_feature"}},"/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"}}}}},"x-stableId":"create_ephemeral_key"}},"/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"}}}}},"x-stableId":"delete_ephemeral_key"}},"/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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_events"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_event"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_exchange_rates_v1"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_exchange_rate_v1"}},"/v1/external_accounts":{"get":{"summary":"List all external accounts","description":"

List external accounts for an account.

","operationId":"GetExternalAccounts","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_external_accounts"},"post":{"summary":"Create an external account","description":"

Create an external account for a given connected account.

","operationId":"PostExternalAccounts","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":"Either 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).","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"}}}}},"x-stableId":"create_v2_connect_external_account"}},"/v1/external_accounts/{id}":{"get":{"summary":"Retrieve an external account","description":"

Retrieve a specified external account for a given account.

","operationId":"GetExternalAccountsId","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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_v2_connect_external_account"},"post":{"summary":"Update a bank account","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":"PostExternalAccountsId","parameters":[{"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://docs.stripe.com/api#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"}}}}},"x-stableId":"update_connect_external_account,update_connect_external_account_card"},"delete":{"summary":"Delete an external account","description":"

Delete a specified external account for a given account.

","operationId":"DeleteExternalAccountsId","parameters":[{"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"}}}}},"x-stableId":"delete_v2_connect_external_account"}},"/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"}]},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"file","in":"query","description":"Only return links for the given file.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_file_links"},"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"}}}}},"x-stableId":"create_file_link"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_file_link"},"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"}}}}},"x-stableId":"update_file_link"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_files"},"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://docs.stripe.com/api#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/"}],"x-stableId":"create_file"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_file"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_financial_connections_accounts"}},"/v1/financial_connections/accounts/{account}":{"get":{"summary":"Retrieve an Account","description":"

Retrieves the details of a 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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/financial_connections.account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_financial_connections_account"}},"/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"}}}}},"x-stableId":"disconnect_financial_connections_account"}},"/v1/financial_connections/accounts/{account}/inferred_balances":{"get":{"summary":"List Account's inferred balances","description":"

Lists the recorded inferred balances for a Financial Connections Account.

","operationId":"GetFinancialConnectionsAccountsAccountInferredBalances","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"Inferred Account Balance List","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/financial_connections.account_inferred_balance"}},"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 historical balances for an account, with at most one record per calendar day.\nEach balance may be sourced from a balance snapshot provided by a financial institution, or inferred using transactions data.\nGaps in the list indicate that Stripe did not detect a change in balance on the missing dates.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"list_financial_connections_inferred_balances"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_financial_connections_account_owners"}},"/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","inferred_balances","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"}}}}},"x-stableId":"refresh_financial_connections_account"}},"/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":["balance","inferred_balances","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"}}}}},"x-stableId":"subscribe_financial_connections_account"}},"/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":["balance","inferred_balances","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"}}}}},"x-stableId":"unsubscribe_financial_connections_account"}},"/v1/financial_connections/authorizations/{authorization}":{"get":{"summary":"Retrieve an Authorization","description":"

Retrieves the details of a Financial Connections Authorization.

","operationId":"GetFinancialConnectionsAuthorizationsAuthorization","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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/financial_connections.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_financial_connections_authorization"}},"/v1/financial_connections/institutions":{"get":{"summary":"List Institutions","description":"

Returns a list of Financial Connections Institution objects.

","operationId":"GetFinancialConnectionsInstitutions","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"BankConnectionsResourceExternalInstitutionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/financial_connections.institution"}},"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/institutions","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"}}}}},"x-stableId":"list_financial_connections_institutions"}},"/v1/financial_connections/institutions/{institution}":{"get":{"summary":"Retrieve an Institution","description":"

Retrieves the details of a Financial Connections Institution.

","operationId":"GetFinancialConnectionsInstitutionsInstitution","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"}},"x-stripeLessCommon":true},{"name":"institution","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.institution"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_financial_connections_institution"}},"/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":["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"]}},"country":{"maxLength":5000,"type":"string","description":"Country from which to collect accounts."},"institution":{"maxLength":5000,"type":"string","description":"Stripe ID of the institution with which the customer should be directed to log in."},"require_payment_method_support":{"type":"string","description":"Whether the session should require payment method support and successful account number retrieval before completion.","enum":["all","at_least_one","none"],"x-stripeEnum":{"kind":"closed","values":[{"description":"All accounts in the Session must be payment-eligible, and at least one payment-eligible account must successfully retrieve account and routing numbers before the Session can complete.","value":"all"},{"description":"At least one account in the Session must be payment-eligible and successfully retrieve account and routing numbers before the Session can complete.","value":"at_least_one"},{"description":"Accounts are not required to be payment-eligible.","value":"none"}]}}},"description":"Filters to restrict the kinds of accounts to collect.","x-stripeMostCommon":["account_subcategories","country","institution","require_payment_method_support"]},"hosted":{"title":"hosted_params","type":"object","properties":{"delivery_method":{"type":"string","description":"How the user should enter the hosted flow. The values `email` and `url` can only be used if `relink_options` is provided.","enum":["email","url"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"The user receives an email from Stripe with a link to a hosted page.","value":"email"},{"description":"Receive a URL to the hosted page that you can send to your user asynchronously. These URLs expire after 30 days if they're not visited, but the user can request a new URL without requiring you to make another API request.","value":"url"}]}}},"description":"Settings for hosted Sessions. Required if `ui_mode` is `hosted`.","x-stripeMostCommon":["delivery_method","return_url"]},"limits":{"title":"limits_params","required":["accounts"],"type":"object","properties":{"accounts":{"description":"The number of accounts that can be linked in this Session. Pass an empty value to allow any number of accounts.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]}},"description":"Settings for configuring Session-specific limits.","x-stripeMostCommon":["accounts"]},"manual_entry":{"title":"manual_entry_params","type":"object","properties":{"mode":{"type":"string","description":"How manual entry should be handled.","enum":["automatic","custom","disabled"]}},"description":"Customize manual entry behavior","x-stripeMostCommon":["mode"]},"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","inferred_balances","ownership","transactions"],"x-stripeBypassValidation":true}},"relink_options":{"title":"relink_options_params","required":["authorization"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The account to relink. Must belong to the authorization specified in `authorization`."},"authorization":{"maxLength":5000,"type":"string","description":"The authorization to relink."}},"description":"Options for specifying a Session targeted to relinking an authorization.","x-stripeMostCommon":["account","authorization"]},"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."},"ui_mode":{"type":"string","description":"The UI mode of the Session. Defaults to `modal`.","enum":["hosted","modal"]}},"additionalProperties":false,"x-stripeMostCommon":["account_holder","filters","hosted","limits","manual_entry","permissions","prefetch","relink_options","return_url","ui_mode"]},"encoding":{"account_holder":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"filters":{"style":"deepObject","explode":true},"hosted":{"style":"deepObject","explode":true},"limits":{"style":"deepObject","explode":true},"manual_entry":{"style":"deepObject","explode":true},"permissions":{"style":"deepObject","explode":true},"prefetch":{"style":"deepObject","explode":true},"relink_options":{"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"}}}}},"x-stableId":"create_financial_connections_session"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_financial_connections_session"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_financial_connections_transactions"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_financial_connections_transaction"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_forwarding_requests"},"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"}}}}},"x-stableId":"create_forwarding_request"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_forwarding_request"}},"/v1/fx_quotes":{"get":{"summary":"List active FX Quotes","description":"

Returns a list of active FX quotes. The FX quotes are returned in sorted order, with the most recent FX quotes appearing first.

","operationId":"GetFxQuotes","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"FXFXQuoteResourceMerchantFXQuoteList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/fx_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/fx_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"}}}}},"x-stableId":"list_fx_quotes"},"post":{"summary":"Create an FX Quote","description":"

Creates an FX Quote object

","operationId":"PostFxQuotes","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["from_currencies","lock_duration","to_currency"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"from_currencies":{"type":"array","description":"A list of three letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be [supported currencies](https://stripe.com/docs/currencies).","items":{"type":"string","format":"currency"}},"lock_duration":{"type":"string","description":"The duration that you wish the quote to be locked for. The quote will be usable for the duration specified. The default is `none`. The maximum is 1 day.","enum":["day","five_minutes","hour","none"]},"to_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"},"usage":{"title":"usage_param","required":["type"],"type":"object","properties":{"payment":{"title":"payment_param","type":"object","properties":{"destination":{"type":"string","description":"The Stripe account ID that the funds will be transferred to.\n\nThis field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field."},"on_behalf_of":{"type":"string","description":"The Stripe account ID that these funds are intended for.\n\nThis field should match the account ID that would be used in the PaymentIntent’s on_behalf_of field."}},"description":"The payment transaction details that are intended for the FX Quote.","x-stripeMostCommon":["destination","on_behalf_of"]},"transfer":{"title":"transfer_param","required":["destination"],"type":"object","properties":{"destination":{"type":"string","description":"The Stripe account ID that the funds will be transferred to.\n\nThis field should match the account ID that would be used in the Transfer’s destination field."}},"description":"The transfer transaction details that are intended for the FX Quote.","x-stripeMostCommon":["destination"]},"type":{"type":"string","description":"Which transaction the FX Quote will be used for\n\nCan be “payment” | “transfer”","enum":["payment","transfer"],"x-stripeBypassValidation":true}},"description":"The usage specific information for the quote.","x-stripeMostCommon":["payment","transfer","type"]}},"additionalProperties":false,"x-stripeMostCommon":["from_currencies","lock_duration","to_currency"]},"encoding":{"expand":{"style":"deepObject","explode":true},"from_currencies":{"style":"deepObject","explode":true},"usage":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/fx_quote"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"create_fx_quote"}},"/v1/fx_quotes/{id}":{"get":{"summary":"Retrieve an FX Quote","description":"

Retrieve an FX Quote object

","operationId":"GetFxQuotesId","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"}},"x-stripeLessCommon":true},{"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/fx_quote"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_fx_quote"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_identity_verification_reports"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_identity_verification_report"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_identity_verification_sessions"},"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 might 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 its 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"}}}}},"x-stableId":"create_identity_verification_session"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_identity_verification_session"},"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"}}}}},"x-stableId":"update_identity_verification_session"}},"/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"}}}}},"x-stableId":"cancel_identity_verification_session"}},"/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"}}}}},"x-stableId":"redact_identity_verification_session"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"top_level_list_invoice_payments"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"top_level_retrieve_invoice_payment"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_invoice_rendering_templates"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_invoice_rendering_template"}},"/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"}}}}},"x-stableId":"archive_invoice_rendering_template"}},"/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"}}}}},"x-stableId":"unarchive_invoice_rendering_template"}},"/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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_invoice_items"},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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."},"margins":{"type":"array","description":"The ids of the margins to apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item.","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 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},"margins":{"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"}}}}},"x-stableId":"create_invoice_item"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_invoice_item"},"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"},"x-stripeLessCommon":true}],"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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"}},"invoicing_rules":{"type":"string","description":"Pass an empty string to remove previously-defined invoicing rules. Setting invoicing rules is not supported.","enum":[""]},"margins":{"description":"The ids of the margins to apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item.","anyOf":[{"type":"array","items":{"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":[""]}]},"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},"margins":{"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"}}}}},"x-stableId":"update_invoice_item"},"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"}}}}},"x-stableId":"delete_invoice_item"}},"/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"]},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_invoices"},"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":[""]}]},"amounts_due":{"description":"List of expected payments and corresponding due dates. Valid only for invoices where `collection_method=send_invoice`.","anyOf":[{"type":"array","items":{"title":"payment_plan_amount_param","required":["amount","description"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount in cents (or local equivalent)."},"days_until_due":{"type":"integer","description":"Number of days from when invoice is finalized until the payment is due."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"due_date":{"type":"integer","description":"Date on which a payment plan’s payment is due.","format":"unix-time"}},"x-stripeMostCommon":["amount","days_until_due","description","due_date"]}},{"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","withhold_tax"]},"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_margins":{"type":"array","description":"The ids of the margins to apply to the invoice. Can be overridden by line item `margins`.","items":{"maxLength":5000,"type":"string"}},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":[""]}]},"billie":{"description":"If paying by `billie`, this sub-hash contains details about the Billie payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"company_details":{"description":"Registration details about the buyer's organization.","anyOf":[{"title":"company_details_param","type":"object","properties":{"registered_address":{"description":"The address the company or entity is registered with.","anyOf":[{"title":"registered_address_param","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."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (for example, street, PO Box, or company name)."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (for example, 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."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name."},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type."},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["","ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"]},"vat":{"maxLength":5000,"type":"string","description":"VAT ID number."}},"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},{"type":"string","enum":[""]}]},"reference":{"maxLength":5000,"type":"string","description":"An identifier or reference that this payment corresponds to."}},"x-stripeMostCommon":["company_details","extra_merchant_data_blob","reference"]},{"type":"string","enum":[""]}]},"blik":{"description":"If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"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","mcc","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":[""]}]},"id_bank_transfer":{"description":"If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"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":[""]}]},"pix":{"description":"If paying by `pix`, this sub-hash contains details about the Pix payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_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."}},"x-stripeMostCommon":["amount_includes_iof","expires_after_seconds"]},{"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":[""]}]},"upi":{"description":"If paying by `upi`, this sub-hash contains details about the UPI payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"invoice_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"]}},"x-stripeMostCommon":["mandate_options"]},{"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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"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","inferred_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","bacs_debit","bancontact","billie","bizum","blik","card","check_scan","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account","wechat_pay"]},"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","alipay","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","id_bank_transfer","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","mb_way","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_balance","swish","twint","upi","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 invoices render in customer-facing interfaces such as the PDF or hosted invoice page.","x-stripeMostCommon":["amount_tax_display","currency_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":"create_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},"amounts_due":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"custom_fields":{"style":"deepObject","explode":true},"default_margins":{"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"}}}}},"x-stableId":"create_invoice"}},"/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","withhold_tax"]},"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`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `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`, `py_ruc`, `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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":{"amendments":{"type":"array","description":"Changes to apply to the phases of the subscription schedule, in the order provided.","items":{"title":"amendment_specs","required":["amendment_start"],"type":"object","properties":{"amendment_end":{"title":"specs","required":["type"],"type":"object","properties":{"discount_end":{"title":"discount_end_specs","required":["discount"],"type":"object","properties":{"discount":{"maxLength":5000,"type":"string","description":"The ID of a specific discount."}},"description":"Use the `end` time of a given discount.","x-stripeMostCommon":["discount"]},"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the amendment starting from the `amendment_start`.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.","format":"unix-time"},"type":{"type":"string","description":"Select one of three ways to pass the `amendment_end`.","enum":["discount_end","duration","schedule_end","timestamp","trial_end","trial_start","upcoming_invoice"]}},"description":"Details to identify the end of the time range modified by the proposed change. If not supplied, the amendment is considered a point-in-time operation that only affects the exact timestamp at `amendment_start`, and a restricted set of attributes is supported on the amendment.","x-stripeMostCommon":["discount_end","duration","timestamp","type"]},"amendment_start":{"title":"specs","required":["type"],"type":"object","properties":{"amendment_end":{"title":"amendment_end_index_specs","required":["index"],"type":"object","properties":{"index":{"type":"integer","description":"The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array."}},"description":"Details of another amendment in the same array, immediately after which this amendment should begin.","x-stripeMostCommon":["index"]},"discount_end":{"title":"discount_end_specs","required":["discount"],"type":"object","properties":{"discount":{"maxLength":5000,"type":"string","description":"The ID of a specific discount."}},"description":"Use the `end` time of a given discount.","x-stripeMostCommon":["discount"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the amendment to start.","format":"unix-time"},"type":{"type":"string","description":"Select one of three ways to pass the `amendment_start`.","enum":["amendment_end","discount_end","now","schedule_end","timestamp","trial_end","trial_start","upcoming_invoice"]}},"description":"Details to identify the earliest timestamp where the proposed change should take effect.","x-stripeMostCommon":["amendment_end","discount_end","timestamp","type"]},"billing_cycle_anchor":{"type":"string","description":"For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp. For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.","enum":["amendment_start","automatic"]},"discount_actions":{"type":"array","description":"Changes to the coupons being redeemed or discounts being applied during the amendment time span.","items":{"title":"specs","required":["type"],"type":"object","properties":{"add":{"title":"add_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to redeem."},"discount":{"maxLength":5000,"type":"string","description":"An ID of an existing discount for a coupon that was already redeemed."},"discount_end":{"title":"amendment_discount_end","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["amendment_end"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["type"]},"index":{"type":"integer","description":"The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array."},"promotion_code":{"maxLength":5000,"type":"string","description":"The promotion code to redeem."}},"description":"Details of the discount to add.","x-stripeMostCommon":["coupon","discount","discount_end","index","promotion_code","settings"]},"remove":{"title":"remove_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to remove from the `discounts` array."},"discount":{"maxLength":5000,"type":"string","description":"The ID of a discount to remove from the `discounts` array."},"promotion_code":{"maxLength":5000,"type":"string","description":"The ID of a promotion code to remove from the `discounts` array."}},"description":"Details of the discount to remove.","x-stripeMostCommon":["coupon","discount","promotion_code"]},"set":{"title":"set_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to replace the `discounts` array with."},"discount":{"maxLength":5000,"type":"string","description":"An ID of an existing discount to replace the `discounts` array with."},"promotion_code":{"maxLength":5000,"type":"string","description":"An ID of an existing promotion code to replace the `discounts` array with."}},"description":"Details of the discount to replace the existing discounts with.","x-stripeMostCommon":["coupon","discount","promotion_code","settings"]},"type":{"type":"string","description":"Determines the type of discount action.","enum":["add","remove","set"]}},"x-stripeMostCommon":["add","remove","set","type"]}},"item_actions":{"type":"array","description":"Changes to the subscription items during the amendment time span.","items":{"title":"specs","required":["type"],"type":"object","properties":{"add":{"title":"add_item_specs","required":["price"],"type":"object","properties":{"discounts":{"type":"array","description":"The discounts applied to the item. Subscription item discounts are applied before subscription discounts.","items":{"title":"schedule_amendments_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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},"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 object."},"quantity":{"type":"integer","description":"Quantity for this item."},"tax_rates":{"type":"array","description":"The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.","items":{"maxLength":5000,"type":"string"}},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"Options that configure the trial on the subscription item.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"description":"Details of the subscription item to add. If an item with the same `price` exists, it will be replaced by this new item. Otherwise, it adds the new item.","x-stripeMostCommon":["discounts","metadata","price","quantity","tax_rates","trial","trial_offer"]},"remove":{"title":"remove_item_specs","required":["price"],"type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"ID of a price to remove."}},"description":"Details of the subscription item to remove.","x-stripeMostCommon":["price"]},"set":{"title":"set_item_specs","required":["price"],"type":"object","properties":{"discounts":{"type":"array","description":"If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.","items":{"title":"schedule_amendments_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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"quantity":{"type":"integer","description":"If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`."},"tax_rates":{"type":"array","description":"If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.","items":{"maxLength":5000,"type":"string"}},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"description":"Details of the subscription item to replace the existing items with. If an item with the `set[price]` already exists, the `items` array is not cleared. Instead, all of the other `set` properties that are passed in this request will replace the existing values for the configuration item.","x-stripeMostCommon":["discounts","metadata","price","quantity","tax_rates","trial","trial_offer"]},"type":{"type":"string","description":"Determines the type of item action.","enum":["add","remove","set"]}},"x-stripeMostCommon":["add","remove","set","type"]}},"metadata_actions":{"type":"array","description":"Instructions for how to modify phase metadata","items":{"title":"specs","required":["type"],"type":"object","properties":{"add":{"type":"object","additionalProperties":{"type":"string"},"description":"Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata."},"remove":{"type":"array","description":"Keys to remove from schedule phase metadata.","items":{"maxLength":5000,"type":"string"}},"set":{"description":"Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"type":{"type":"string","description":"Select one of three ways to update phase-level `metadata` on subscription schedules.","enum":["add","remove","set"]}},"x-stripeMostCommon":["add","remove","set","type"]}},"proration_behavior":{"type":"string","description":"Changes to how Stripe handles prorations during the amendment time span. Affects if and how prorations are created when a future phase starts. In cases where the amendment changes the currently active phase, it is used to determine whether or how to prorate now, at the time of the request. Also supported as a point-in-time operation when `amendment_end` is `null`.","enum":["always_invoice","create_prorations","none"]},"set_pause_collection":{"title":"specs","required":["type"],"type":"object","properties":{"set":{"title":"pause_collection_params","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"void"}]}}},"description":"Details of the pause_collection behavior to apply to the amendment.","x-stripeMostCommon":["behavior"]},"type":{"type":"string","description":"Determines the type of the pause_collection amendment.","enum":["remove","set"]}},"description":"Defines how to pause collection for the underlying subscription throughout the duration of the amendment.","x-stripeMostCommon":["set","type"]},"set_schedule_end":{"type":"string","description":"Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.","enum":["amendment_end","amendment_start"]},"trial_settings":{"title":"trial_settings_specs","type":"object","properties":{"end_behavior":{"title":"end_behavior_specs","type":"object","properties":{"prorate_up_front":{"type":"string","description":"Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.","enum":["defer","include"]}},"description":"Defines how the subscription should behave when a trial ends.","x-stripeMostCommon":["prorate_up_front"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"x-stripeMostCommon":["amendment_end","amendment_start","billing_cycle_anchor","billing_schedules_actions","discount_actions","effective_at","item_actions","metadata_actions","proration_behavior","set_pause_collection","set_schedule_end","trial_settings"]}},"billing_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Amounts are net of discounts, and discount amounts are zero.","value":"included"},{"description":"Amounts are gross of discounts, and discount amounts are accurate.","value":"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":{"discountable":{"type":"boolean","description":"Controls whether discounts apply to this invoice item. Defaults to true if no value is provided."},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":[""]}]},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"Options that configure the trial on the subscription item.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"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."},"pause_collection":{"title":"pause_collection_params","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"void"}]}}},"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).","x-stripeMostCommon":["behavior"]},"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. Prefer to specify `now` over an explicit timestamp when appropriate to avoid unexpected behavior due to request delays or clock skew resulting in the phase being slightly backdated or postdated.","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_continuation":{"type":"string","description":"Specify trial behavior when crossing phase boundaries","enum":["continue","none"]},"trial_end":{"description":"Sets the phase to trialing from the start date to this date. Must be within the phase. When previewing an update, if combined with `trial=true`, it must match the phase end date.","anyOf":[{"type":"integer","format":"unix-time"},{"maxLength":5000,"type":"string","enum":["now"]}]},"trial_settings":{"title":"trial_settings_specs","type":"object","properties":{"end_behavior":{"title":"end_behavior_specs","type":"object","properties":{"prorate_up_front":{"type":"string","description":"Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.","enum":["defer","include"]}},"description":"Defines how the subscription should behave when a trial ends.","x-stripeMostCommon":["prorate_up_front"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"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"]}},"prebilling":{"description":"Provide any time periods to bill in advance.","anyOf":[{"type":"array","items":{"title":"prebilling_params","type":"object","properties":{"bill_until":{"title":"specs","required":["type"],"type":"object","properties":{"amendment_end":{"title":"amendment_end_specs","required":["index"],"type":"object","properties":{"index":{"type":"integer","description":"The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments."}},"description":"End the prebilled period when a specified amendment ends.","x-stripeMostCommon":["index"]},"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for prebilling, starting from `bill_from`.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"End the prebilled period at a precise integer timestamp, starting from the Unix epoch.","format":"unix-time"},"type":{"type":"string","description":"Select one of several ways to pass the `bill_until` value.","enum":["amendment_end","duration","schedule_end","timestamp"]}},"description":"The end of the prebilled time period.","x-stripeMostCommon":["amendment_end","duration","timestamp","type"]},"iterations":{"type":"integer","description":"This is used to determine the number of billing cycles to prebill."}},"x-stripeMostCommon":["bill_until","iterations"]}},{"type":"string","enum":[""]}]},"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":{"title":"billing_cycle_anchor_param","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A timestamp to use as the subscription's billing cycle anchor. Only valid when `type` is `timestamp`.","format":"unix-time"},"type":{"type":"string","description":"Determines how the subscription's billing cycle anchor behaves for the invoice preview.","enum":["now","timestamp","unchanged"],"x-stripeEnum":{"kind":"open","values":[{"description":"Set the subscription's billing cycle anchor to the current time (in UTC) and start a new billing period.","value":"now"},{"description":"Set the subscription's billing cycle anchor to the time specified in `timestamp`.","value":"timestamp"},{"description":"Keep the subscription's existing billing cycle anchor unchanged.","value":"unchanged"}]}}},"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`.","x-stripeMostCommon":["timestamp","type"]},"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Amounts are net of discounts, and discount amounts are zero.","value":"included"},{"description":"Amounts are gross of discounts, and discount amounts are accurate.","value":"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_schedules":{"description":"Sets the billing schedules for the subscription.","anyOf":[{"type":"array","items":{"title":"billing_schedules_update_params","type":"object","properties":{"applies_to":{"type":"array","description":"Configure billing schedule differently for individual subscription items.","items":{"title":"billing_schedules_applies_to","required":["type"],"type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"type":{"type":"string","description":"Controls which subscription items the billing schedule applies to.","enum":["price"]}},"x-stripeMostCommon":["price","type"]}},"bill_until":{"title":"billing_schedules_bill_until","required":["type"],"type":"object","properties":{"duration":{"title":"billing_schedules_bill_until_duration","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing duration. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The multiplier applied to the interval."}},"description":"Specifies the billing period.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"The end date of the billing schedule.","format":"unix-time"},"type":{"type":"string","description":"Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.","enum":["duration","timestamp"]}},"description":"The end date for the billing schedule. You must not set this earlier than current period end for every applicable subscription item.","x-stripeMostCommon":["duration","timestamp","type"]},"key":{"maxLength":200,"type":"string","description":"Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated."}},"x-stripeMostCommon":["applies_to","bill_until","key"]}},{"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_billed_until","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."},"current_trial":{"title":"current_trial_param","required":["trial_offer"],"type":"object","properties":{"trial_end":{"type":"integer","description":"Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.","format":"unix-time"},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the subscription item."}},"description":"The trial offer to apply to this subscription item.","x-stripeMostCommon":["trial_end","trial_offer"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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. If you omit `id`, the API adds a new subscription item rather than updating the existing one. See [Changing a subscription's price](https://docs.stripe.com/billing/subscriptions/change-price#changing)."},"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. You can use either `price` or `price_data`, but not both, to set or change this item's price. If you're updating an existing item without changing its price, omit both. 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. You can use either `price` or `price_data`, but not both, to set or change this item's price. If you're updating an existing item without changing its price, omit both.","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","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":[""]}]},"pause":{"title":"subscription_details_pause_params","type":"object","properties":{"bill_for":{"title":"bill_for_param","type":"object","properties":{"outstanding_usage_through":{"title":"outstanding_usage_through_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"When to bill metered usage in the current period.","enum":["none","now"],"x-stripeEnum":{"kind":"open","values":[{"description":"Don't bill for metered usage in the current period.","value":"none"},{"description":"Bill for metered usage in the current period, from current period start to pause time (default).","value":"now"}]}}},"description":"Controls when to bill for metered usage in the current period. Defaults to `{ type: \"now\" }`.","x-stripeMostCommon":["type"]},"unused_time_from":{"title":"unused_time_from_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"When to credit for unused time.","enum":["item_current_period_start","none","now"],"x-stripeEnum":{"kind":"open","values":[{"description":"Credit unused time from each item's current period start to period end.","value":"item_current_period_start"},{"description":"Don't credit for unused time.","value":"none"},{"description":"Credit unused time from pause time to period end (default).","value":"now"}]}}},"description":"Controls when to credit for unused time on licensed items. Defaults to `{ type: \"now\" }`.","x-stripeMostCommon":["type"]}},"description":"Controls what to bill for when pausing the subscription.","x-stripeMostCommon":["outstanding_usage_through","unused_time_from"]},"invoicing_behavior":{"type":"string","description":"Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.","enum":["invoice","pending_invoice_item"],"x-stripeEnum":{"kind":"open","values":[{"description":"Invoices immediately for debits and credits in the current period. If pausing doesn't create any invoice items, Stripe doesn't generate an invoice.","value":"invoice"},{"description":"Creates pending invoice items for debits and credits in the current period.","value":"pending_invoice_item"}]}},"type":{"type":"string","description":"The type of pause to apply. Defaults to `subscription`.","enum":["subscription"],"x-stripeEnum":{"kind":"open","values":[{"description":"Pauses collection, billing, and servicing.","value":"subscription"}]}}},"description":"Previews the invoice that would be generated when pausing the subscription. Passing an empty hash won't preview pausing and instead returns the next invoice.\n\nTo receive a preview invoice, set `invoicing_behavior` to `invoice`. A preview isn't available if the `bill_for` options produce no billable amounts.\n\n`pending_invoice_item` never has a preview available because pausing wouldn't generate an invoice, and paused subscriptions don't generate invoices either.","x-stripeMostCommon":["bill_for","invoicing_behavior","type"]},"prebilling":{"title":"prebilling_preview_params","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer","description":"This is used to determine the number of billing cycles to prebill."}},"description":"The pre-billing to apply to the subscription as a preview.","x-stripeMostCommon":["iterations"]},"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","metadata","pause","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"}}}}},"x-stableId":"create_preview_invoice"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"search_invoices"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_invoice"},"post":{"summary":"Update an invoice","description":"

Draft invoices are fully editable. Once an invoice is finalized,\nyou can no longer change most of its details, including monetary values and collection_method. For most invoices,\nthis also includes description.

\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"},"x-stripeLessCommon":true}],"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":[""]}]},"amounts_due":{"description":"List of expected payments and corresponding due dates. Valid only for invoices where `collection_method=send_invoice`.","anyOf":[{"type":"array","items":{"title":"payment_plan_amount_param","required":["amount","description"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount in cents (or local equivalent)."},"days_until_due":{"type":"integer","description":"Number of days from when invoice is finalized until the payment is due."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"due_date":{"type":"integer","description":"Date on which a payment plan’s payment is due.","format":"unix-time"}},"x-stripeMostCommon":["amount","days_until_due","description","due_date"]}},{"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","withhold_tax"]},"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_margins":{"description":"The ids of the margins to apply to the invoice. Can be overridden by line item `margins`.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":[""]}]},"billie":{"description":"If paying by `billie`, this sub-hash contains details about the Billie payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"company_details":{"description":"Registration details about the buyer's organization.","anyOf":[{"title":"company_details_param","type":"object","properties":{"registered_address":{"description":"The address the company or entity is registered with.","anyOf":[{"title":"registered_address_param","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."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (for example, street, PO Box, or company name)."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (for example, 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."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name."},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type."},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["","ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"]},"vat":{"maxLength":5000,"type":"string","description":"VAT ID number."}},"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},{"type":"string","enum":[""]}]},"reference":{"maxLength":5000,"type":"string","description":"An identifier or reference that this payment corresponds to."}},"x-stripeMostCommon":["company_details","extra_merchant_data_blob","reference"]},{"type":"string","enum":[""]}]},"blik":{"description":"If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"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","mcc","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":[""]}]},"id_bank_transfer":{"description":"If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"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":[""]}]},"pix":{"description":"If paying by `pix`, this sub-hash contains details about the Pix payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_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."}},"x-stripeMostCommon":["amount_includes_iof","expires_after_seconds"]},{"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":[""]}]},"upi":{"description":"If paying by `upi`, this sub-hash contains details about the UPI payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"invoice_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"]}},"x-stripeMostCommon":["mandate_options"]},{"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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"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","inferred_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","bacs_debit","bancontact","billie","bizum","blik","card","check_scan","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account","wechat_pay"]},"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","alipay","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","id_bank_transfer","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","mb_way","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_balance","swish","twint","upi","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 invoices render in customer-facing interfaces such as the PDF or hosted invoice page.","x-stripeMostCommon":["amount_tax_display","currency_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":"create_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},"amounts_due":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"custom_fields":{"style":"deepObject","explode":true},"default_margins":{"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"}}}}},"x-stableId":"update_invoice"},"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"}}}}},"x-stableId":"delete_draft_invoice"}},"/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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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."},"margins":{"description":"The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.","anyOf":[{"type":"array","items":{"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":[""]}]},"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."},"tax_details":{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","x-stripeMostCommon":["performance_location","provider_options","tax_code"]},"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 20 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":200,"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","digital_excise_tax","gst","hst","igst","jct","lease_tax","mass_transit_parking_tax","parking_tax","pst","qst","retail_delivery_fee","rst","sales_tax","service_tax","utility_users_tax","vat"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Amusement Tax","value":"amusement_tax"},{"description":"Communications Tax","value":"communications_tax"},{"description":"Digital Excise Tax","value":"digital_excise_tax"},{"description":"Goods and Services Tax","value":"gst"},{"description":"Harmonized Sales Tax","value":"hst"},{"description":"Integrated Goods and Services Tax","value":"igst"},{"description":"Japanese Consumption Tax","value":"jct"},{"description":"Chicago Lease Tax","value":"lease_tax"},{"description":"Mass Transit Parking Tax","value":"mass_transit_parking_tax"},{"description":"Parking Tax","value":"parking_tax"},{"description":"Provincial Sales Tax","value":"pst"},{"description":"Quebec Sales Tax","value":"qst"},{"description":"Retail Delivery Fee","value":"retail_delivery_fee"},{"description":"Retail Sales Tax","value":"rst"},{"description":"Sales Tax","value":"sales_tax"},{"description":"Service Tax","value":"service_tax"},{"description":"Utility Users Tax","value":"utility_users_tax"},{"description":"Value-Added Tax","value":"vat"}]}}},"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,"x-stripeEnum":{"kind":"open","values":[{"description":"No tax is applied as the customer is exempt from tax.","value":"customer_exempt"},{"description":"No tax is collected either because you are not registered to collect tax in this jurisdiction, or because the non-taxable product tax code (`txcd_00000000`) was used.","value":"not_collecting"},{"description":"No tax is imposed on this transaction.","value":"not_subject_to_tax"},{"description":"No tax applied. Stripe doesn’t support this jurisdiction, territory, or product.","value":"not_supported"},{"description":"A portion of the price is exempt from tax.","value":"portion_product_exempt"},{"description":"A portion of the price is taxed at a reduced rate.","value":"portion_reduced_rated"},{"description":"A portion of the price is taxed at the standard rate.","value":"portion_standard_rated"},{"description":"The product or service is nontaxable or exempt from tax.","value":"product_exempt"},{"description":"The product or service is not taxed due to a sales tax holiday.","value":"product_exempt_holiday"},{"description":"The shipping cost tax rate is calculated as a weighted average of the other line items' rates, weighted by their amounts.","value":"proportionally_rated"},{"description":"Taxed at a reduced rate.","value":"reduced_rated"},{"description":"No tax is applied as it is the responsibility of the buyer to account for tax in this case.","value":"reverse_charge"},{"description":"Taxed at the standard rate.","value":"standard_rated"},{"description":"A reduced amount of the price is subject to tax.","value":"taxable_basis_reduced"},{"description":"The transaction is taxed at a special rate of 0% or the transaction is exempt (but these exempt transactions still let you deduct the \"input VAT\" paid on your business purchases).","value":"zero_rated"}]}},"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"}}}}},"x-stableId":"add_invoice_lines"}},"/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":{"amount_requested":{"type":"integer","description":"The portion of the `amount` on the PaymentIntent or out of band payment to apply to this invoice. It defaults to the entire amount."},"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."},"payment_record_data":{"title":"out_of_band_payment","required":["amount","currency","money_movement_type"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount that was paid out of band."},"currency":{"type":"string","description":"The currency that was paid out of band.","format":"currency"},"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":[""]}]},"money_movement_type":{"maxLength":5000,"type":"string","description":"The type of money movement for this out of band payment record."},"paid_at":{"type":"integer","description":"The timestamp when this out of band payment was paid.","format":"unix-time"},"payment_reference":{"maxLength":5000,"type":"string","description":"The reference for this out of band payment record."}},"description":"The PaymentRecord data for attaching an out of band payment to the invoice.","x-stripeMostCommon":["amount","currency","money_movement_type","payment_method","payment_reference"]}},"additionalProperties":false,"x-stripeMostCommon":["amount_requested","payment_intent","payment_record","payment_record_data"]},"encoding":{"expand":{"style":"deepObject","explode":true},"payment_record_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"}}}}},"x-stableId":"attach_invoice_payment"}},"/v1/invoices/{invoice}/detach_payment":{"post":{"summary":"Detach a payment from an Invoice","description":"

Detaches a payment from the invoice, removing it from the list of payments

","operationId":"PostInvoicesInvoiceDetachPayment","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 detach from the invoice."}},"additionalProperties":false,"x-stripeMostCommon":["payment_intent"]},"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"}}}}},"x-stableId":"detach_invoice_payment"}},"/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"}}}}},"x-stableId":"finalize_invoice"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_invoice_line_items"}},"/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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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"}},"margins":{"description":"The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.","anyOf":[{"type":"array","items":{"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`. 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."},"tax_details":{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","x-stripeMostCommon":["performance_location","provider_options","tax_code"]},"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 20 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":200,"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","digital_excise_tax","gst","hst","igst","jct","lease_tax","mass_transit_parking_tax","parking_tax","pst","qst","retail_delivery_fee","rst","sales_tax","service_tax","utility_users_tax","vat"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Amusement Tax","value":"amusement_tax"},{"description":"Communications Tax","value":"communications_tax"},{"description":"Digital Excise Tax","value":"digital_excise_tax"},{"description":"Goods and Services Tax","value":"gst"},{"description":"Harmonized Sales Tax","value":"hst"},{"description":"Integrated Goods and Services Tax","value":"igst"},{"description":"Japanese Consumption Tax","value":"jct"},{"description":"Chicago Lease Tax","value":"lease_tax"},{"description":"Mass Transit Parking Tax","value":"mass_transit_parking_tax"},{"description":"Parking Tax","value":"parking_tax"},{"description":"Provincial Sales Tax","value":"pst"},{"description":"Quebec Sales Tax","value":"qst"},{"description":"Retail Delivery Fee","value":"retail_delivery_fee"},{"description":"Retail Sales Tax","value":"rst"},{"description":"Sales Tax","value":"sales_tax"},{"description":"Service Tax","value":"service_tax"},{"description":"Utility Users Tax","value":"utility_users_tax"},{"description":"Value-Added Tax","value":"vat"}]}}},"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,"x-stripeEnum":{"kind":"open","values":[{"description":"No tax is applied as the customer is exempt from tax.","value":"customer_exempt"},{"description":"No tax is collected either because you are not registered to collect tax in this jurisdiction, or because the non-taxable product tax code (`txcd_00000000`) was used.","value":"not_collecting"},{"description":"No tax is imposed on this transaction.","value":"not_subject_to_tax"},{"description":"No tax applied. Stripe doesn’t support this jurisdiction, territory, or product.","value":"not_supported"},{"description":"A portion of the price is exempt from tax.","value":"portion_product_exempt"},{"description":"A portion of the price is taxed at a reduced rate.","value":"portion_reduced_rated"},{"description":"A portion of the price is taxed at the standard rate.","value":"portion_standard_rated"},{"description":"The product or service is nontaxable or exempt from tax.","value":"product_exempt"},{"description":"The product or service is not taxed due to a sales tax holiday.","value":"product_exempt_holiday"},{"description":"The shipping cost tax rate is calculated as a weighted average of the other line items' rates, weighted by their amounts.","value":"proportionally_rated"},{"description":"Taxed at a reduced rate.","value":"reduced_rated"},{"description":"No tax is applied as it is the responsibility of the buyer to account for tax in this case.","value":"reverse_charge"},{"description":"Taxed at the standard rate.","value":"standard_rated"},{"description":"A reduced amount of the price is subject to tax.","value":"taxable_basis_reduced"},{"description":"The transaction is taxed at a special rate of 0% or the transaction is exempt (but these exempt transactions still let you deduct the \"input VAT\" paid on your business purchases).","value":"zero_rated"}]}},"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},"margins":{"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"}}}}},"x-stableId":"update_invoice_line"}},"/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"}}}}},"x-stableId":"mark_invoice_uncollectible"}},"/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"}}}}},"x-stableId":"pay_invoice"}},"/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"}}}}},"x-stableId":"remove_invoice_lines"}},"/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"}}}}},"x-stableId":"send_invoice"}},"/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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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."},"margins":{"description":"The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.","anyOf":[{"type":"array","items":{"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`. 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."},"tax_details":{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","x-stripeMostCommon":["performance_location","provider_options","tax_code"]},"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 20 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":200,"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","digital_excise_tax","gst","hst","igst","jct","lease_tax","mass_transit_parking_tax","parking_tax","pst","qst","retail_delivery_fee","rst","sales_tax","service_tax","utility_users_tax","vat"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Amusement Tax","value":"amusement_tax"},{"description":"Communications Tax","value":"communications_tax"},{"description":"Digital Excise Tax","value":"digital_excise_tax"},{"description":"Goods and Services Tax","value":"gst"},{"description":"Harmonized Sales Tax","value":"hst"},{"description":"Integrated Goods and Services Tax","value":"igst"},{"description":"Japanese Consumption Tax","value":"jct"},{"description":"Chicago Lease Tax","value":"lease_tax"},{"description":"Mass Transit Parking Tax","value":"mass_transit_parking_tax"},{"description":"Parking Tax","value":"parking_tax"},{"description":"Provincial Sales Tax","value":"pst"},{"description":"Quebec Sales Tax","value":"qst"},{"description":"Retail Delivery Fee","value":"retail_delivery_fee"},{"description":"Retail Sales Tax","value":"rst"},{"description":"Sales Tax","value":"sales_tax"},{"description":"Service Tax","value":"service_tax"},{"description":"Utility Users Tax","value":"utility_users_tax"},{"description":"Value-Added Tax","value":"vat"}]}}},"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,"x-stripeEnum":{"kind":"open","values":[{"description":"No tax is applied as the customer is exempt from tax.","value":"customer_exempt"},{"description":"No tax is collected either because you are not registered to collect tax in this jurisdiction, or because the non-taxable product tax code (`txcd_00000000`) was used.","value":"not_collecting"},{"description":"No tax is imposed on this transaction.","value":"not_subject_to_tax"},{"description":"No tax applied. Stripe doesn’t support this jurisdiction, territory, or product.","value":"not_supported"},{"description":"A portion of the price is exempt from tax.","value":"portion_product_exempt"},{"description":"A portion of the price is taxed at a reduced rate.","value":"portion_reduced_rated"},{"description":"A portion of the price is taxed at the standard rate.","value":"portion_standard_rated"},{"description":"The product or service is nontaxable or exempt from tax.","value":"product_exempt"},{"description":"The product or service is not taxed due to a sales tax holiday.","value":"product_exempt_holiday"},{"description":"The shipping cost tax rate is calculated as a weighted average of the other line items' rates, weighted by their amounts.","value":"proportionally_rated"},{"description":"Taxed at a reduced rate.","value":"reduced_rated"},{"description":"No tax is applied as it is the responsibility of the buyer to account for tax in this case.","value":"reverse_charge"},{"description":"Taxed at the standard rate.","value":"standard_rated"},{"description":"A reduced amount of the price is subject to tax.","value":"taxable_basis_reduced"},{"description":"The transaction is taxed at a special rate of 0% or the transaction is exempt (but these exempt transactions still let you deduct the \"input VAT\" paid on your business purchases).","value":"zero_rated"}]}},"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"}}}}},"x-stableId":"update_invoice_lines"}},"/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"}}}}},"x-stableId":"void_invoice"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_issuing_authorizations"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_issuing_authorization"},"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"}}}}},"x-stableId":"update_issuing_authorization"}},"/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,"x-stableId":"approve_issuing_authorization"}},"/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,"x-stableId":"decline_issuing_authorization"}},"/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"}]},"x-stripeLessCommon":true},{"name":"email","in":"query","description":"Only return cardholders that have the given email address.","required":false,"style":"form","explode":true,"schema":{"type":"string"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"phone_number","in":"query","description":"Only return cardholders that have the given phone number.","required":false,"style":"form","explode":true,"schema":{"type":"string"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"]},"x-stripeLessCommon":true},{"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},"x-stripeLessCommon":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"}}}}},"x-stableId":"list_issuing_cardholders"},"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://docs.stripe.com/issuing/compliance-us#issuing-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://docs.stripe.com/api#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://docs.stripe.com/api#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.\n While phone number is optional if the cardholder will not be creating EU cards, note that this cardholder will not be eligible for 3DS without a phone number. 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 `de`, `en`, `es`, `fr`, or `it`.\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_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control.","items":{"maxLength":5000,"type":"string","enum":["not_present","present"]}},"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_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control.","items":{"maxLength":5000,"type":"string","enum":["not_present","present"]}},"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_card_presences","allowed_categories","allowed_merchant_countries","allowed_merchant_network_ids","blocked_card_presences","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"}}}}},"x-stableId":"create_issuing_cardholder"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/issuing.cardholder"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_issuing_cardholder"},"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://docs.stripe.com/issuing/compliance-us#issuing-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://docs.stripe.com/api#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://docs.stripe.com/api#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."},"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 `de`, `en`, `es`, `fr`, or `it`.\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_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control.","items":{"maxLength":5000,"type":"string","enum":["not_present","present"]}},"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_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control.","items":{"maxLength":5000,"type":"string","enum":["not_present","present"]}},"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_card_presences","allowed_categories","allowed_merchant_countries","allowed_merchant_network_ids","blocked_card_presences","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"}}}}},"x-stableId":"update_issuing_cardholder"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"exp_month","in":"query","description":"Only return cards that have the given expiration month.","required":false,"style":"form","explode":true,"schema":{"type":"integer"},"x-stripeLessCommon":true},{"name":"exp_year","in":"query","description":"Only return cards that have the given expiration year.","required":false,"style":"form","explode":true,"schema":{"type":"integer"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"personalization_design","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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},"x-stripeLessCommon":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"}}}}},"x-stableId":"list_issuing_cards"},"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,"x-stripeEnum":{"kind":"closed","values":[{"description":"The physical card has been damaged and cannot be used at terminals. This reason is only valid for cards of type `physical`.","value":"damaged"},{"description":"The expiration date has passed or is imminent.","value":"expired"},{"description":"The card was lost. This status is only valid if the card it replaces is marked as lost.","value":"lost"},{"description":"The card was stolen. This status is only valid if the card it replaces is marked as stolen.","value":"stolen"}]}},"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"]},"business_name":{"maxLength":50,"type":"string","description":"The name of the business at the shipping address, used on the shipping label to ensure delivery when the card is shipped to a cardholder's workplace. Allowed characters: `A-Z`, `a-z`, `0-9`, ` `, `.`, `-`. All other characters are stripped or ASCII-normalized when printed."},"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","business_name","customs","name","phone_number","require_signature","service","speed","type"]},"spending_controls":{"title":"authorization_controls_param","type":"object","properties":{"allowed_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control.","items":{"maxLength":5000,"type":"string","enum":["not_present","present"]}},"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_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control.","items":{"maxLength":5000,"type":"string","enum":["not_present","present"]}},"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_card_presences","allowed_categories","allowed_merchant_countries","allowed_merchant_currencies","allowed_merchant_network_ids","blocked_card_presences","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"}}}}},"x-stableId":"create_issuing_card"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/issuing.card"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_issuing_card"},"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-stripeEnum":{"kind":"closed","values":[{"description":"The card was lost.","value":"lost"},{"description":"The card was stolen.","value":"stolen"}]}},"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"]},"business_name":{"maxLength":50,"type":"string","description":"The name of the business at the shipping address, used on the shipping label to ensure delivery when the card is shipped to a cardholder's workplace. Allowed characters: `A-Z`, `a-z`, `0-9`, ` `, `.`, `-`. All other characters are stripped or ASCII-normalized when printed."},"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","business_name","customs","name","phone_number","require_signature","service","speed","type"]},"spending_controls":{"title":"authorization_controls_param","type":"object","properties":{"allowed_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control.","items":{"maxLength":5000,"type":"string","enum":["not_present","present"]}},"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_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control.","items":{"maxLength":5000,"type":"string","enum":["not_present","present"]}},"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_card_presences","allowed_categories","allowed_merchant_countries","allowed_merchant_currencies","allowed_merchant_network_ids","blocked_card_presences","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"}}}}},"x-stableId":"update_issuing_card"}},"/v1/issuing/credit_underwriting_records":{"get":{"summary":"List all records","description":"

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

","operationId":"GetIssuingCreditUnderwritingRecords","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"IssuingComplianceCreditUnderwritingRecordList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.credit_underwriting_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,"pattern":"^/v1/issuing/credit_underwriting_records","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"}}}}},"x-stableId":"list_issuing_credit_underwriting_records"}},"/v1/issuing/credit_underwriting_records/create_from_application":{"post":{"summary":"Create from an application","description":"

Creates a CreditUnderwritingRecord object with information about a credit application submission.

","operationId":"PostIssuingCreditUnderwritingRecordsCreateFromApplication","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["application","credit_user"],"type":"object","properties":{"application":{"title":"application_params","required":["purpose","submitted_at"],"type":"object","properties":{"application_method":{"type":"string","description":"The channel through which the applicant has submitted their application. Defaults to `online`.","enum":["in_person","mail","online","phone"]},"purpose":{"type":"string","description":"Scope of demand made by the applicant.","enum":["credit_limit_increase","credit_line_opening"]},"submitted_at":{"type":"integer","description":"Date when the applicant submitted their application.","format":"unix-time"}},"description":"Details about the application submission.","x-stripeMostCommon":["purpose","submitted_at"]},"credit_user":{"title":"credit_user_params","required":["email","name"],"type":"object","properties":{"email":{"type":"string","description":"Email of the applicant or accountholder."},"name":{"maxLength":5000,"type":"string","description":"Full name of the company or person."}},"description":"Information about the company or person applying or holding the account.","x-stripeMostCommon":["email","name"]},"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":["application","credit_user","metadata"]},"encoding":{"application":{"style":"deepObject","explode":true},"credit_user":{"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/issuing.credit_underwriting_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"create_from_application_issuing_credit_underwriting_record"}},"/v1/issuing/credit_underwriting_records/create_from_proactive_review":{"post":{"summary":"Create from a proactive review","description":"

Creates a CreditUnderwritingRecord object from an underwriting decision coming from a proactive review of an existing accountholder.

","operationId":"PostIssuingCreditUnderwritingRecordsCreateFromProactiveReview","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["credit_user","decided_at","decision"],"type":"object","properties":{"credit_user":{"title":"credit_user_params","required":["email","name"],"type":"object","properties":{"email":{"type":"string","description":"Email of the applicant or accountholder."},"name":{"maxLength":5000,"type":"string","description":"Full name of the company or person."}},"description":"Information about the company or person applying or holding the account.","x-stripeMostCommon":["email","name"]},"decided_at":{"type":"integer","description":"Date when a decision was made.","format":"unix-time"},"decision":{"title":"proactive_decision_params","required":["type"],"type":"object","properties":{"credit_limit_approved":{"title":"credit_limit_approved_params","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"currency":{"type":"string","description":"The currency of the credit approved, will default to the Account's Issuing currency.","format":"currency"}},"description":"Details about the credit limit approved. An approved credit limit is required before you can set a `credit_limit_amount` in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy/)","x-stripeMostCommon":["amount","consumer_revolving_credit","currency"]},"credit_limit_decreased":{"title":"credit_limit_decreased_params","required":["amount","reasons"],"type":"object","properties":{"amount":{"type":"integer","description":"The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"currency":{"type":"string","description":"The currency of the credit approved, will default to the Account's Issuing currency.","format":"currency"},"reason_other_explanation":{"maxLength":5000,"type":"string","description":"Details about the `reasons.other` when present."},"reasons":{"type":"array","description":"List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.","items":{"type":"string","enum":["applicant_is_not_beneficial_owner","applicant_too_young","application_is_not_beneficial_owner","bankruptcy","business_size_too_small","change_in_financial_state","change_in_utilization_of_credit_line","current_account_tier_ineligible","customer_already_exists","customer_requested_account_closure","debt_to_cash_balance_ratio_too_high","debt_to_equity_ratio_too_high","decrease_in_income_to_expense_ratio","decrease_in_social_media_performance","delinquent_credit_obligations","dispute_rate_too_high","duration_of_residence","exceeds_acceptable_platform_exposure","excessive_income_or_revenue_obligations","expenses_to_cash_balance_ratio_too_high","foreclosure_or_repossession","frozen_file_at_credit_bureau","garnishment_or_attachment","government_loan_program_criteria","has_recent_credit_limit_increase","high_concentration_of_clients","high_risk_industry","incomplete_application","inconsistent_monthly_revenues","insufficient_account_history_with_platform","insufficient_bank_account_history","insufficient_cash_balance","insufficient_cash_flow","insufficient_collateral","insufficient_credit_experience","insufficient_credit_utilization","insufficient_deposits","insufficient_income","insufficient_margin_ratio","insufficient_operating_profit","insufficient_period_in_operation","insufficient_reserves","insufficient_revenue","insufficient_social_media_performance","insufficient_time_in_network","insufficient_trade_credit_insurance","insufficient_usage_as_qualified_expenses","invalid_business_license","lacking_cash_account","late_payment_history_reported_to_bureau","lien_collection_action_or_judgement","negative_public_information","no_credit_file","other","outside_supported_country","outside_supported_state","poor_payment_history_with_platform","prior_or_current_legal_action","prohibited_industry","rate_of_cash_balance_fluctuation_too_high","recent_inquiries_on_business_credit_report","removal_of_bank_account_connection","revenue_discrepancy","runway_too_short","suspected_fraud","too_many_non_sufficient_funds_or_overdrafts","unable_to_verify_address","unable_to_verify_identity","unable_to_verify_income_or_revenue","unprofitable","unsupportable_business_type"]}}},"description":"Details about the credit limit decreased.","x-stripeMostCommon":["amount","consumer_revolving_credit","currency","reason_other_explanation","reasons"]},"credit_line_closed":{"title":"credit_line_closed_params","required":["reasons"],"type":"object","properties":{"reason_other_explanation":{"maxLength":5000,"type":"string","description":"Details about the `reasons.other` when present."},"reasons":{"type":"array","description":"List of reasons why the credit line was closed, up to 4 reasons, in order of importance.","items":{"type":"string","enum":["applicant_is_not_beneficial_owner","applicant_too_young","application_is_not_beneficial_owner","bankruptcy","business_size_too_small","change_in_financial_state","change_in_utilization_of_credit_line","current_account_tier_ineligible","customer_already_exists","customer_requested_account_closure","debt_to_cash_balance_ratio_too_high","debt_to_equity_ratio_too_high","decrease_in_income_to_expense_ratio","decrease_in_social_media_performance","delinquent_credit_obligations","dispute_rate_too_high","duration_of_residence","exceeds_acceptable_platform_exposure","excessive_income_or_revenue_obligations","expenses_to_cash_balance_ratio_too_high","foreclosure_or_repossession","frozen_file_at_credit_bureau","garnishment_or_attachment","government_loan_program_criteria","has_recent_credit_limit_increase","high_concentration_of_clients","high_risk_industry","incomplete_application","inconsistent_monthly_revenues","insufficient_account_history_with_platform","insufficient_bank_account_history","insufficient_cash_balance","insufficient_cash_flow","insufficient_collateral","insufficient_credit_experience","insufficient_credit_utilization","insufficient_deposits","insufficient_income","insufficient_margin_ratio","insufficient_operating_profit","insufficient_period_in_operation","insufficient_reserves","insufficient_revenue","insufficient_social_media_performance","insufficient_time_in_network","insufficient_trade_credit_insurance","insufficient_usage_as_qualified_expenses","invalid_business_license","lacking_cash_account","late_payment_history_reported_to_bureau","lien_collection_action_or_judgement","negative_public_information","no_credit_file","other","outside_supported_country","outside_supported_state","poor_payment_history_with_platform","prior_or_current_legal_action","prohibited_industry","rate_of_cash_balance_fluctuation_too_high","recent_inquiries_on_business_credit_report","removal_of_bank_account_connection","revenue_discrepancy","runway_too_short","suspected_fraud","too_many_non_sufficient_funds_or_overdrafts","unable_to_verify_address","unable_to_verify_identity","unable_to_verify_income_or_revenue","unprofitable","unsupportable_business_type"],"x-stripeBypassValidation":true}}},"description":"Details about the credit line closed.","x-stripeMostCommon":["reason_other_explanation","reasons"]},"type":{"type":"string","description":"Outcome of the decision.","enum":["credit_limit_approved","credit_limit_decreased","credit_line_closed","no_changes"],"x-stripeBypassValidation":true}},"description":"Details about the decision.","x-stripeMostCommon":["annual_percentage_rate_changed","credit_limit_approved","credit_limit_decreased","credit_line_closed","credit_line_suspended","suspension_reasons_lifted","type"]},"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`."},"regulatory_reporting_file":{"maxLength":5000,"type":"string","description":"File containing regulatory reporting data for the decision. Required if you are subject to this [reporting requirement](https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions)."},"underwriting_exception":{"title":"underwriting_exception_params","required":["explanation","original_decision_type"],"type":"object","properties":{"explanation":{"maxLength":5000,"type":"string","description":"Written explanation for the exception."},"original_decision_type":{"type":"string","description":"The decision before the exception was applied.","enum":["additional_information_requested","application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed","no_changes","withdrawn_by_applicant"],"x-stripeBypassValidation":true}},"description":"If an exception to the usual underwriting criteria was made for this decision, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.","x-stripeMostCommon":["explanation","original_decision_type"]}},"additionalProperties":false,"x-stripeMostCommon":["credit_user","decided_at","decision","metadata"]},"encoding":{"credit_user":{"style":"deepObject","explode":true},"decision":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"underwriting_exception":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.credit_underwriting_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"create_from_proactive_review_issuing_credit_underwriting_record"}},"/v1/issuing/credit_underwriting_records/{credit_underwriting_record}":{"get":{"summary":"Retrieve a record","description":"

Retrieves a CreditUnderwritingRecord object.

","operationId":"GetIssuingCreditUnderwritingRecordsCreditUnderwritingRecord","parameters":[{"name":"credit_underwriting_record","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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/issuing.credit_underwriting_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_issuing_credit_underwriting_record"}},"/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/correct":{"post":{"summary":"Correct an erroneous record","description":"

Update a CreditUnderwritingRecord object to correct mistakes.

","operationId":"PostIssuingCreditUnderwritingRecordsCreditUnderwritingRecordCorrect","parameters":[{"name":"credit_underwriting_record","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":{"title":"application_params","required":["purpose","submitted_at"],"type":"object","properties":{"application_method":{"type":"string","description":"The channel through which the applicant has submitted their application. Defaults to `online`.","enum":["in_person","mail","online","phone"]},"purpose":{"type":"string","description":"Scope of demand made by the applicant.","enum":["credit_limit_increase","credit_line_opening"]},"submitted_at":{"type":"integer","description":"Date when the applicant submitted their application.","format":"unix-time"}},"description":"Details about the application submission.","x-stripeMostCommon":["purpose","submitted_at"]},"credit_user":{"title":"credit_user_params","required":["email","name"],"type":"object","properties":{"email":{"type":"string","description":"Email of the applicant or accountholder."},"name":{"maxLength":5000,"type":"string","description":"Full name of the company or person."}},"description":"Information about the company or person applying or holding the account.","x-stripeMostCommon":["email","name"]},"decided_at":{"type":"integer","description":"Date when a decision was made.","format":"unix-time"},"decision":{"title":"correct_decision_params","required":["type"],"type":"object","properties":{"application_rejected":{"title":"application_rejected_params","required":["reasons"],"type":"object","properties":{"reason_other_explanation":{"maxLength":5000,"type":"string","description":"Details about the `reasons.other` when present."},"reasons":{"type":"array","description":"List of reasons why the application was rejected, up to 4 reasons, in order of importance.","items":{"type":"string","enum":["applicant_is_not_beneficial_owner","applicant_too_young","application_is_not_beneficial_owner","bankruptcy","business_size_too_small","current_account_tier_ineligible","customer_already_exists","customer_requested_account_closure","debt_to_cash_balance_ratio_too_high","debt_to_equity_ratio_too_high","delinquent_credit_obligations","dispute_rate_too_high","duration_of_residence","excessive_income_or_revenue_obligations","expenses_to_cash_balance_ratio_too_high","foreclosure_or_repossession","frozen_file_at_credit_bureau","garnishment_or_attachment","government_loan_program_criteria","high_concentration_of_clients","high_risk_industry","incomplete_application","inconsistent_monthly_revenues","insufficient_account_history_with_platform","insufficient_bank_account_history","insufficient_cash_balance","insufficient_cash_flow","insufficient_collateral","insufficient_credit_experience","insufficient_deposits","insufficient_income","insufficient_margin_ratio","insufficient_operating_profit","insufficient_period_in_operation","insufficient_reserves","insufficient_revenue","insufficient_social_media_performance","insufficient_time_in_network","insufficient_trade_credit_insurance","invalid_business_license","lacking_cash_account","late_payment_history_reported_to_bureau","lien_collection_action_or_judgement","negative_public_information","no_credit_file","other","outside_supported_country","outside_supported_state","poor_payment_history_with_platform","prior_or_current_legal_action","prohibited_industry","rate_of_cash_balance_fluctuation_too_high","recent_inquiries_on_business_credit_report","removal_of_bank_account_connection","revenue_discrepancy","runway_too_short","suspected_fraud","too_many_non_sufficient_funds_or_overdrafts","unable_to_verify_address","unable_to_verify_identity","unable_to_verify_income_or_revenue","unprofitable","unsupportable_business_type"],"x-stripeBypassValidation":true}}},"description":"Details about the application rejection.","x-stripeMostCommon":["reason_other_explanation","reasons"]},"credit_limit_approved":{"title":"credit_limit_approved_params","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"currency":{"type":"string","description":"The currency of the credit approved, will default to the Account's Issuing currency.","format":"currency"}},"description":"Details about the credit limit approved. An approved credit limit is required before you can set a `credit_limit_amount` in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy/)","x-stripeMostCommon":["amount","consumer_revolving_credit","currency"]},"credit_limit_decreased":{"title":"credit_limit_decreased_params","required":["amount","reasons"],"type":"object","properties":{"amount":{"type":"integer","description":"The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"currency":{"type":"string","description":"The currency of the credit approved, will default to the Account's Issuing currency.","format":"currency"},"reason_other_explanation":{"maxLength":5000,"type":"string","description":"Details about the `reasons.other` when present."},"reasons":{"type":"array","description":"List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.","items":{"type":"string","enum":["applicant_is_not_beneficial_owner","applicant_too_young","application_is_not_beneficial_owner","bankruptcy","business_size_too_small","change_in_financial_state","change_in_utilization_of_credit_line","current_account_tier_ineligible","customer_already_exists","customer_requested_account_closure","debt_to_cash_balance_ratio_too_high","debt_to_equity_ratio_too_high","decrease_in_income_to_expense_ratio","decrease_in_social_media_performance","delinquent_credit_obligations","dispute_rate_too_high","duration_of_residence","exceeds_acceptable_platform_exposure","excessive_income_or_revenue_obligations","expenses_to_cash_balance_ratio_too_high","foreclosure_or_repossession","frozen_file_at_credit_bureau","garnishment_or_attachment","government_loan_program_criteria","has_recent_credit_limit_increase","high_concentration_of_clients","high_risk_industry","incomplete_application","inconsistent_monthly_revenues","insufficient_account_history_with_platform","insufficient_bank_account_history","insufficient_cash_balance","insufficient_cash_flow","insufficient_collateral","insufficient_credit_experience","insufficient_credit_utilization","insufficient_deposits","insufficient_income","insufficient_margin_ratio","insufficient_operating_profit","insufficient_period_in_operation","insufficient_reserves","insufficient_revenue","insufficient_social_media_performance","insufficient_time_in_network","insufficient_trade_credit_insurance","insufficient_usage_as_qualified_expenses","invalid_business_license","lacking_cash_account","late_payment_history_reported_to_bureau","lien_collection_action_or_judgement","negative_public_information","no_credit_file","other","outside_supported_country","outside_supported_state","poor_payment_history_with_platform","prior_or_current_legal_action","prohibited_industry","rate_of_cash_balance_fluctuation_too_high","recent_inquiries_on_business_credit_report","removal_of_bank_account_connection","revenue_discrepancy","runway_too_short","suspected_fraud","too_many_non_sufficient_funds_or_overdrafts","unable_to_verify_address","unable_to_verify_identity","unable_to_verify_income_or_revenue","unprofitable","unsupportable_business_type"]}}},"description":"Details about the credit limit decreased.","x-stripeMostCommon":["amount","consumer_revolving_credit","currency","reason_other_explanation","reasons"]},"credit_line_closed":{"title":"credit_line_closed_params","required":["reasons"],"type":"object","properties":{"reason_other_explanation":{"maxLength":5000,"type":"string","description":"Details about the `reasons.other` when present."},"reasons":{"type":"array","description":"List of reasons why the credit line was closed, up to 4 reasons, in order of importance.","items":{"type":"string","enum":["applicant_is_not_beneficial_owner","applicant_too_young","application_is_not_beneficial_owner","bankruptcy","business_size_too_small","change_in_financial_state","change_in_utilization_of_credit_line","current_account_tier_ineligible","customer_already_exists","customer_requested_account_closure","debt_to_cash_balance_ratio_too_high","debt_to_equity_ratio_too_high","decrease_in_income_to_expense_ratio","decrease_in_social_media_performance","delinquent_credit_obligations","dispute_rate_too_high","duration_of_residence","exceeds_acceptable_platform_exposure","excessive_income_or_revenue_obligations","expenses_to_cash_balance_ratio_too_high","foreclosure_or_repossession","frozen_file_at_credit_bureau","garnishment_or_attachment","government_loan_program_criteria","has_recent_credit_limit_increase","high_concentration_of_clients","high_risk_industry","incomplete_application","inconsistent_monthly_revenues","insufficient_account_history_with_platform","insufficient_bank_account_history","insufficient_cash_balance","insufficient_cash_flow","insufficient_collateral","insufficient_credit_experience","insufficient_credit_utilization","insufficient_deposits","insufficient_income","insufficient_margin_ratio","insufficient_operating_profit","insufficient_period_in_operation","insufficient_reserves","insufficient_revenue","insufficient_social_media_performance","insufficient_time_in_network","insufficient_trade_credit_insurance","insufficient_usage_as_qualified_expenses","invalid_business_license","lacking_cash_account","late_payment_history_reported_to_bureau","lien_collection_action_or_judgement","negative_public_information","no_credit_file","other","outside_supported_country","outside_supported_state","poor_payment_history_with_platform","prior_or_current_legal_action","prohibited_industry","rate_of_cash_balance_fluctuation_too_high","recent_inquiries_on_business_credit_report","removal_of_bank_account_connection","revenue_discrepancy","runway_too_short","suspected_fraud","too_many_non_sufficient_funds_or_overdrafts","unable_to_verify_address","unable_to_verify_identity","unable_to_verify_income_or_revenue","unprofitable","unsupportable_business_type"],"x-stripeBypassValidation":true}}},"description":"Details about the credit line closed.","x-stripeMostCommon":["reason_other_explanation","reasons"]},"type":{"type":"string","description":"Outcome of the decision.","enum":["additional_information_requested","application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed","no_changes","withdrawn_by_applicant"],"x-stripeBypassValidation":true}},"description":"Details about the decision.","x-stripeMostCommon":["application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed","credit_line_suspended","suspension_reasons_lifted","type"]},"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`."},"regulatory_reporting_file":{"maxLength":5000,"type":"string","description":"File containing regulatory reporting data for the decision. Required if you are subject to this [reporting requirement](https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions). Optional if previously provided and no changes are needed."},"underwriting_exception":{"title":"underwriting_exception_params","required":["explanation","original_decision_type"],"type":"object","properties":{"explanation":{"maxLength":5000,"type":"string","description":"Written explanation for the exception."},"original_decision_type":{"type":"string","description":"The decision before the exception was applied.","enum":["additional_information_requested","application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed","no_changes","withdrawn_by_applicant"],"x-stripeBypassValidation":true}},"description":"If an exception to the usual underwriting criteria was made for this decision, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.","x-stripeMostCommon":["explanation","original_decision_type"]}},"additionalProperties":false,"x-stripeMostCommon":["application","credit_user","decided_at","decision","metadata"]},"encoding":{"application":{"style":"deepObject","explode":true},"credit_user":{"style":"deepObject","explode":true},"decision":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"underwriting_exception":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.credit_underwriting_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"correct_issuing_credit_underwriting_record"}},"/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/report_decision":{"post":{"summary":"Report a decision","description":"

Update a CreditUnderwritingRecord object from a decision made on a credit application.

","operationId":"PostIssuingCreditUnderwritingRecordsCreditUnderwritingRecordReportDecision","parameters":[{"name":"credit_underwriting_record","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["decided_at","decision"],"type":"object","properties":{"decided_at":{"type":"integer","description":"Date when a decision was made.","format":"unix-time"},"decision":{"title":"application_decision_params","required":["type"],"type":"object","properties":{"application_rejected":{"title":"application_rejected_params","required":["reasons"],"type":"object","properties":{"reason_other_explanation":{"maxLength":5000,"type":"string","description":"Details about the `reasons.other` when present."},"reasons":{"type":"array","description":"List of reasons why the application was rejected, up to 4 reasons, in order of importance.","items":{"type":"string","enum":["applicant_is_not_beneficial_owner","applicant_too_young","application_is_not_beneficial_owner","bankruptcy","business_size_too_small","current_account_tier_ineligible","customer_already_exists","customer_requested_account_closure","debt_to_cash_balance_ratio_too_high","debt_to_equity_ratio_too_high","delinquent_credit_obligations","dispute_rate_too_high","duration_of_residence","excessive_income_or_revenue_obligations","expenses_to_cash_balance_ratio_too_high","foreclosure_or_repossession","frozen_file_at_credit_bureau","garnishment_or_attachment","government_loan_program_criteria","high_concentration_of_clients","high_risk_industry","incomplete_application","inconsistent_monthly_revenues","insufficient_account_history_with_platform","insufficient_bank_account_history","insufficient_cash_balance","insufficient_cash_flow","insufficient_collateral","insufficient_credit_experience","insufficient_deposits","insufficient_income","insufficient_margin_ratio","insufficient_operating_profit","insufficient_period_in_operation","insufficient_reserves","insufficient_revenue","insufficient_social_media_performance","insufficient_time_in_network","insufficient_trade_credit_insurance","invalid_business_license","lacking_cash_account","late_payment_history_reported_to_bureau","lien_collection_action_or_judgement","negative_public_information","no_credit_file","other","outside_supported_country","outside_supported_state","poor_payment_history_with_platform","prior_or_current_legal_action","prohibited_industry","rate_of_cash_balance_fluctuation_too_high","recent_inquiries_on_business_credit_report","removal_of_bank_account_connection","revenue_discrepancy","runway_too_short","suspected_fraud","too_many_non_sufficient_funds_or_overdrafts","unable_to_verify_address","unable_to_verify_identity","unable_to_verify_income_or_revenue","unprofitable","unsupportable_business_type"],"x-stripeBypassValidation":true}}},"description":"Details about the application rejection.","x-stripeMostCommon":["reason_other_explanation","reasons"]},"credit_limit_approved":{"title":"credit_limit_approved_params","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"currency":{"type":"string","description":"The currency of the credit approved, will default to the Account's Issuing currency.","format":"currency"}},"description":"Details about the credit limit approved. An approved credit limit is required before you can set a `credit_limit_amount` in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy/)","x-stripeMostCommon":["amount","consumer_revolving_credit","currency"]},"type":{"type":"string","description":"Outcome of the decision.","enum":["additional_information_requested","application_rejected","credit_limit_approved","withdrawn_by_applicant"],"x-stripeBypassValidation":true}},"description":"Details about the decision.","x-stripeMostCommon":["annual_percentage_rate_changed","application_rejected","credit_limit_approved","type"]},"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`."},"regulatory_reporting_file":{"maxLength":5000,"type":"string","description":"File containing regulatory reporting data for the decision. Required if you are subject to this [reporting requirement](https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions)."},"underwriting_exception":{"title":"underwriting_exception_params","required":["explanation","original_decision_type"],"type":"object","properties":{"explanation":{"maxLength":5000,"type":"string","description":"Written explanation for the exception."},"original_decision_type":{"type":"string","description":"The decision before the exception was applied.","enum":["additional_information_requested","application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed","no_changes","withdrawn_by_applicant"],"x-stripeBypassValidation":true}},"description":"If an exception to the usual underwriting criteria was made for this decision, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.","x-stripeMostCommon":["explanation","original_decision_type"]}},"additionalProperties":false,"x-stripeMostCommon":["decided_at","decision","metadata"]},"encoding":{"decision":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"underwriting_exception":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.credit_underwriting_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"update_report_decision_issuing_credit_underwriting_record"}},"/v1/issuing/dispute_settlement_details":{"get":{"summary":"List all dispute settlement details","description":"

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

","operationId":"GetIssuingDisputeSettlementDetails","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"settlement","in":"query","description":"Select the Issuing dispute settlement details for the given settlement.","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"},"x-stripeLessCommon":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":"List of Dispute Settlement Detail","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.dispute_settlement_detail"}},"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/dispute_settlement_details","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"}}}}},"x-stableId":"list_issuing_dispute_settlement_details"}},"/v1/issuing/dispute_settlement_details/{dispute_settlement_detail}":{"get":{"summary":"Retrieve a dispute settlement detail","description":"

Retrieves an Issuing DisputeSettlementDetail object.

","operationId":"GetIssuingDisputeSettlementDetailsDisputeSettlementDetail","parameters":[{"name":"dispute_settlement_detail","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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/issuing.dispute_settlement_detail"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_issuing_dispute_settlement_detail"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"]},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_issuing_disputes"},"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"}}}}},"x-stableId":"create_issuing_dispute"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/issuing.dispute"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_issuing_dispute"},"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"}}}}},"x-stableId":"update_issuing_dispute"}},"/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"}}}}},"x-stableId":"submit_issuing_dispute"}},"/v1/issuing/fraud_liability_debits":{"get":{"summary":"List all fraud liability debits","description":"

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

","operationId":"GetIssuingFraudLiabilityDebits","parameters":[{"name":"created","in":"query","description":"Only return Issuing Fraud Liability Debits 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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"List of Fraud Liability Debit","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.fraud_liability_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,"pattern":"^/v1/issuing/fraud_liability_debits","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"}}}}},"x-stableId":"all_issuing_fraud_liability_debit"}},"/v1/issuing/fraud_liability_debits/{fraud_liability_debit}":{"get":{"summary":"Retrieve an Issuing fraud liability debit","description":"

Retrieves an Issuing FraudLiabilityDebit object.

","operationId":"GetIssuingFraudLiabilityDebitsFraudLiabilityDebit","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"}},"x-stripeLessCommon":true},{"name":"fraud_liability_debit","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.fraud_liability_debit"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_issuing_fraud_liability_debit"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_issuing_personalization_designs"},"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"}}}}},"x-stableId":"create_issuing_personalization_design"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_issuing_personalization_design"},"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"}}}}},"x-stableId":"update_issuing_personalization_design"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_issuing_physical_bundles"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_issuing_physical_bundle"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_issuing_tokens"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_issuing_token"},"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"}}}}},"x-stableId":"update_issuing_token"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"settlement","in":"query","description":"Only return transactions that are associated with the given settlement.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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},"x-stripeLessCommon":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"}}}}},"x-stableId":"list_issuing_transactions"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_issuing_transaction"},"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"}}}}},"x-stableId":"update_issuing_transaction"}},"/v1/mandates":{"get":{"summary":"List of Mandates for a PaymentMethod","description":"

Retrieves a list of Mandates for a given PaymentMethod.

","operationId":"GetMandates","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"on_behalf_of","in":"query","description":"The Stripe account ID that the mandates are intended for. Learn more about the [use case for connected accounts payments](https://docs.stripe.com/payments/connected-accounts).","required":false,"style":"form","explode":true,"schema":{"type":"string"},"x-stripeLessCommon":true},{"name":"payment_method","in":"query","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"},"x-stripeLessCommon":true},{"name":"status","in":"query","description":"The status of the mandates to retrieve. Status indicates whether or not you can use it to initiate a payment, and can have a value of `active`, `pending`, or `inactive`.","required":true,"style":"form","explode":true,"schema":{"type":"string","enum":["active","inactive","pending"],"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":"PaymentFlowsMandateList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/mandate"}},"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/mandates","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"}}}}},"x-stableId":"list_mandates"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_mandate"}},"/v1/orders":{"get":{"summary":"List all orders","description":"

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

","operationId":"GetOrders","parameters":[{"name":"customer","in":"query","description":"Only return orders for the given 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":{"type":"string"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":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":"OrdersV2ResourceOrderList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/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/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 new open order object.

","operationId":"PostOrders","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["currency","line_items"],"type":"object","properties":{"automatic_tax":{"title":"automatic_tax","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable automatic tax calculation which will automatically compute tax rates on this order."}},"description":"Settings for automatic tax calculation for this order.","x-stripeMostCommon":["enabled"]},"billing_details":{"description":"Billing details for the customer. If a customer is provided, this will be automatically populated with values from that customer if override values are not provided.","anyOf":[{"title":"billing_details","type":"object","properties":{"address":{"title":"validated_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/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 billing address provided by the customer.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"email":{"type":"string","description":"The billing email provided by the customer."},"name":{"maxLength":5000,"type":"string","description":"The billing name provided by the customer."},"phone":{"maxLength":20,"type":"string","description":"The billing phone number provided by the customer."}},"x-stripeMostCommon":["address","email","name","phone"]},{"type":"string","enum":[""]}]},"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 customer associated with this order."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"discounts":{"description":"The coupons, promotion codes, and/or discounts to apply to the order.","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","coupon_data"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"ip_address":{"type":"string","description":"The IP address of the purchaser for this order."},"line_items":{"type":"array","description":"A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.","items":{"title":"create_params","type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"The description for the line item. Will default to the name of the associated product."},"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."}},"x-stripeMostCommon":["coupon","coupon_data"]}},{"type":"string","enum":[""]}]},"price":{"maxLength":5000,"type":"string","description":"The ID of a [Price](https://docs.stripe.com/api/prices) to add to the Order.\n\nThe `price` parameter is an alternative to using the `product` parameter. If each of your products are sold at a single price, you can set `Product.default_price` and then pass the `product` parameter when creating a line item. If your products are sold at several possible prices, use the `price` parameter to explicitly specify which one to use."},"price_data":{"title":"price_data_with_optional_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":"ID of the [Product](https://docs.stripe.com/api/products) this [Price](https://docs.stripe.com/api/prices) belongs to.\n\nUse this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified."},"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 object inline.\n\nThe `price_data` parameter is an alternative to using the `product` or `price` parameters. If you create a Product upfront and configure a `Product.default_price`, pass the `product` parameter when creating a line item. If you prefer not to define Products upfront, or if you charge variable prices, pass the `price_data` parameter to describe the price for this line item.\n\nEach time you pass `price_data` we create a Price for the Product. This Price is hidden in both the Dashboard and API lists and cannot be reused.","x-stripeMostCommon":["currency","product","unit_amount"]},"product":{"maxLength":5000,"type":"string","description":"The ID of a [Product](https://docs.stripe.com/api/products) to add to the Order.\n\nThe Product must have a `default_price` specified. Otherwise, specify the price by passing the `price` or `price_data` parameter."},"product_data":{"title":"product_upsert_data","required":["id","name"],"type":"object","properties":{"description":{"description":"The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.","anyOf":[{"maxLength":40000,"type":"string"},{"type":"string","enum":[""]}]},"id":{"maxLength":5000,"type":"string","description":"A unique identifier for this product.\n\n`product_data` automatically creates a Product with this ID. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates. If any of the fields in the existing Product are different from the values in `product_data`, `product_data` updates the existing Product with the new information. So set `product_data[id]` to the same string every time you sell the same product, but don't re-use the same string for different products."},"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":[""]}]},"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)."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"url":{"description":"A URL of a publicly-accessible webpage for this product.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Defines a [Product](https://docs.stripe.com/api/products) inline and adds it to the Order.\n\n`product_data` is an alternative to the `product` parameter. If you created a Product upfront, use the `product` parameter to refer to the existing Product. But if you prefer not to create Products upfront, pass the `product_data` parameter to define a Product inline as part of configuring the Order.\n\n`product_data` automatically creates a Product, just as if you had manually created the Product. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates.","x-stripeMostCommon":["id","metadata","name","sku","tax_code"]},"quantity":{"type":"integer","description":"The quantity of the line item."},"tax_rates":{"description":"The tax rates applied to this line item.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["product","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`."},"payment":{"title":"create_params","required":["settings"],"type":"object","properties":{"settings":{"title":"create_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."},"payment_method_options":{"title":"create_params","type":"object","properties":{"acss_debit":{"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}},"description":"If paying by `acss_debit`, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["financial_connections","mandate_options","setup_future_usage","target_date","verification_method"]},"afterpay_clearpay":{"title":"afterpay_clearpay_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":["automatic","automatic_async","manual"]},"reference":{"maxLength":128,"type":"string","description":"An internal identifier or reference this payment corresponds to. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes."},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with the payment method.\n\nProviding this parameter will [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://docs.stripe.com/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.","enum":["none"]}},"description":"If paying by `afterpay_clearpay`, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["capture_method","reference","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).\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":"If paying by `alipay`, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["setup_future_usage"]},"bancontact":{"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"]}},"description":"If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["preferred_language","setup_future_usage"]},"card":{"title":"card_payment_method_options","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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with the payment method.\n\nProviding this parameter will [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://docs.stripe.com/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.","enum":["none","off_session","on_session"]}},"description":"If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"customer_balance":{"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"]}},"description":"If paying by `customer_balance`, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["bank_transfer","funding_type","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).\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":"If paying by `ideal`, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["setup_future_usage"]},"klarna":{"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":[""]}]},"supplementary_purchase_data":{"description":"Supplementary Purchase Data for the corresponding Klarna payment","anyOf":[{"title":"supplementary_purchase_data_param","type":"object","properties":{"bus_reservation_details":{"description":"Supplementary bus reservation details.","anyOf":[{"type":"array","items":{"title":"bus_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"event_reservation_details":{"description":"Supplementary event reservation details.","anyOf":[{"type":"array","items":{"title":"event_reservation_details_param","type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the event.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"ends_at":{"type":"integer","description":"End timestamp of the event.","format":"unix-time"},"event_company_name":{"maxLength":255,"type":"string","description":"Company selling the ticket."},"event_name":{"maxLength":255,"type":"string","description":"Name of the event."},"event_type":{"type":"string","description":"Type of the event.","enum":["concert","conference","digital_education","expo","festival","in_person_education","sport","tour"],"x-stripeEnum":{"kind":"open","values":[{"description":"Musical performance or concert event.","value":"concert"},{"description":"Professional conference or meeting event.","value":"conference"},{"description":"Online or digital educational event.","value":"digital_education"},{"description":"Exhibition or trade show event.","value":"expo"},{"description":"Festival or celebration event.","value":"festival"},{"description":"In-person educational event or workshop.","value":"in_person_education"},{"description":"Sporting event or competition.","value":"sport"},{"description":"Guided tour or sightseeing event.","value":"tour"}]}},"insurances":{"type":"array","description":"List of insurances for this event.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"starts_at":{"type":"integer","description":"Start timestamp of the event.","format":"unix-time"},"venue_name":{"maxLength":255,"type":"string","description":"Name of the venue where the event takes place."}},"x-stripeMostCommon":["access_controlled_venue","address","affiliate_name","ends_at","event_company_name","event_name","event_type","insurances","starts_at","venue_name"]}},{"type":"string","enum":[""]}]},"ferry_reservation_details":{"description":"Supplementary ferry reservation details.","anyOf":[{"type":"array","items":{"title":"ferry_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"insurances":{"description":"Supplementary insurance details.","anyOf":[{"type":"array","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},{"type":"string","enum":[""]}]},"marketplace_sellers":{"description":"Supplementary marketplace seller details.","anyOf":[{"type":"array","items":{"title":"marketplace_seller_param","type":"object","properties":{"line_item_references":{"type":"array","description":"The references to line items for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"marketplace_seller_address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"The address of the selling or delivering merchant.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"marketplace_seller_name":{"maxLength":255,"type":"string","description":"The name of the marketplace seller."},"marketplace_seller_reference":{"maxLength":255,"type":"string","description":"The unique identifier for the marketplace seller."},"number_of_transactions":{"type":"integer","description":"The number of transactions the sub-seller completed in the last 12 months."},"product_category":{"type":"string","description":"The category of the product.","enum":["accessories","appliances","apps_and_games","arts_crafts_and_sewing","automotive","baby","baby_clothing","bags_and_purses","beauty","books","cds_and_vinyl","cell_phones_and_accessories","collectibles_and_fine_arts","digital_music","electronics","grocery_and_gourmet_food","handmade","health_and_personal_care","home_and_kitchen","industrial_and_scientific","luggage_and_travel_gear","magazine_subscriptions","men_clothing","musical_instruments","office_products","patio_lawn_and_garden","pet_supplies","shoes","software","sports_and_outdoors","tools_and_home_improvement","toys_and_games","video_games","women_clothing"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fashion and general accessories.","value":"accessories"},{"description":"Home and kitchen appliances.","value":"appliances"},{"description":"Mobile and software applications and games.","value":"apps_and_games"},{"description":"Art supplies, craft materials, and sewing products.","value":"arts_crafts_and_sewing"},{"description":"Automotive parts, accessories, and tools.","value":"automotive"},{"description":"Baby care products and equipment.","value":"baby"},{"description":"Clothing for babies and infants.","value":"baby_clothing"},{"description":"Handbags, purses, and bags.","value":"bags_and_purses"},{"description":"Cosmetics, skincare, and beauty products.","value":"beauty"},{"description":"Physical books and publications.","value":"books"},{"description":"Music in physical media formats.","value":"cds_and_vinyl"},{"description":"Mobile phones and related accessories.","value":"cell_phones_and_accessories"},{"description":"Collectible items and fine art pieces.","value":"collectibles_and_fine_arts"},{"description":"Digital music downloads and streaming.","value":"digital_music"},{"description":"Consumer electronics and devices.","value":"electronics"},{"description":"Food, beverages, and gourmet products.","value":"grocery_and_gourmet_food"},{"description":"Handcrafted and artisanal products.","value":"handmade"},{"description":"Health products and personal care items.","value":"health_and_personal_care"},{"description":"Home furnishings and kitchen supplies.","value":"home_and_kitchen"},{"description":"Industrial equipment and scientific supplies.","value":"industrial_and_scientific"},{"description":"Luggage, suitcases, and travel accessories.","value":"luggage_and_travel_gear"},{"description":"Magazine and periodical subscriptions.","value":"magazine_subscriptions"},{"description":"Clothing and apparel for men.","value":"men_clothing"},{"description":"Musical instruments and equipment.","value":"musical_instruments"},{"description":"Office supplies and business products.","value":"office_products"},{"description":"Outdoor, lawn, and garden products.","value":"patio_lawn_and_garden"},{"description":"Pet care products and supplies.","value":"pet_supplies"},{"description":"Footwear for all categories.","value":"shoes"},{"description":"Computer software and applications.","value":"software"},{"description":"Sports equipment and outdoor gear.","value":"sports_and_outdoors"},{"description":"Tools and home improvement supplies.","value":"tools_and_home_improvement"},{"description":"Toys, games, and children's entertainment.","value":"toys_and_games"},{"description":"Video games and gaming consoles.","value":"video_games"},{"description":"Clothing and apparel for women.","value":"women_clothing"}]}},"seller_last_login_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last logged in.","format":"unix-time"},"seller_rating":{"type":"string","description":"The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.","enum":["high","low","medium","very_high","very_low"],"x-stripeEnum":{"kind":"open","values":[{"description":"High rating.","value":"high"},{"description":"Low rating.","value":"low"},{"description":"Medium rating.","value":"medium"},{"description":"Very high rating.","value":"very_high"},{"description":"Very low rating.","value":"very_low"}]}},"seller_registered_at":{"type":"integer","description":"The date when the seller's account with the marketplace was created.","format":"unix-time"},"seller_updated_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last updated.","format":"unix-time"},"shipping_references":{"type":"array","description":"The references to shipping addresses for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"volume_of_transactions":{"type":"integer","description":"The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units."}},"x-stripeMostCommon":["line_item_references","marketplace_seller_address","marketplace_seller_name","marketplace_seller_reference","number_of_transactions","product_category","seller_last_login_at","seller_rating","seller_registered_at","seller_updated_at","shipping_references","volume_of_transactions"]}},{"type":"string","enum":[""]}]},"round_trip_reservation_details":{"description":"Supplementary round trip reservation details.","anyOf":[{"type":"array","items":{"title":"round_trip_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"train_reservation_details":{"description":"Supplementary train reservation details.","anyOf":[{"type":"array","items":{"title":"train_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"vouchers":{"description":"Voucher details, such as a gift card or discount code.","anyOf":[{"type":"array","items":{"title":"voucher_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for this voucher."},"ends_at":{"type":"integer","description":"The voucher validity end time.","format":"unix-time"},"starts_at":{"type":"integer","description":"The voucher validity start time.","format":"unix-time"},"voucher_company":{"maxLength":255,"type":"string","description":"The issuer or provider of this voucher."},"voucher_name":{"maxLength":255,"type":"string","description":"The name or reference to identify the voucher."},"voucher_type":{"type":"string","description":"The type of this voucher.","enum":["digital_product","discount","gift_card","physical_product","services"],"x-stripeEnum":{"kind":"open","values":[{"description":"Voucher for digital goods or downloadable content.","value":"digital_product"},{"description":"Voucher that provides a discount on purchases.","value":"discount"},{"description":"Voucher that can be redeemed for merchandise or services.","value":"gift_card"},{"description":"Voucher for physical merchandise or goods.","value":"physical_product"},{"description":"Voucher for services or experiences.","value":"services"}]}}},"x-stripeMostCommon":["affiliate_name","ends_at","starts_at","voucher_company","voucher_name","voucher_type"]}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["bus_reservation_details","customer","event_reservation_details","ferry_reservation_details","insurances","marketplace_sellers","round_trip_reservation_details","train_reservation_details","vouchers"]},{"type":"string","enum":[""]}]}},"description":"If paying by `klarna`, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.","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"]},"link":{"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"]}},"description":"If paying by `link`, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["capture_method","persistent_token","request_multicapture","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).\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"]}},"description":"If paying by `oxxo`, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.","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).\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."}},"description":"If paying by `p24`, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["installments","setup_future_usage","tos_shown_and_accepted"]},"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"]},"line_items":{"type":"array","description":"The line items purchased by the customer.","items":{"title":"line_item_param","required":["name","quantity","unit_amount"],"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."},"name":{"maxLength":127,"type":"string","description":"Descriptive name of the line item."},"quantity":{"type":"integer","description":"Quantity of the line item. Must be a positive number."},"sku":{"maxLength":127,"type":"string","description":"Client facing stock keeping unit, article number or similar."},"sold_by":{"maxLength":5000,"type":"string","description":"The Stripe account ID of the connected account that sells the item."},"tax":{"title":"line_item_tax_param","required":["amount","behavior"],"type":"object","properties":{"amount":{"type":"integer","description":"The tax for a single unit of the line item in minor units. Cannot be a negative number."},"behavior":{"type":"string","description":"The tax behavior for the line item.","enum":["exclusive","inclusive"]}},"description":"The tax information for the line item.","x-stripeMostCommon":["amount","behavior"]},"unit_amount":{"type":"integer","description":"Price for a single unit of the line item in minor units. Cannot be a negative number."}},"x-stripeMostCommon":["category","description","name","quantity","sku","sold_by","tax","unit_amount"]}},"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."},"reference_id":{"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"]},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":32,"type":"string"}}},"description":"If paying by `paypal`, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["allow_delayed_notification","capture_method","line_items","preferred_locale","reference","reference_id","risk_correlation_id","setup_future_usage","subsellers"]},"sepa_debit":{"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."}},"description":"If paying by `sepa_debit`, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["mandate_options","setup_future_usage","target_date","verification_method"]},"sofort":{"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"]}},"description":"If paying by `sofort`, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["preferred_language","setup_future_usage"]},"wechat_pay":{"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, android, or mini_program."},"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-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"}]}}},"description":"If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.","x-stripeMostCommon":["app_id","buyer_id","client","setup_future_usage"]}},"description":"PaymentMethod-specific configuration to provide to the order's PaymentIntent.","x-stripeMostCommon":["acss_debit","afterpay_clearpay","alipay","bancontact","card","customer_balance","ideal","klarna","link","oxxo","p24","paypal","sepa_debit","sofort","wechat_pay"]},"payment_method_types":{"type":"array","description":"The list of [payment method types](https://docs.stripe.com/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).","items":{"type":"string","enum":["acss_debit","afterpay_clearpay","alipay","au_becs_debit","bacs_debit","bancontact","card","customer_balance","eps","fpx","giropay","grabpay","ideal","klarna","link","oxxo","p24","paypal","sepa_debit","sofort","wechat_pay"]}},"return_url":{"type":"string","description":"The URL to redirect the customer to after they authenticate their payment."},"statement_descriptor":{"maxLength":22,"type":"string","description":"For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters."},"statement_descriptor_suffix":{"maxLength":22,"type":"string","description":"Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor."},"transfer_data":{"title":"transfer_data","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when the order 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."},"destination":{"type":"string","description":"ID of the Connected account receiving the transfer."}},"description":"Provides configuration for completing a transfer for the order after it is paid.","x-stripeMostCommon":["amount","amount_percent","destination"]}},"description":"Settings describing how the order should configure generated PaymentIntents.","x-stripeMostCommon":["application_fee_amount","payment_method_options","payment_method_types","return_url","skip_payment_intent_creation","statement_descriptor","statement_descriptor_suffix","transfer_data","transfer_group"]}},"description":"Payment information associated with the order, including payment settings.","x-stripeMostCommon":["settings"]},"shipping_cost":{"description":"Settings for the customer cost of shipping for this order.","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":"create_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 order.","anyOf":[{"title":"shipping_details","required":["address","name"],"type":"object","properties":{"address":{"title":"validated_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/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 shipping address for the order.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient of the order."},"phone":{"description":"The phone number (including extension) for the recipient of the order.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["address","name","phone"]},{"type":"string","enum":[""]}]},"tax_details":{"title":"tax_details","type":"object","properties":{"tax_exempt":{"type":"string","description":"The purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.","enum":["","exempt","none","reverse"]},"tax_ids":{"type":"array","description":"The purchaser's tax IDs to be used for this order.","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`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `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`, `py_ruc`, `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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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":"Additional tax details about the purchaser to be used for this order.","x-stripeMostCommon":["tax_exempt","tax_ids"]}},"additionalProperties":false,"x-stripeMostCommon":["currency","customer","description","line_items","metadata","payment"]},"encoding":{"automatic_tax":{"style":"deepObject","explode":true},"billing_details":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment":{"style":"deepObject","explode":true},"shipping_cost":{"style":"deepObject","explode":true},"shipping_details":{"style":"deepObject","explode":true},"tax_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/order"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/orders/{id}":{"get":{"summary":"Retrieve an order","description":"

Retrieves the details of an existing order. Supply the unique order ID from either an order creation request or the order list, and Stripe will return the corresponding order information.

","operationId":"GetOrdersId","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"}},"x-stripeLessCommon":true},{"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/order"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update an order","description":"

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

","operationId":"PostOrdersId","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":{"automatic_tax":{"title":"automatic_tax","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable automatic tax calculation which will automatically compute tax rates on this order."}},"description":"Settings for automatic tax calculation for this order.","x-stripeMostCommon":["enabled"]},"billing_details":{"description":"Billing details for the customer. If a customer is provided, this will be automatically populated with values from that customer if override values are not provided.","anyOf":[{"title":"billing_details","type":"object","properties":{"address":{"title":"validated_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/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 billing address provided by the customer.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"email":{"type":"string","description":"The billing email provided by the customer."},"name":{"maxLength":5000,"type":"string","description":"The billing name provided by the customer."},"phone":{"maxLength":20,"type":"string","description":"The billing phone number provided by the customer."}},"x-stripeMostCommon":["address","email","name","phone"]},{"type":"string","enum":[""]}]},"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 customer associated with this order."},"description":{"description":"An arbitrary string attached to the object. Often useful for displaying to users.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"discounts":{"description":"The coupons, promotion codes, and/or discounts to apply to the order. Pass the empty string `\"\"` to unset this field.","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","coupon_data"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"ip_address":{"type":"string","description":"The IP address of the purchaser for this order."},"line_items":{"type":"array","description":"A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.","items":{"title":"update_params","type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"The description for the line item. Will default to the name of the associated product."},"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."}},"x-stripeMostCommon":["coupon","coupon_data"]}},{"type":"string","enum":[""]}]},"id":{"maxLength":5000,"type":"string","description":"The ID of an existing line item on the order."},"price":{"maxLength":5000,"type":"string","description":"The ID of a [Price](https://docs.stripe.com/api/prices) to add to the Order.\n\nThe `price` parameter is an alternative to using the `product` parameter. If each of your products are sold at a single price, you can set `Product.default_price` and then pass the `product` parameter when creating a line item. If your products are sold at several possible prices, use the `price` parameter to explicitly specify which one to use."},"price_data":{"title":"price_data_with_optional_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":"ID of the [Product](https://docs.stripe.com/api/products) this [Price](https://docs.stripe.com/api/prices) belongs to.\n\nUse this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified."},"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 object inline.\n\nThe `price_data` parameter is an alternative to using the `product` or `price` parameters. If you create a Product upfront and configure a `Product.default_price`, pass the `product` parameter when creating a line item. If you prefer not to define Products upfront, or if you charge variable prices, pass the `price_data` parameter to describe the price for this line item.\n\nEach time you pass `price_data` we create a Price for the Product. This Price is hidden in both the Dashboard and API lists and cannot be reused.","x-stripeMostCommon":["currency","product","unit_amount"]},"product":{"maxLength":5000,"type":"string","description":"The ID of a [Product](https://docs.stripe.com/api/products) to add to the Order.\n\nThe Product must have a `default_price` specified. Otherwise, specify the price by passing the `price` or `price_data` parameter."},"product_data":{"title":"product_upsert_data","required":["id","name"],"type":"object","properties":{"description":{"description":"The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.","anyOf":[{"maxLength":40000,"type":"string"},{"type":"string","enum":[""]}]},"id":{"maxLength":5000,"type":"string","description":"A unique identifier for this product.\n\n`product_data` automatically creates a Product with this ID. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates. If any of the fields in the existing Product are different from the values in `product_data`, `product_data` updates the existing Product with the new information. So set `product_data[id]` to the same string every time you sell the same product, but don't re-use the same string for different products."},"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":[""]}]},"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)."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"url":{"description":"A URL of a publicly-accessible webpage for this product.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Defines a [Product](https://docs.stripe.com/api/products) inline and adds it to the Order.\n\n`product_data` is an alternative to the `product` parameter. If you created a Product upfront, use the `product` parameter to refer to the existing Product. But if you prefer not to create Products upfront, pass the `product_data` parameter to define a Product inline as part of configuring the Order.\n\n`product_data` automatically creates a Product, just as if you had manually created the Product. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates.","x-stripeMostCommon":["id","metadata","name","sku","tax_code"]},"quantity":{"type":"integer","description":"The quantity of the line item."},"tax_rates":{"description":"The tax rates applied to this line item.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["id","product","quantity"]}},"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":{"title":"update_params","required":["settings"],"type":"object","properties":{"settings":{"title":"update_params","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.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"payment_method_options":{"title":"update_params","type":"object","properties":{"acss_debit":{"description":"If paying by `acss_debit`, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent.","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":[""]}]},"afterpay_clearpay":{"description":"If paying by `afterpay_clearpay`, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.","anyOf":[{"title":"afterpay_clearpay_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":["automatic","automatic_async","manual"]},"reference":{"maxLength":128,"type":"string","description":"An internal identifier or reference this payment corresponds to. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes."},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with the payment method.\n\nProviding this parameter will [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://docs.stripe.com/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.","enum":["none"]}},"x-stripeMostCommon":["capture_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"alipay":{"description":"If paying by `alipay`, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.","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":[""]}]},"bancontact":{"description":"If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.","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":[""]}]},"card":{"description":"If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.","anyOf":[{"title":"card_payment_method_options","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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with the payment method.\n\nProviding this parameter will [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://docs.stripe.com/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.","enum":["none","off_session","on_session"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"customer_balance":{"description":"If paying by `customer_balance`, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.","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":[""]}]},"ideal":{"description":"If paying by `ideal`, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.","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":[""]}]},"klarna":{"description":"If paying by `klarna`, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.","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":[""]}]},"supplementary_purchase_data":{"description":"Supplementary Purchase Data for the corresponding Klarna payment","anyOf":[{"title":"supplementary_purchase_data_param","type":"object","properties":{"bus_reservation_details":{"description":"Supplementary bus reservation details.","anyOf":[{"type":"array","items":{"title":"bus_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"event_reservation_details":{"description":"Supplementary event reservation details.","anyOf":[{"type":"array","items":{"title":"event_reservation_details_param","type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the event.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"ends_at":{"type":"integer","description":"End timestamp of the event.","format":"unix-time"},"event_company_name":{"maxLength":255,"type":"string","description":"Company selling the ticket."},"event_name":{"maxLength":255,"type":"string","description":"Name of the event."},"event_type":{"type":"string","description":"Type of the event.","enum":["concert","conference","digital_education","expo","festival","in_person_education","sport","tour"],"x-stripeEnum":{"kind":"open","values":[{"description":"Musical performance or concert event.","value":"concert"},{"description":"Professional conference or meeting event.","value":"conference"},{"description":"Online or digital educational event.","value":"digital_education"},{"description":"Exhibition or trade show event.","value":"expo"},{"description":"Festival or celebration event.","value":"festival"},{"description":"In-person educational event or workshop.","value":"in_person_education"},{"description":"Sporting event or competition.","value":"sport"},{"description":"Guided tour or sightseeing event.","value":"tour"}]}},"insurances":{"type":"array","description":"List of insurances for this event.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"starts_at":{"type":"integer","description":"Start timestamp of the event.","format":"unix-time"},"venue_name":{"maxLength":255,"type":"string","description":"Name of the venue where the event takes place."}},"x-stripeMostCommon":["access_controlled_venue","address","affiliate_name","ends_at","event_company_name","event_name","event_type","insurances","starts_at","venue_name"]}},{"type":"string","enum":[""]}]},"ferry_reservation_details":{"description":"Supplementary ferry reservation details.","anyOf":[{"type":"array","items":{"title":"ferry_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"insurances":{"description":"Supplementary insurance details.","anyOf":[{"type":"array","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},{"type":"string","enum":[""]}]},"marketplace_sellers":{"description":"Supplementary marketplace seller details.","anyOf":[{"type":"array","items":{"title":"marketplace_seller_param","type":"object","properties":{"line_item_references":{"type":"array","description":"The references to line items for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"marketplace_seller_address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"The address of the selling or delivering merchant.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"marketplace_seller_name":{"maxLength":255,"type":"string","description":"The name of the marketplace seller."},"marketplace_seller_reference":{"maxLength":255,"type":"string","description":"The unique identifier for the marketplace seller."},"number_of_transactions":{"type":"integer","description":"The number of transactions the sub-seller completed in the last 12 months."},"product_category":{"type":"string","description":"The category of the product.","enum":["accessories","appliances","apps_and_games","arts_crafts_and_sewing","automotive","baby","baby_clothing","bags_and_purses","beauty","books","cds_and_vinyl","cell_phones_and_accessories","collectibles_and_fine_arts","digital_music","electronics","grocery_and_gourmet_food","handmade","health_and_personal_care","home_and_kitchen","industrial_and_scientific","luggage_and_travel_gear","magazine_subscriptions","men_clothing","musical_instruments","office_products","patio_lawn_and_garden","pet_supplies","shoes","software","sports_and_outdoors","tools_and_home_improvement","toys_and_games","video_games","women_clothing"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fashion and general accessories.","value":"accessories"},{"description":"Home and kitchen appliances.","value":"appliances"},{"description":"Mobile and software applications and games.","value":"apps_and_games"},{"description":"Art supplies, craft materials, and sewing products.","value":"arts_crafts_and_sewing"},{"description":"Automotive parts, accessories, and tools.","value":"automotive"},{"description":"Baby care products and equipment.","value":"baby"},{"description":"Clothing for babies and infants.","value":"baby_clothing"},{"description":"Handbags, purses, and bags.","value":"bags_and_purses"},{"description":"Cosmetics, skincare, and beauty products.","value":"beauty"},{"description":"Physical books and publications.","value":"books"},{"description":"Music in physical media formats.","value":"cds_and_vinyl"},{"description":"Mobile phones and related accessories.","value":"cell_phones_and_accessories"},{"description":"Collectible items and fine art pieces.","value":"collectibles_and_fine_arts"},{"description":"Digital music downloads and streaming.","value":"digital_music"},{"description":"Consumer electronics and devices.","value":"electronics"},{"description":"Food, beverages, and gourmet products.","value":"grocery_and_gourmet_food"},{"description":"Handcrafted and artisanal products.","value":"handmade"},{"description":"Health products and personal care items.","value":"health_and_personal_care"},{"description":"Home furnishings and kitchen supplies.","value":"home_and_kitchen"},{"description":"Industrial equipment and scientific supplies.","value":"industrial_and_scientific"},{"description":"Luggage, suitcases, and travel accessories.","value":"luggage_and_travel_gear"},{"description":"Magazine and periodical subscriptions.","value":"magazine_subscriptions"},{"description":"Clothing and apparel for men.","value":"men_clothing"},{"description":"Musical instruments and equipment.","value":"musical_instruments"},{"description":"Office supplies and business products.","value":"office_products"},{"description":"Outdoor, lawn, and garden products.","value":"patio_lawn_and_garden"},{"description":"Pet care products and supplies.","value":"pet_supplies"},{"description":"Footwear for all categories.","value":"shoes"},{"description":"Computer software and applications.","value":"software"},{"description":"Sports equipment and outdoor gear.","value":"sports_and_outdoors"},{"description":"Tools and home improvement supplies.","value":"tools_and_home_improvement"},{"description":"Toys, games, and children's entertainment.","value":"toys_and_games"},{"description":"Video games and gaming consoles.","value":"video_games"},{"description":"Clothing and apparel for women.","value":"women_clothing"}]}},"seller_last_login_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last logged in.","format":"unix-time"},"seller_rating":{"type":"string","description":"The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.","enum":["high","low","medium","very_high","very_low"],"x-stripeEnum":{"kind":"open","values":[{"description":"High rating.","value":"high"},{"description":"Low rating.","value":"low"},{"description":"Medium rating.","value":"medium"},{"description":"Very high rating.","value":"very_high"},{"description":"Very low rating.","value":"very_low"}]}},"seller_registered_at":{"type":"integer","description":"The date when the seller's account with the marketplace was created.","format":"unix-time"},"seller_updated_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last updated.","format":"unix-time"},"shipping_references":{"type":"array","description":"The references to shipping addresses for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"volume_of_transactions":{"type":"integer","description":"The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units."}},"x-stripeMostCommon":["line_item_references","marketplace_seller_address","marketplace_seller_name","marketplace_seller_reference","number_of_transactions","product_category","seller_last_login_at","seller_rating","seller_registered_at","seller_updated_at","shipping_references","volume_of_transactions"]}},{"type":"string","enum":[""]}]},"round_trip_reservation_details":{"description":"Supplementary round trip reservation details.","anyOf":[{"type":"array","items":{"title":"round_trip_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"train_reservation_details":{"description":"Supplementary train reservation details.","anyOf":[{"type":"array","items":{"title":"train_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"vouchers":{"description":"Voucher details, such as a gift card or discount code.","anyOf":[{"type":"array","items":{"title":"voucher_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for this voucher."},"ends_at":{"type":"integer","description":"The voucher validity end time.","format":"unix-time"},"starts_at":{"type":"integer","description":"The voucher validity start time.","format":"unix-time"},"voucher_company":{"maxLength":255,"type":"string","description":"The issuer or provider of this voucher."},"voucher_name":{"maxLength":255,"type":"string","description":"The name or reference to identify the voucher."},"voucher_type":{"type":"string","description":"The type of this voucher.","enum":["digital_product","discount","gift_card","physical_product","services"],"x-stripeEnum":{"kind":"open","values":[{"description":"Voucher for digital goods or downloadable content.","value":"digital_product"},{"description":"Voucher that provides a discount on purchases.","value":"discount"},{"description":"Voucher that can be redeemed for merchandise or services.","value":"gift_card"},{"description":"Voucher for physical merchandise or goods.","value":"physical_product"},{"description":"Voucher for services or experiences.","value":"services"}]}}},"x-stripeMostCommon":["affiliate_name","ends_at","starts_at","voucher_company","voucher_name","voucher_type"]}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["bus_reservation_details","customer","event_reservation_details","ferry_reservation_details","insurances","marketplace_sellers","round_trip_reservation_details","train_reservation_details","vouchers"]},{"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":[""]}]},"link":{"description":"If paying by `link`, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.","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":[""]}]},"oxxo":{"description":"If paying by `oxxo`, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.","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 paying by `p24`, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.","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":[""]}]},"paypal":{"description":"If paying by `paypal`, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.","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"]},"line_items":{"type":"array","description":"The line items purchased by the customer.","items":{"title":"line_item_param","required":["name","quantity","unit_amount"],"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."},"name":{"maxLength":127,"type":"string","description":"Descriptive name of the line item."},"quantity":{"type":"integer","description":"Quantity of the line item. Must be a positive number."},"sku":{"maxLength":127,"type":"string","description":"Client facing stock keeping unit, article number or similar."},"sold_by":{"maxLength":5000,"type":"string","description":"The Stripe account ID of the connected account that sells the item."},"tax":{"title":"line_item_tax_param","required":["amount","behavior"],"type":"object","properties":{"amount":{"type":"integer","description":"The tax for a single unit of the line item in minor units. Cannot be a negative number."},"behavior":{"type":"string","description":"The tax behavior for the line item.","enum":["exclusive","inclusive"]}},"description":"The tax information for the line item.","x-stripeMostCommon":["amount","behavior"]},"unit_amount":{"type":"integer","description":"Price for a single unit of the line item in minor units. Cannot be a negative number."}},"x-stripeMostCommon":["category","description","name","quantity","sku","sold_by","tax","unit_amount"]}},"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."},"reference_id":{"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"]},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":32,"type":"string"}}},"x-stripeMostCommon":["allow_delayed_notification","capture_method","line_items","preferred_locale","reference","reference_id","risk_correlation_id","setup_future_usage","subsellers"]},{"type":"string","enum":[""]}]},"sepa_debit":{"description":"If paying by `sepa_debit`, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.","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 paying by `sofort`, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.","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":[""]}]},"wechat_pay":{"description":"If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.","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, android, or mini_program."},"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-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"}]}}},"x-stripeMostCommon":["app_id","buyer_id","client","setup_future_usage"]},{"type":"string","enum":[""]}]}},"description":"PaymentMethod-specific configuration to provide to the order's PaymentIntent.","x-stripeMostCommon":["acss_debit","afterpay_clearpay","alipay","bancontact","card","customer_balance","ideal","klarna","link","oxxo","p24","paypal","sepa_debit","sofort","wechat_pay"]},"payment_method_types":{"type":"array","description":"The list of [payment method types](https://docs.stripe.com/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).","items":{"type":"string","enum":["acss_debit","afterpay_clearpay","alipay","au_becs_debit","bacs_debit","bancontact","card","customer_balance","eps","fpx","giropay","grabpay","ideal","klarna","link","oxxo","p24","paypal","sepa_debit","sofort","wechat_pay"]}},"return_url":{"description":"The URL to redirect the customer to after they authenticate their payment.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"statement_descriptor":{"maxLength":22,"type":"string","description":"For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters."},"statement_descriptor_suffix":{"maxLength":22,"type":"string","description":"Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor."},"transfer_data":{"description":"Provides configuration for completing a transfer for the order after it is paid.","anyOf":[{"title":"transfer_data","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when the order 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."},"destination":{"type":"string","description":"ID of the Connected account receiving the transfer."}},"x-stripeMostCommon":["amount","amount_percent","destination"]},{"type":"string","enum":[""]}]}},"description":"Settings describing how the order should configure generated PaymentIntents.","x-stripeMostCommon":["application_fee_amount","payment_method_options","payment_method_types","return_url","skip_payment_intent_creation","statement_descriptor","statement_descriptor_suffix","transfer_data","transfer_group"]}},"description":"Payment information associated with the order, including payment settings.","x-stripeMostCommon":["settings"]},"shipping_cost":{"description":"Settings for the customer cost of shipping for this order.","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":"create_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 order.","anyOf":[{"title":"shipping_details","required":["address","name"],"type":"object","properties":{"address":{"title":"validated_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/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 shipping address for the order.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient of the order."},"phone":{"description":"The phone number (including extension) for the recipient of the order.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["address","name","phone"]},{"type":"string","enum":[""]}]},"tax_details":{"title":"tax_details","type":"object","properties":{"tax_exempt":{"type":"string","description":"The purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.","enum":["","exempt","none","reverse"]},"tax_ids":{"type":"array","description":"The purchaser's tax IDs to be used for this order.","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`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `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`, `py_ruc`, `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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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":"Additional tax details about the purchaser to be used for this order.","x-stripeMostCommon":["tax_exempt","tax_ids"]}},"additionalProperties":false,"x-stripeMostCommon":["currency","customer","description","line_items","metadata","payment"]},"encoding":{"automatic_tax":{"style":"deepObject","explode":true},"billing_details":{"style":"deepObject","explode":true},"description":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment":{"style":"deepObject","explode":true},"shipping_cost":{"style":"deepObject","explode":true},"shipping_details":{"style":"deepObject","explode":true},"tax_details":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/order"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/orders/{id}/submit":{"post":{"summary":"Submit an order","description":"

Submitting an Order transitions the status to processing and creates a PaymentIntent object so the order can be paid. If the Order has an amount_total of 0, no PaymentIntent object will be created. Once the order is submitted, its contents cannot be changed, unless the reopen method is called.

","operationId":"PostOrdersIdSubmit","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":["expected_total"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expected_total":{"type":"integer","description":"`expected_total` should always be set to the order's `amount_total` field. If they don't match, submitting the order will fail. This helps detect race conditions where something else concurrently modifies the order."}},"additionalProperties":false,"x-stripeMostCommon":["expected_total"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/order"}}}},"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"}},"x-stripeLessCommon":true},{"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":"Payment Attempt Record List","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"}}}}},"x-stableId":"list_payment_attempt_record"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_payment_attempt_record"}},"/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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_payment_intents"},"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":{"allowed_payment_method_types":{"type":"array","description":"The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boku_promptpay","boleto","capchase_pay","card","card_present","cashapp","check_scan","click_to_pay","crypto","customer_balance","demo_pay","duitnow","dummy_auth_push","dummy_passthrough_card","edenred","eps","fpx","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","kriya","link","mb_way","mobilepay","momo","mondu","multibanco","naver_pay","netbanking","ng_bank","ng_bank_transfer","ng_card","ng_market","ng_ussd","ng_wallet","nz_bank_account","octopus","oxxo","p24","paper_check","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shop_pay","shopeepay","sofort","south_korea_market","stripe_balance","sunbit","swish","tamara","test_pay","touch_n_go","truemoney","twint","upi","us_bank_account","us_cash_voucher","vipps","wechat_pay","wero","zip"],"x-stripeBypassValidation":true}},"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","ev_charging","fleet_data"]},"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","quantity_precision","tax","unit_cost","unit_cost_precision","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 and spaces 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 and spaces are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"surcharge":{"description":"Contains information about the surcharge portion of the amount.","anyOf":[{"title":"amount_details_surcharge_param","type":"object","properties":{"amount":{"description":"Portion of the amount that corresponds to a surcharge.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_validation":{"type":"string","description":"Indicate whether to enforce validations on the surcharge amount.","enum":["","automatic","disabled","enabled"]}},"x-stripeMostCommon":["amount","enforce_validation"]},{"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","tip"]},"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://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead."},"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://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the 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","bizum","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","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","sequra","shopeepay","sofort","stripe_balance","sunbit","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"}},"fx_quote":{"maxLength":5000,"type":"string","description":"The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount."},"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 payment method details and [charge them later](https://docs.stripe.com/payments/save-during-payment). 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":{"car_rental":{"title":"car_rental","required":["booking_number","days_rented","pickup_at","return_at"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the car rental."},"car_class_code":{"maxLength":4,"type":"string","description":"Class code of the car."},"car_make":{"maxLength":10,"type":"string","description":"Make of the car."},"car_model":{"maxLength":10,"type":"string","description":"Model of the car."},"company":{"maxLength":26,"type":"string","description":"The name of the rental car company."},"customer_service_phone_number":{"maxLength":16,"type":"string","description":"The customer service phone number of the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"distance":{"title":"car_rental_distance","type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"The details of the distance traveled during the rental period.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"car_rental_driver","required":["name"],"type":"object","properties":{"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the car reservation."}},"x-stripeMostCommon":["driver_identification_number","driver_tax_number","name"]}},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["extra_mileage","gas","late_return","one_way_service","parking_violation"]}},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep nor cancel their booking."},"pickup_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":"Car pick-up address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"pickup_at":{"type":"integer","description":"Car pick-up time. Measured in seconds since the Unix epoch.","format":"unix-time"},"pickup_location_name":{"maxLength":38,"type":"string","description":"Name of the pickup location."},"rate_amount":{"type":"integer","description":"Rental rate."},"rate_interval":{"type":"string","description":"The frequency at which the rate amount is applied. One of `day`, `week` or `month`","enum":["day","month","week"]},"renter_name":{"maxLength":100,"type":"string","description":"The name of the person or entity renting the car."},"return_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":"Car return address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"return_at":{"type":"integer","description":"Car return time. Measured in seconds since the Unix epoch.","format":"unix-time"},"return_location_name":{"maxLength":38,"type":"string","description":"Name of the return location."},"tax_exempt":{"type":"boolean","description":"Indicates whether the goods or services are tax-exempt or tax is not collected."},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"The vehicle identification number."}},"description":"Car rental details for this PaymentIntent.","x-stripeMostCommon":["affiliate","booking_number","car_class_code","car_make","car_model","company","customer_service_phone_number","days_rented","delivery","distance","drivers","extra_charges","no_show","pickup_address","pickup_at","pickup_location_name","rate_amount","rate_interval","renter_name","return_address","return_at","return_location_name","tax_exempt","vehicle_identification_number"]},"car_rental_data":{"description":"Car rental data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"car_rental_data","required":["drop_off","pickup","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."}},"description":"Affiliate (such as travel agency) details for the rental.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the car rental."},"carrier_name":{"maxLength":255,"type":"string","description":"Name of the car rental company."},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"distance":{"title":"distance","required":["amount","unit"],"type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"Distance details for the rental.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"List of drivers for the rental.","items":{"title":"driver","required":["name"],"type":"object","properties":{"date_of_birth":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Day of birth (1-31)."},"month":{"type":"integer","description":"Month of birth (1-12)."},"year":{"type":"integer","description":"Year of birth (must be greater than 1900)."}},"description":"Driver's date of birth.","x-stripeMostCommon":["day","month","year"]},"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":198,"type":"string","description":"Driver's full name."}},"x-stripeMostCommon":["date_of_birth","driver_identification_number","driver_tax_number","name"]}},"drop_off":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Drop-off location details.","x-stripeMostCommon":["address","location_name","time"]},"insurances":{"type":"array","description":"Insurance details for the rental.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["liability_supplement","loss_damage_waiver","other","partial_damage_waiver","personal_accident","personal_effects"],"x-stripeEnum":{"kind":"open","values":[{"description":"Supplemental liability insurance coverage.","value":"liability_supplement"},{"description":"Agreement waiving responsibility for loss or damage to the vehicle.","value":"loss_damage_waiver"},{"description":"Other types of insurance coverage.","value":"other"},{"description":"Agreement limiting responsibility for loss or damage to the vehicle.","value":"partial_damage_waiver"},{"description":"Insurance covering personal accidents during the rental period.","value":"personal_accident"},{"description":"Insurance covering personal belongings during the rental period.","value":"personal_effects"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Indicates if the customer was a no-show."},"pickup":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Pickup location details.","x-stripeMostCommon":["address","location_name","time"]},"renter_name":{"maxLength":198,"type":"string","description":"Name of the person renting the vehicle."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total amount in cents."},"currency":{"type":"string","description":"Currency of the amount.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code applied to the rental."},"maximum_free_miles_or_kilometers":{"type":"integer","description":"Maximum number of free miles or kilometers included."}},"description":"Discount details for the rental.","x-stripeMostCommon":["corporate_client_code","coupon","maximum_free_miles_or_kilometers"]},"extra_charges":{"type":"array","description":"Additional charges for the rental.","items":{"title":"extra_charge","required":["amount","type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["extra_mileage","gas","gps","late_charge","one_way_drop_off","other","parking","phone","regular_mileage","towing"]}},"x-stripeMostCommon":["amount","type"]}},"rate_per_unit":{"type":"integer","description":"Rate per unit for the rental."},"rate_unit":{"type":"string","description":"Unit of measurement for the rate.","enum":["days","kilometers","miles","months","weeks"],"x-stripeEnum":{"kind":"open","values":[{"description":"Rental rate charged per day.","value":"days"},{"description":"Rental rate charged per kilometer.","value":"kilometers"},{"description":"Rental rate charged per mile.","value":"miles"},{"description":"Rental rate charged per month.","value":"months"},{"description":"Rental rate charged per week.","value":"weeks"}]}},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates if the transaction is tax exempt."},"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate applied."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the rental.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total cost breakdown for the rental.","x-stripeMostCommon":["amount","currency","discounts","extra_charges","rate_per_unit","rate_unit","tax"]},"vehicle":{"title":"vehicle","type":"object","properties":{"make":{"maxLength":40,"type":"string","description":"Make of the rental vehicle."},"model":{"maxLength":40,"type":"string","description":"Model of the rental vehicle."},"odometer":{"type":"integer","description":"Odometer reading at the time of rental."},"type":{"type":"string","description":"Type of the rental vehicle.","enum":["cargo_van","compact","economy","exotic","exotic_suv","fifteen_passenger_van","four_wheel_drive","full_size","intermediate","large_suv","large_truck","luxury","medium_suv","midsize","mini","minivan","miscellaneous","moped","moving_van","premium","regular","small_medium_truck","small_suv","special","standard","stretch","subcompact","taxi","twelve_foot_truck","twelve_passenger_van","twenty_foot_truck","twenty_four_foot_truck","twenty_six_foot_truck","unique"],"x-stripeEnum":{"kind":"open","values":[{"description":"Van designed for cargo transport.","value":"cargo_van"},{"description":"Compact car.","value":"compact"},{"description":"Economy-class car.","value":"economy"},{"description":"Exotic or high-performance vehicle.","value":"exotic"},{"description":"Exotic or luxury sport utility vehicle.","value":"exotic_suv"},{"description":"Van with capacity for fifteen passengers.","value":"fifteen_passenger_van"},{"description":"Four-wheel-drive vehicle.","value":"four_wheel_drive"},{"description":"Full-sized car.","value":"full_size"},{"description":"Intermediate-sized car.","value":"intermediate"},{"description":"Large sport utility vehicle.","value":"large_suv"},{"description":"Large truck.","value":"large_truck"},{"description":"Luxury car.","value":"luxury"},{"description":"Medium sport utility vehicle.","value":"medium_suv"},{"description":"Midsize car.","value":"midsize"},{"description":"Mini-sized car.","value":"mini"},{"description":"Minivan.","value":"minivan"},{"description":"Other miscellaneous vehicle types.","value":"miscellaneous"},{"description":"Moped or motorized scooter.","value":"moped"},{"description":"Van designed for moving goods.","value":"moving_van"},{"description":"Premium car.","value":"premium"},{"description":"Regular vehicle type.","value":"regular"},{"description":"Small to medium truck.","value":"small_medium_truck"},{"description":"Small sport utility vehicle.","value":"small_suv"},{"description":"Special vehicle type.","value":"special"},{"description":"Standard-sized car.","value":"standard"},{"description":"Stretch limousine.","value":"stretch"},{"description":"Subcompact car.","value":"subcompact"},{"description":"Taxi or for-hire vehicle.","value":"taxi"},{"description":"Truck with twelve-foot cargo space.","value":"twelve_foot_truck"},{"description":"Van with capacity for twelve passengers.","value":"twelve_passenger_van"},{"description":"Truck with twenty-foot cargo space.","value":"twenty_foot_truck"},{"description":"Truck with twenty-four-foot cargo space.","value":"twenty_four_foot_truck"},{"description":"Truck with twenty-six-foot cargo space.","value":"twenty_six_foot_truck"},{"description":"Unique or specialty vehicle.","value":"unique"}]}},"vehicle_class":{"type":"string","description":"Class of the rental vehicle.","enum":["business","economy","first_class","premium_economy"]},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"Vehicle identification number (VIN)."}},"description":"Vehicle details for the rental.","x-stripeMostCommon":["make","model","odometer","type","vehicle_class","vehicle_identification_number"]}},"x-stripeMostCommon":["affiliate","booking_number","carrier_name","customer_service_phone_number","days_rented","distance","drivers","drop_off","insurances","no_show_indicator","pickup","renter_name","total","vehicle"]}},{"type":"string","enum":[""]}]},"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":[""]}]},"event_details":{"title":"event","required":["name"],"type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"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 event location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"company":{"maxLength":5000,"type":"string","description":"The name of the company"},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"ends_at":{"type":"integer","description":"Event end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"genre":{"maxLength":5000,"type":"string","description":"Type of the event entertainment (concert, sports event etc)"},"name":{"maxLength":5000,"type":"string","description":"The name of the event."},"starts_at":{"type":"integer","description":"Event start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Event details for this PaymentIntent","x-stripeMostCommon":["access_controlled_venue","address","affiliate","company","delivery","ends_at","genre","name","starts_at"]},"flight":{"title":"flight","required":["segments"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"agency_number":{"maxLength":8,"type":"string","description":"The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking."},"carrier":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"passenger_name":{"maxLength":26,"type":"string","description":"The name of the person or entity on the reservation."},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation.","items":{"title":"flight_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the flight reservation."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"The individual flight segments associated with the trip.","items":{"title":"flight_segment","required":["departs_at"],"type":"object","properties":{"amount":{"type":"integer","description":"The flight segment amount."},"arrival_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the arrival airport."},"arrives_at":{"type":"integer","description":"The arrival time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"carrier":{"maxLength":2,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment."},"departs_at":{"type":"integer","description":"The departure time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"departure_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the departure airport."},"flight_number":{"maxLength":4,"type":"string","description":"The flight number associated with the segment"},"service_class":{"type":"string","description":"The fare class for the segment.","enum":["business","economy","first","premium_economy"]}},"x-stripeMostCommon":["amount","arrival_airport","arrives_at","carrier","departs_at","departure_airport","flight_number","service_class"]}},"ticket_number":{"maxLength":14,"type":"string","description":"The ticket number associated with the travel reservation."}},"description":"Flight reservation details for this PaymentIntent","x-stripeMostCommon":["affiliate","agency_number","carrier","delivery","passenger_name","passengers","segments","ticket_number"]},"flight_data":{"description":"Flight data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"flight_data","required":["segments","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."},"travel_authorization_code":{"maxLength":64,"type":"string","description":"Code provided by the company to a travel agent authorizing ticket issuance."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name","travel_authorization_code"]},"booking_number":{"maxLength":255,"type":"string","description":"Reservation reference."},"computerized_reservation_system":{"maxLength":4,"type":"string","description":"Computerized reservation system used to make the reservation and purchase the ticket."},"endorsements_and_restrictions":{"maxLength":20,"type":"string","description":"Ticket restrictions."},"insurances":{"type":"array","description":"List of insurances.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Insurance cost."},"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Insurance company name."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering lost, damaged, or delayed baggage.","value":"baggage"},{"description":"Insurance covering losses due to airline bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering flight cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during travel.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"passengers":{"type":"array","description":"List of passengers.","items":{"title":"passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Passenger's full name."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"List of flight segments.","items":{"title":"segment","required":["arrival","carrier_code","departure","service_class"],"type":"object","properties":{"amount":{"type":"integer","description":"Segment fare amount."},"arrival":{"title":"arrival","required":["airport"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Arrival airport IATA code."},"arrives_at":{"type":"integer","description":"Arrival date/time.","format":"unix-time"},"city":{"maxLength":99,"type":"string","description":"Arrival city."},"country":{"maxLength":5000,"type":"string","description":"Arrival country."}},"description":"Arrival details.","x-stripeMostCommon":["airport","arrives_at","city","country"]},"carrier_code":{"maxLength":5000,"type":"string","description":"Airline carrier code."},"carrier_name":{"maxLength":25,"type":"string","description":"Carrier name."},"currency":{"type":"string","description":"Segment currency.","format":"currency"},"departure":{"title":"departure","required":["airport","departs_at"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Departure airport IATA code."},"city":{"maxLength":99,"type":"string","description":"Departure city."},"country":{"maxLength":5000,"type":"string","description":"Departure country."},"departs_at":{"type":"integer","description":"Departure date/time.","format":"unix-time"}},"description":"Departure details.","x-stripeMostCommon":["airport","city","country","departs_at"]},"exchange_ticket_number":{"maxLength":20,"type":"string","description":"Exchange ticket number."},"fare_basis_code":{"maxLength":20,"type":"string","description":"Fare basis code."},"fees":{"type":"integer","description":"Additional fees."},"flight_number":{"maxLength":20,"type":"string","description":"Flight number."},"is_stop_over_indicator":{"type":"boolean","description":"Stopover indicator."},"refundable":{"type":"boolean","description":"Refundable ticket indicator."},"service_class":{"type":"string","description":"Class of service.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating.","value":"business"},{"description":"Economy class seating.","value":"economy"},{"description":"First class seating with premium amenities.","value":"first_class"},{"description":"Premium economy class with enhanced seating and services.","value":"premium_economy"}]}},"tax_amount":{"type":"integer","description":"Tax amount for segment."},"ticket_number":{"maxLength":20,"type":"string","description":"Ticket number."}},"x-stripeMostCommon":["amount","arrival","carrier_code","carrier_name","currency","departure","exchange_ticket_number","fare_basis_code","fees","flight_number","is_stop_over_indicator","refundable","service_class","tax_amount","ticket_number"]}},"ticket_electronically_issued_indicator":{"type":"boolean","description":"Electronic ticket indicator."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total flight amount."},"credit_reason":{"type":"string","description":"Reason for credit.","enum":["other","partial_ticket_refund","passenger_transport_ancillary_cancellation","ticket_and_ancillary_cancellation","ticket_cancellation"],"x-stripeEnum":{"kind":"open","values":[{"description":"Other credit reasons.","value":"other"},{"description":"Partial refund of the ticket cost.","value":"partial_ticket_refund"},{"description":"Cancellation of passenger transport and ancillary services.","value":"passenger_transport_ancillary_cancellation"},{"description":"Cancellation of both ticket and ancillary services.","value":"ticket_and_ancillary_cancellation"},{"description":"Cancellation of the ticket only.","value":"ticket_cancellation"}]}},"currency":{"type":"string","description":"Total currency.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."}},"description":"Discount details.","x-stripeMostCommon":["corporate_client_code"]},"extra_charges":{"type":"array","description":"Additional charges.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of additional charges."},"type":{"type":"string","description":"Type of additional charges.","enum":["additional_fees","ancillary_service_charges","exchange_fee"],"x-stripeEnum":{"kind":"open","values":[{"description":"Additional fees charged for the flight.","value":"additional_fees"},{"description":"Charges for ancillary services such as baggage, seat selection, or meals.","value":"ancillary_service_charges"},{"description":"Fee charged for exchanging or changing the ticket.","value":"exchange_fee"}]}}},"x-stripeMostCommon":["amount","type"]}},"tax":{"title":"tax","type":"object","properties":{"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown.","x-stripeMostCommon":["tax_items"]}},"description":"Total cost breakdown.","x-stripeMostCommon":["amount","credit_reason","currency","discounts","extra_charges","tax"]},"transaction_type":{"type":"string","description":"Type of flight transaction.","enum":["exchange_ticket","miscellaneous","refund","ticket_purchase"],"x-stripeEnum":{"kind":"open","values":[{"description":"Exchange or modification of an existing ticket.","value":"exchange_ticket"},{"description":"Other miscellaneous flight-related transactions.","value":"miscellaneous"},{"description":"Refund for a canceled or unused ticket.","value":"refund"},{"description":"Purchase of a new flight ticket.","value":"ticket_purchase"}]}}},"x-stripeMostCommon":["affiliate","booking_number","computerized_reservation_system","endorsements_and_restrictions","insurances","passengers","segments","ticket_electronically_issued_indicator","total","transaction_type"]}},{"type":"string","enum":[""]}]},"lodging":{"title":"lodging","required":["checkin_at","checkout_at"],"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 lodging location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"adults":{"type":"integer","description":"The number of adults on the booking"},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the lodging reservation."},"category":{"type":"string","description":"The lodging category","enum":["hotel","vacation_rental"]},"checkin_at":{"type":"integer","description":"Lodging check-in time. Measured in seconds since the Unix epoch.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Lodging check-out time. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"The customer service phone number of the lodging company."},"daily_room_rate_amount":{"type":"integer","description":"The daily lodging room rate."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["gift_shop","laundry","mini_bar","other","restaurant","telephone"]}},"fire_safety_act_compliance":{"type":"boolean","description":"Indicates whether the lodging location is compliant with the Fire Safety Act."},"name":{"maxLength":100,"type":"string","description":"The name of the lodging location."},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep their booking while failing to cancel the reservation."},"number_of_rooms":{"type":"integer","description":"The number of rooms on the booking"},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"lodging_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the lodging reservation."}},"x-stripeMostCommon":["name"]}},"property_phone_number":{"type":"string","description":"The phone number of the lodging location."},"room_class":{"maxLength":5000,"type":"string","description":"The room class for this purchase."},"room_nights":{"type":"integer","description":"The number of room nights"},"total_room_tax_amount":{"type":"integer","description":"The total tax amount associating with the room reservation."},"total_tax_amount":{"type":"integer","description":"The total tax amount"}},"description":"Lodging reservation details for this PaymentIntent","x-stripeMostCommon":["address","adults","affiliate","booking_number","category","checkin_at","checkout_at","customer_service_phone_number","daily_room_rate_amount","delivery","extra_charges","fire_safety_act_compliance","name","no_show","number_of_rooms","passengers","property_phone_number","room_class","room_nights","total_room_tax_amount","total_tax_amount"]},"lodging_data":{"description":"Lodging data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"lodging_data","required":["checkin_at","checkout_at","total"],"type":"object","properties":{"accommodation":{"title":"accommodation","type":"object","properties":{"accommodation_type":{"type":"string","description":"Type of accommodation.","enum":["apartment","cabana","house","penthouse","room","standard","suite","villa"],"x-stripeEnum":{"kind":"open","values":[{"description":"A self-contained apartment unit.","value":"apartment"},{"description":"A cabana or small cabin.","value":"cabana"},{"description":"A standalone house.","value":"house"},{"description":"A penthouse or top-floor luxury accommodation.","value":"penthouse"},{"description":"A standard room.","value":"room"},{"description":"A standard accommodation type.","value":"standard"},{"description":"A suite with multiple rooms or enhanced amenities.","value":"suite"},{"description":"A villa or luxury residence.","value":"villa"}]}},"bed_type":{"maxLength":20,"type":"string","description":"Bed type."},"daily_rate_amount":{"type":"integer","description":"Daily accommodation rate in cents."},"nights":{"type":"integer","description":"Number of nights."},"number_of_rooms":{"type":"integer","description":"Number of rooms, cabanas, apartments, and so on."},"rate_type":{"maxLength":20,"type":"string","description":"Rate type."},"smoking_indicator":{"type":"boolean","description":"Whether smoking is allowed."}},"description":"Accommodation details for the lodging.","x-stripeMostCommon":["accommodation_type","bed_type","daily_rate_amount","nights","number_of_rooms","rate_type","smoking_indicator"]},"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Affiliate partner name."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the lodging."},"checkin_at":{"type":"integer","description":"Check-in date.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Check-out date.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the lodging company."},"fire_safety_act_compliance_indicator":{"type":"boolean","description":"Whether the lodging is compliant with any hotel fire safety regulations."},"guests":{"type":"array","description":"List of guests for the lodging.","items":{"title":"guest","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Guest's full name."}},"x-stripeMostCommon":["name"]}},"host":{"title":"host","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":"Address of the host.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"country_of_domicile":{"maxLength":5000,"type":"string","description":"Host's country of domicile."},"host_reference":{"maxLength":255,"type":"string","description":"Reference number for the host."},"host_type":{"type":"string","description":"Type of host.","enum":["hostel","hotel","owner","rental_agency"],"x-stripeEnum":{"kind":"open","values":[{"description":"A hostel or shared accommodation facility.","value":"hostel"},{"description":"A hotel or hotel chain.","value":"hotel"},{"description":"The property owner directly managing the rental.","value":"owner"},{"description":"A rental agency managing the property.","value":"rental_agency"}]}},"name":{"maxLength":255,"type":"string","description":"Name of the lodging property or host."},"number_of_reservations":{"type":"integer","description":"Total number of reservations for the host."},"property_phone_number":{"type":"string","description":"Property phone number."},"registered_at":{"type":"integer","description":"Host's registration date.","format":"unix-time"}},"description":"Host details for the lodging.","x-stripeMostCommon":["address","country_of_domicile","host_reference","host_type","name","number_of_reservations","property_phone_number","registered_at"]},"insurances":{"type":"array","description":"List of insurances for the lodging.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Price of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering losses due to provider bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during the stay.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Whether the renter is a no-show."},"renter_id_number":{"maxLength":25,"type":"string","description":"Renter ID number for the lodging."},"renter_name":{"maxLength":198,"type":"string","description":"Renter name for the lodging."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total price of the lodging reservation in cents."},"cash_advances":{"type":"integer","description":"Cash advances in cents."},"currency":{"type":"string","description":"Currency of the total amount.","format":"currency"},"discounts":{"title":"discount","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code."}},"description":"Discount details for the lodging.","x-stripeMostCommon":["corporate_client_code","coupon"]},"extra_charges":{"type":"array","description":"Additional charges for the lodging.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["gift_shop","laundry","mini_bar","other","phone","restaurant"],"x-stripeEnum":{"kind":"open","values":[{"description":"Charges for gift shop purchases.","value":"gift_shop"},{"description":"Charges for laundry or cleaning services.","value":"laundry"},{"description":"Charges for mini bar consumption.","value":"mini_bar"},{"description":"Other miscellaneous charges.","value":"other"},{"description":"Charges for telephone services.","value":"phone"},{"description":"Charges for dining or food services.","value":"restaurant"}]}}},"x-stripeMostCommon":["amount","type"]}},"prepaid_amount":{"type":"integer","description":"Prepaid amount in cents."},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates whether the transaction is tax exempt."},"tax_items":{"type":"array","description":"Tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount in cents."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the lodging reservation.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total details for the lodging.","x-stripeMostCommon":["amount","cash_advances","currency","discounts","extra_charges","prepaid_amount","tax"]}},"x-stripeMostCommon":["accommodation","affiliate","booking_number","checkin_at","checkout_at","customer_service_phone_number","fire_safety_act_compliance_indicator","guests","host","insurances","no_show_indicator","renter_id_number","renter_name","total"]}},{"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":[""]}]},"subscription":{"title":"subscription","required":["name"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"auto_renewal":{"type":"boolean","description":"Info whether the subscription will be auto renewed upon expiry."},"billing_interval":{"title":"subscription_billing_interval","required":["count","interval"],"type":"object","properties":{"count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."},"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]}},"description":"Subscription billing details for this purchase.","x-stripeMostCommon":["count","interval"]},"ends_at":{"type":"integer","description":"Subscription end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"name":{"maxLength":5000,"type":"string","description":"Name of the product on subscription. e.g. Apple Music Subscription"},"starts_at":{"type":"integer","description":"Subscription start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Subscription details for this PaymentIntent","x-stripeMostCommon":["affiliate","auto_renewal","billing_interval","ends_at","name","starts_at"]}},"description":"Provides industry-specific information about the charge.","x-stripeMostCommon":["benefit","car_rental","car_rental_data","event_details","fleet_data","flight","flight_data","healthcare","location","lodging","lodging_data","money_services","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://docs.stripe.com/api#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 an Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is an 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"]},"bizum":{"title":"param","type":"object","properties":{},"description":"If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method."},"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","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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."},"gopay":{"title":"param","type":"object","properties":{},"description":"If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"id_bank_transfer":{"title":"param","type":"object","properties":{"bank":{"type":"string","description":"Bank where the account is held.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true}},"description":"If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.","x-stripeMostCommon":["bank"]},"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 (Link is also known as Onelink in the UK)."},"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."},"paypay":{"title":"param","type":"object","properties":{},"description":"If this is a `paypay` PaymentMethod, this hash contains details about the PayPay 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."},"qris":{"title":"param","type":"object","properties":{},"description":"If this is a `qris` PaymentMethod, this hash contains details about the QRIS 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"]},"rechnung":{"title":"param","required":["dob"],"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 `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.","x-stripeMostCommon":["dob"]},"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."},"scalapay":{"title":"param","type":"object","properties":{},"description":"If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay 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"]},"sequra":{"title":"param","type":"object","properties":{},"description":"If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method."},"shared_payment_granted_token":{"type":"string","description":"ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent."},"shopeepay":{"title":"param","type":"object","properties":{},"description":"If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method."},"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"]},"stripe_balance":{"title":"param","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment"}},"description":"This hash contains details about the Stripe balance payment method.","x-stripeMostCommon":["account","financial_account"]},"sunbit":{"title":"param","type":"object","properties":{},"description":"If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method."},"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","bizum","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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","request_overcapture","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","verification_method"]},{"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"]},"company_details":{"description":"Registration details about the buyer's organization.","anyOf":[{"title":"company_details_param","type":"object","properties":{"registered_address":{"description":"The address the company or entity is registered with.","anyOf":[{"title":"registered_address_param","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."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (e.g., 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."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name."},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type."},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["","ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"]},"vat":{"maxLength":5000,"type":"string","description":"VAT id number"}},"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},{"type":"string","enum":[""]}]},"reference":{"maxLength":5000,"type":"string","description":"An identifier or reference that this payment corresponds to."}},"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":[""]}]},"bizum":{"description":"If this is a `bizum` PaymentMethod, this sub-hash contains details about the Bizum payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"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."},"mandate_options":{"title":"payment_intent_payment_method_options_mandate_options_param","type":"object","properties":{"expires_at":{"type":"integer","description":"Expiry date of the mandate.","format":"unix-time"}},"description":"Details of the BLIK mandate","x-stripeMostCommon":["expires_at"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-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_decremental_authorization":{"type":"string","description":"Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.","enum":["if_available","never"]},"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_partial_authorization":{"type":"string","description":"Request partial authorization on 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_credential_usage":{"type":"string","description":"Set to indicate the future transaction type usage for the card being set up.","enum":["installment","recurring","unscheduled"],"x-stripeEnum":{"kind":"open","values":[{"description":"Use `installment` if the payment method will be used for future off-session installment payments that you manage. This is distinct from [`payment_method_options.card.installments`](/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments), which is used for issuer installments like [Mexico installments](/payments/meses-sin-intereses/accept-a-payment) and [Japan installments](/payments/jp-installments/accept-a-payment).","value":"installment"},{"description":"Use `recurring` if the payment method will be used for off-session payment that occurs at regularly scheduled intervals.","value":"recurring"},{"description":"Use `unscheduled` if the payment method will be used for off-session payment that does not occur at regular intervals on a scheduled date.","value":"unscheduled"}]}},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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":[""]}]},"statement_details":{"description":"Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.","anyOf":[{"title":"statement_details_param","type":"object","properties":{"address":{"title":"statement_details_address_param","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":"Please pass in an address that is within your Stripe user account country","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"phone":{"maxLength":5000,"type":"string","description":"Phone number (e.g., a toll-free number that customers can call)"}},"x-stripeMostCommon":["address","phone"]},{"type":"string","enum":[""]}]},"stored_credential_usage":{"type":"string","description":"Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards).\n\n When making an off session payment with a previously saved card (that was saved with a SetupIntent or with a PaymentIntent with `setup_future_usage`), set this parameter to indicate the type of transaction.\n\n You can set this parameter at any time before or during PaymentIntent confirmation, and confirm this PaymentIntent with `off_session=true`.\n\n Note that this parameter is currently unsupported with the `setup_future_usage` parameter.","enum":["installment","recurring","unscheduled"],"x-stripeBypassValidation":true},"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_by","capture_delay","capture_delay_days","capture_method","commerce_type","credential_on_file","cvc_token","installments","mandate_options","mcc","moto","network","network_options","network_token","payment_details","recipient_details","request_card_account_update","request_decremental_authorization","request_extended_authorization","request_flexible_extended_authorization","request_forced_capture","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_credential_usage","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `manual` if you intend to place the funds on hold and want to override the top-level `capture_method` value for this payment method.","value":"manual"},{"description":"Use `manual_preferred` if you prefer `manual` capture_method but support falling back to `automatic` based on the presented payment method.","value":"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":["aade_data","buy_now_pay_later_options","capture_by","capture_delay","capture_delay_days","capture_method","installments","payment_details","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":["amount_reconciliation","deposit_options","mode","setup_future_usage","transaction_verification_options"]},{"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":[""]}]},"gopay":{"description":"If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay 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":[""]}]},"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":[""]}]},"id_bank_transfer":{"description":"If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"expires_after":{"type":"integer","description":"The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now."},"expires_at":{"type":"integer","description":"The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.","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-stripeMostCommon":["expires_after","expires_at","on_existing_payment_intent","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":[""]}]},"supplementary_purchase_data":{"description":"Supplementary Purchase Data for the corresponding Klarna payment","anyOf":[{"title":"supplementary_purchase_data_param","type":"object","properties":{"bus_reservation_details":{"description":"Supplementary bus reservation details.","anyOf":[{"type":"array","items":{"title":"bus_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"event_reservation_details":{"description":"Supplementary event reservation details.","anyOf":[{"type":"array","items":{"title":"event_reservation_details_param","type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the event.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"ends_at":{"type":"integer","description":"End timestamp of the event.","format":"unix-time"},"event_company_name":{"maxLength":255,"type":"string","description":"Company selling the ticket."},"event_name":{"maxLength":255,"type":"string","description":"Name of the event."},"event_type":{"type":"string","description":"Type of the event.","enum":["concert","conference","digital_education","expo","festival","in_person_education","sport","tour"],"x-stripeEnum":{"kind":"open","values":[{"description":"Musical performance or concert event.","value":"concert"},{"description":"Professional conference or meeting event.","value":"conference"},{"description":"Online or digital educational event.","value":"digital_education"},{"description":"Exhibition or trade show event.","value":"expo"},{"description":"Festival or celebration event.","value":"festival"},{"description":"In-person educational event or workshop.","value":"in_person_education"},{"description":"Sporting event or competition.","value":"sport"},{"description":"Guided tour or sightseeing event.","value":"tour"}]}},"insurances":{"type":"array","description":"List of insurances for this event.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"starts_at":{"type":"integer","description":"Start timestamp of the event.","format":"unix-time"},"venue_name":{"maxLength":255,"type":"string","description":"Name of the venue where the event takes place."}},"x-stripeMostCommon":["access_controlled_venue","address","affiliate_name","ends_at","event_company_name","event_name","event_type","insurances","starts_at","venue_name"]}},{"type":"string","enum":[""]}]},"ferry_reservation_details":{"description":"Supplementary ferry reservation details.","anyOf":[{"type":"array","items":{"title":"ferry_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"insurances":{"description":"Supplementary insurance details.","anyOf":[{"type":"array","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},{"type":"string","enum":[""]}]},"marketplace_sellers":{"description":"Supplementary marketplace seller details.","anyOf":[{"type":"array","items":{"title":"marketplace_seller_param","type":"object","properties":{"line_item_references":{"type":"array","description":"The references to line items for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"marketplace_seller_address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"The address of the selling or delivering merchant.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"marketplace_seller_name":{"maxLength":255,"type":"string","description":"The name of the marketplace seller."},"marketplace_seller_reference":{"maxLength":255,"type":"string","description":"The unique identifier for the marketplace seller."},"number_of_transactions":{"type":"integer","description":"The number of transactions the sub-seller completed in the last 12 months."},"product_category":{"type":"string","description":"The category of the product.","enum":["accessories","appliances","apps_and_games","arts_crafts_and_sewing","automotive","baby","baby_clothing","bags_and_purses","beauty","books","cds_and_vinyl","cell_phones_and_accessories","collectibles_and_fine_arts","digital_music","electronics","grocery_and_gourmet_food","handmade","health_and_personal_care","home_and_kitchen","industrial_and_scientific","luggage_and_travel_gear","magazine_subscriptions","men_clothing","musical_instruments","office_products","patio_lawn_and_garden","pet_supplies","shoes","software","sports_and_outdoors","tools_and_home_improvement","toys_and_games","video_games","women_clothing"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fashion and general accessories.","value":"accessories"},{"description":"Home and kitchen appliances.","value":"appliances"},{"description":"Mobile and software applications and games.","value":"apps_and_games"},{"description":"Art supplies, craft materials, and sewing products.","value":"arts_crafts_and_sewing"},{"description":"Automotive parts, accessories, and tools.","value":"automotive"},{"description":"Baby care products and equipment.","value":"baby"},{"description":"Clothing for babies and infants.","value":"baby_clothing"},{"description":"Handbags, purses, and bags.","value":"bags_and_purses"},{"description":"Cosmetics, skincare, and beauty products.","value":"beauty"},{"description":"Physical books and publications.","value":"books"},{"description":"Music in physical media formats.","value":"cds_and_vinyl"},{"description":"Mobile phones and related accessories.","value":"cell_phones_and_accessories"},{"description":"Collectible items and fine art pieces.","value":"collectibles_and_fine_arts"},{"description":"Digital music downloads and streaming.","value":"digital_music"},{"description":"Consumer electronics and devices.","value":"electronics"},{"description":"Food, beverages, and gourmet products.","value":"grocery_and_gourmet_food"},{"description":"Handcrafted and artisanal products.","value":"handmade"},{"description":"Health products and personal care items.","value":"health_and_personal_care"},{"description":"Home furnishings and kitchen supplies.","value":"home_and_kitchen"},{"description":"Industrial equipment and scientific supplies.","value":"industrial_and_scientific"},{"description":"Luggage, suitcases, and travel accessories.","value":"luggage_and_travel_gear"},{"description":"Magazine and periodical subscriptions.","value":"magazine_subscriptions"},{"description":"Clothing and apparel for men.","value":"men_clothing"},{"description":"Musical instruments and equipment.","value":"musical_instruments"},{"description":"Office supplies and business products.","value":"office_products"},{"description":"Outdoor, lawn, and garden products.","value":"patio_lawn_and_garden"},{"description":"Pet care products and supplies.","value":"pet_supplies"},{"description":"Footwear for all categories.","value":"shoes"},{"description":"Computer software and applications.","value":"software"},{"description":"Sports equipment and outdoor gear.","value":"sports_and_outdoors"},{"description":"Tools and home improvement supplies.","value":"tools_and_home_improvement"},{"description":"Toys, games, and children's entertainment.","value":"toys_and_games"},{"description":"Video games and gaming consoles.","value":"video_games"},{"description":"Clothing and apparel for women.","value":"women_clothing"}]}},"seller_last_login_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last logged in.","format":"unix-time"},"seller_rating":{"type":"string","description":"The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.","enum":["high","low","medium","very_high","very_low"],"x-stripeEnum":{"kind":"open","values":[{"description":"High rating.","value":"high"},{"description":"Low rating.","value":"low"},{"description":"Medium rating.","value":"medium"},{"description":"Very high rating.","value":"very_high"},{"description":"Very low rating.","value":"very_low"}]}},"seller_registered_at":{"type":"integer","description":"The date when the seller's account with the marketplace was created.","format":"unix-time"},"seller_updated_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last updated.","format":"unix-time"},"shipping_references":{"type":"array","description":"The references to shipping addresses for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"volume_of_transactions":{"type":"integer","description":"The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units."}},"x-stripeMostCommon":["line_item_references","marketplace_seller_address","marketplace_seller_name","marketplace_seller_reference","number_of_transactions","product_category","seller_last_login_at","seller_rating","seller_registered_at","seller_updated_at","shipping_references","volume_of_transactions"]}},{"type":"string","enum":[""]}]},"round_trip_reservation_details":{"description":"Supplementary round trip reservation details.","anyOf":[{"type":"array","items":{"title":"round_trip_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"train_reservation_details":{"description":"Supplementary train reservation details.","anyOf":[{"type":"array","items":{"title":"train_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"vouchers":{"description":"Voucher details, such as a gift card or discount code.","anyOf":[{"type":"array","items":{"title":"voucher_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for this voucher."},"ends_at":{"type":"integer","description":"The voucher validity end time.","format":"unix-time"},"starts_at":{"type":"integer","description":"The voucher validity start time.","format":"unix-time"},"voucher_company":{"maxLength":255,"type":"string","description":"The issuer or provider of this voucher."},"voucher_name":{"maxLength":255,"type":"string","description":"The name or reference to identify the voucher."},"voucher_type":{"type":"string","description":"The type of this voucher.","enum":["digital_product","discount","gift_card","physical_product","services"],"x-stripeEnum":{"kind":"open","values":[{"description":"Voucher for digital goods or downloadable content.","value":"digital_product"},{"description":"Voucher that provides a discount on purchases.","value":"discount"},{"description":"Voucher that can be redeemed for merchandise or services.","value":"gift_card"},{"description":"Voucher for physical merchandise or goods.","value":"physical_product"},{"description":"Voucher for services or experiences.","value":"services"}]}}},"x-stripeMostCommon":["affiliate_name","ends_at","starts_at","voucher_company","voucher_name","voucher_type"]}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["bus_reservation_details","customer","event_reservation_details","ferry_reservation_details","insurances","marketplace_sellers","round_trip_reservation_details","train_reservation_details","vouchers"]},{"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 (Link is also known as Onelink in the UK).","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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-stripeMostCommon":["capture_method","setup_future_usage"]},{"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"]},"line_items":{"type":"array","description":"The line items purchased by the customer.","items":{"title":"line_item_param","required":["name","quantity","unit_amount"],"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."},"name":{"maxLength":127,"type":"string","description":"Descriptive name of the line item."},"quantity":{"type":"integer","description":"Quantity of the line item. Must be a positive number."},"sku":{"maxLength":127,"type":"string","description":"Client facing stock keeping unit, article number or similar."},"sold_by":{"maxLength":5000,"type":"string","description":"The Stripe account ID of the connected account that sells the item."},"tax":{"title":"line_item_tax_param","required":["amount","behavior"],"type":"object","properties":{"amount":{"type":"integer","description":"The tax for a single unit of the line item in minor units. Cannot be a negative number."},"behavior":{"type":"string","description":"The tax behavior for the line item.","enum":["exclusive","inclusive"]}},"description":"The tax information for the line item.","x-stripeMostCommon":["amount","behavior"]},"unit_amount":{"type":"integer","description":"Price for a single unit of the line item in minor units. Cannot be a negative number."}},"x-stripeMostCommon":["category","description","name","quantity","sku","sold_by","tax","unit_amount"]}},"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."},"reference_id":{"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"]},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":32,"type":"string"}}},"x-stripeMostCommon":["allow_delayed_notification","capture_method","line_items","preferred_locale","reference","reference_id","risk_correlation_id","setup_future_usage","subsellers"]},{"type":"string","enum":[""]}]},"paypay":{"description":"If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["setup_future_usage"]},{"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"},"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"amount_type":{"type":"string","description":"Type of amount. Defaults to `maximum`.","enum":["fixed","maximum"]},"currency":{"type":"string","description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.","format":"currency"},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged. Defaults to `monthly`.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]},"reference":{"maxLength":35,"type":"string","description":"Subscription name displayed to buyers in their bank app. Defaults to the displayable business name."},"start_date":{"maxLength":5000,"type":"string","description":"Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date."}},"description":"Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.","x-stripeMostCommon":["amount","amount_includes_iof","amount_type","currency","end_date","payment_schedule","reference","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"]}},"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":[""]}]},"qris":{"description":"If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS 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":[""]}]},"rechnung":{"description":"If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{}},{"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-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"},{"description":"Use `off_session` if your customer may or may not be present in your checkout flow.","value":"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-stripeMostCommon":["capture_method","setup_future_usage"]},{"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"scalapay":{"description":"If this is a `scalapay` PaymentMethod, this sub-hash contains details about the ScalaPay 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":[""]}]},"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":[""]}]},"sequra":{"description":"If this is a `sequra` PaymentMethod, this sub-hash contains details about the SeQura 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","setup_future_usage"]},{"type":"string","enum":[""]}]},"shopeepay":{"description":"If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay 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":[""]}]},"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":[""]}]},"stripe_balance":{"description":"If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance 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"]}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"sunbit":{"description":"If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit 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"]}},"x-stripeMostCommon":["capture_method","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","off_session"]}},"x-stripeMostCommon":["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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"manual_entry":{"title":"linked_account_options_manual_entry_param","required":["mode"],"type":"object","properties":{"mode":{"type":"string","description":"Settings for configuring manual entry of account details.","enum":["automatic","custom"]}},"description":"Customize manual entry behavior","x-stripeMostCommon":["mode"]},"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","inferred_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"],"x-stripeEnum":{"kind":"open","values":[{"description":"For purchases of physical or digital goods, both recurring and one-off.","value":"goods"},{"description":"For anything other than the purchase of goods or services, like donations, loan repayments, and so on.","value":"other"},{"description":"For purchases of services, like streaming services, web hosting, and so on.","value":"services"},{"description":"This is the default value for payment methods when transaction_purpose is not set.","value":"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, android, or mini_program."},"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-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"}]}}},"x-stripeMostCommon":["app_id","buyer_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","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","link","mb_way","mobilepay","momo","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","sequra","shopeepay","sofort","stripe_balance","sunbit","swish","touch_n_go","truemoney","twint","upi","us_bank_account","vipps","wechat_pay","wero","zip"]},"radar_options":{"title":"radar_options_with_peval_options","type":"object","properties":{"referrer":{"description":"The referrer URL of the current checkout session. You can use this to supply session-level referrer data when a Radar Session isn't available or doesn't contain a referrer.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"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","referrer","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)."},"secret_key_confirmation":{"type":"string","description":"Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.","enum":["optional","required"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the transfer. Often useful for displaying to users."},"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."},"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.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"payment_data":{"title":"transfer_data_payment_data_params","type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the destination payment. Often useful for displaying to users."},"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.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"description":"The data with which to populate the destination payment.","x-stripeMostCommon":["description","metadata"]}},"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":{"allowed_payment_method_types":{"style":"deepObject","explode":true},"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},"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"}}}}},"x-stableId":"create_payment_intent"}},"/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"}},"x-stripeLessCommon":true},{"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-paymentintents).","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"}}}}},"x-stableId":"search_payment_intents"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_payment_intent_via_client_key"},"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":{"allowed_payment_method_types":{"type":"array","description":"The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boku_promptpay","boleto","capchase_pay","card","card_present","cashapp","check_scan","click_to_pay","crypto","customer_balance","demo_pay","duitnow","dummy_auth_push","dummy_passthrough_card","edenred","eps","fpx","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","kriya","link","mb_way","mobilepay","momo","mondu","multibanco","naver_pay","netbanking","ng_bank","ng_bank_transfer","ng_card","ng_market","ng_ussd","ng_wallet","nz_bank_account","octopus","oxxo","p24","paper_check","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shop_pay","shopeepay","sofort","south_korea_market","stripe_balance","sunbit","swish","tamara","test_pay","touch_n_go","truemoney","twint","upi","us_bank_account","us_cash_voucher","vipps","wechat_pay","wero","zip"],"x-stripeBypassValidation":true}},"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","ev_charging","fleet_data"]},"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","quantity_precision","tax","unit_cost","unit_cost_precision","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 and spaces 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 and spaces are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"surcharge":{"description":"Contains information about the surcharge portion of the amount.","anyOf":[{"title":"amount_details_surcharge_param","type":"object","properties":{"amount":{"description":"Portion of the amount that corresponds to a surcharge.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_validation":{"type":"string","description":"Indicate whether to enforce validations on the surcharge amount.","enum":["","automatic","disabled","enabled"]}},"x-stripeMostCommon":["amount","enforce_validation"]},{"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","tip"]},{"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://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead."},"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://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the 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","bizum","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","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","sequra","shopeepay","sofort","stripe_balance","sunbit","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"}},"fx_quote":{"maxLength":5000,"type":"string","description":"The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount."},"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_data":{"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"}},"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":{"car_rental":{"title":"car_rental","required":["booking_number","days_rented","pickup_at","return_at"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the car rental."},"car_class_code":{"maxLength":4,"type":"string","description":"Class code of the car."},"car_make":{"maxLength":10,"type":"string","description":"Make of the car."},"car_model":{"maxLength":10,"type":"string","description":"Model of the car."},"company":{"maxLength":26,"type":"string","description":"The name of the rental car company."},"customer_service_phone_number":{"maxLength":16,"type":"string","description":"The customer service phone number of the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"distance":{"title":"car_rental_distance","type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"The details of the distance traveled during the rental period.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"car_rental_driver","required":["name"],"type":"object","properties":{"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the car reservation."}},"x-stripeMostCommon":["driver_identification_number","driver_tax_number","name"]}},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["extra_mileage","gas","late_return","one_way_service","parking_violation"]}},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep nor cancel their booking."},"pickup_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":"Car pick-up address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"pickup_at":{"type":"integer","description":"Car pick-up time. Measured in seconds since the Unix epoch.","format":"unix-time"},"pickup_location_name":{"maxLength":38,"type":"string","description":"Name of the pickup location."},"rate_amount":{"type":"integer","description":"Rental rate."},"rate_interval":{"type":"string","description":"The frequency at which the rate amount is applied. One of `day`, `week` or `month`","enum":["day","month","week"]},"renter_name":{"maxLength":100,"type":"string","description":"The name of the person or entity renting the car."},"return_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":"Car return address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"return_at":{"type":"integer","description":"Car return time. Measured in seconds since the Unix epoch.","format":"unix-time"},"return_location_name":{"maxLength":38,"type":"string","description":"Name of the return location."},"tax_exempt":{"type":"boolean","description":"Indicates whether the goods or services are tax-exempt or tax is not collected."},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"The vehicle identification number."}},"description":"Car rental details for this PaymentIntent.","x-stripeMostCommon":["affiliate","booking_number","car_class_code","car_make","car_model","company","customer_service_phone_number","days_rented","delivery","distance","drivers","extra_charges","no_show","pickup_address","pickup_at","pickup_location_name","rate_amount","rate_interval","renter_name","return_address","return_at","return_location_name","tax_exempt","vehicle_identification_number"]},"car_rental_data":{"description":"Car rental data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"car_rental_data","required":["drop_off","pickup","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."}},"description":"Affiliate (such as travel agency) details for the rental.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the car rental."},"carrier_name":{"maxLength":255,"type":"string","description":"Name of the car rental company."},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"distance":{"title":"distance","required":["amount","unit"],"type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"Distance details for the rental.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"List of drivers for the rental.","items":{"title":"driver","required":["name"],"type":"object","properties":{"date_of_birth":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Day of birth (1-31)."},"month":{"type":"integer","description":"Month of birth (1-12)."},"year":{"type":"integer","description":"Year of birth (must be greater than 1900)."}},"description":"Driver's date of birth.","x-stripeMostCommon":["day","month","year"]},"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":198,"type":"string","description":"Driver's full name."}},"x-stripeMostCommon":["date_of_birth","driver_identification_number","driver_tax_number","name"]}},"drop_off":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Drop-off location details.","x-stripeMostCommon":["address","location_name","time"]},"insurances":{"type":"array","description":"Insurance details for the rental.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["liability_supplement","loss_damage_waiver","other","partial_damage_waiver","personal_accident","personal_effects"],"x-stripeEnum":{"kind":"open","values":[{"description":"Supplemental liability insurance coverage.","value":"liability_supplement"},{"description":"Agreement waiving responsibility for loss or damage to the vehicle.","value":"loss_damage_waiver"},{"description":"Other types of insurance coverage.","value":"other"},{"description":"Agreement limiting responsibility for loss or damage to the vehicle.","value":"partial_damage_waiver"},{"description":"Insurance covering personal accidents during the rental period.","value":"personal_accident"},{"description":"Insurance covering personal belongings during the rental period.","value":"personal_effects"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Indicates if the customer was a no-show."},"pickup":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Pickup location details.","x-stripeMostCommon":["address","location_name","time"]},"renter_name":{"maxLength":198,"type":"string","description":"Name of the person renting the vehicle."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total amount in cents."},"currency":{"type":"string","description":"Currency of the amount.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code applied to the rental."},"maximum_free_miles_or_kilometers":{"type":"integer","description":"Maximum number of free miles or kilometers included."}},"description":"Discount details for the rental.","x-stripeMostCommon":["corporate_client_code","coupon","maximum_free_miles_or_kilometers"]},"extra_charges":{"type":"array","description":"Additional charges for the rental.","items":{"title":"extra_charge","required":["amount","type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["extra_mileage","gas","gps","late_charge","one_way_drop_off","other","parking","phone","regular_mileage","towing"]}},"x-stripeMostCommon":["amount","type"]}},"rate_per_unit":{"type":"integer","description":"Rate per unit for the rental."},"rate_unit":{"type":"string","description":"Unit of measurement for the rate.","enum":["days","kilometers","miles","months","weeks"],"x-stripeEnum":{"kind":"open","values":[{"description":"Rental rate charged per day.","value":"days"},{"description":"Rental rate charged per kilometer.","value":"kilometers"},{"description":"Rental rate charged per mile.","value":"miles"},{"description":"Rental rate charged per month.","value":"months"},{"description":"Rental rate charged per week.","value":"weeks"}]}},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates if the transaction is tax exempt."},"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate applied."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the rental.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total cost breakdown for the rental.","x-stripeMostCommon":["amount","currency","discounts","extra_charges","rate_per_unit","rate_unit","tax"]},"vehicle":{"title":"vehicle","type":"object","properties":{"make":{"maxLength":40,"type":"string","description":"Make of the rental vehicle."},"model":{"maxLength":40,"type":"string","description":"Model of the rental vehicle."},"odometer":{"type":"integer","description":"Odometer reading at the time of rental."},"type":{"type":"string","description":"Type of the rental vehicle.","enum":["cargo_van","compact","economy","exotic","exotic_suv","fifteen_passenger_van","four_wheel_drive","full_size","intermediate","large_suv","large_truck","luxury","medium_suv","midsize","mini","minivan","miscellaneous","moped","moving_van","premium","regular","small_medium_truck","small_suv","special","standard","stretch","subcompact","taxi","twelve_foot_truck","twelve_passenger_van","twenty_foot_truck","twenty_four_foot_truck","twenty_six_foot_truck","unique"],"x-stripeEnum":{"kind":"open","values":[{"description":"Van designed for cargo transport.","value":"cargo_van"},{"description":"Compact car.","value":"compact"},{"description":"Economy-class car.","value":"economy"},{"description":"Exotic or high-performance vehicle.","value":"exotic"},{"description":"Exotic or luxury sport utility vehicle.","value":"exotic_suv"},{"description":"Van with capacity for fifteen passengers.","value":"fifteen_passenger_van"},{"description":"Four-wheel-drive vehicle.","value":"four_wheel_drive"},{"description":"Full-sized car.","value":"full_size"},{"description":"Intermediate-sized car.","value":"intermediate"},{"description":"Large sport utility vehicle.","value":"large_suv"},{"description":"Large truck.","value":"large_truck"},{"description":"Luxury car.","value":"luxury"},{"description":"Medium sport utility vehicle.","value":"medium_suv"},{"description":"Midsize car.","value":"midsize"},{"description":"Mini-sized car.","value":"mini"},{"description":"Minivan.","value":"minivan"},{"description":"Other miscellaneous vehicle types.","value":"miscellaneous"},{"description":"Moped or motorized scooter.","value":"moped"},{"description":"Van designed for moving goods.","value":"moving_van"},{"description":"Premium car.","value":"premium"},{"description":"Regular vehicle type.","value":"regular"},{"description":"Small to medium truck.","value":"small_medium_truck"},{"description":"Small sport utility vehicle.","value":"small_suv"},{"description":"Special vehicle type.","value":"special"},{"description":"Standard-sized car.","value":"standard"},{"description":"Stretch limousine.","value":"stretch"},{"description":"Subcompact car.","value":"subcompact"},{"description":"Taxi or for-hire vehicle.","value":"taxi"},{"description":"Truck with twelve-foot cargo space.","value":"twelve_foot_truck"},{"description":"Van with capacity for twelve passengers.","value":"twelve_passenger_van"},{"description":"Truck with twenty-foot cargo space.","value":"twenty_foot_truck"},{"description":"Truck with twenty-four-foot cargo space.","value":"twenty_four_foot_truck"},{"description":"Truck with twenty-six-foot cargo space.","value":"twenty_six_foot_truck"},{"description":"Unique or specialty vehicle.","value":"unique"}]}},"vehicle_class":{"type":"string","description":"Class of the rental vehicle.","enum":["business","economy","first_class","premium_economy"]},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"Vehicle identification number (VIN)."}},"description":"Vehicle details for the rental.","x-stripeMostCommon":["make","model","odometer","type","vehicle_class","vehicle_identification_number"]}},"x-stripeMostCommon":["affiliate","booking_number","carrier_name","customer_service_phone_number","days_rented","distance","drivers","drop_off","insurances","no_show_indicator","pickup","renter_name","total","vehicle"]}},{"type":"string","enum":[""]}]},"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":[""]}]},"event_details":{"title":"event","required":["name"],"type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"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 event location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"company":{"maxLength":5000,"type":"string","description":"The name of the company"},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"ends_at":{"type":"integer","description":"Event end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"genre":{"maxLength":5000,"type":"string","description":"Type of the event entertainment (concert, sports event etc)"},"name":{"maxLength":5000,"type":"string","description":"The name of the event."},"starts_at":{"type":"integer","description":"Event start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Event details for this PaymentIntent","x-stripeMostCommon":["access_controlled_venue","address","affiliate","company","delivery","ends_at","genre","name","starts_at"]},"flight":{"title":"flight","required":["segments"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"agency_number":{"maxLength":8,"type":"string","description":"The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking."},"carrier":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"passenger_name":{"maxLength":26,"type":"string","description":"The name of the person or entity on the reservation."},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation.","items":{"title":"flight_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the flight reservation."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"The individual flight segments associated with the trip.","items":{"title":"flight_segment","required":["departs_at"],"type":"object","properties":{"amount":{"type":"integer","description":"The flight segment amount."},"arrival_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the arrival airport."},"arrives_at":{"type":"integer","description":"The arrival time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"carrier":{"maxLength":2,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment."},"departs_at":{"type":"integer","description":"The departure time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"departure_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the departure airport."},"flight_number":{"maxLength":4,"type":"string","description":"The flight number associated with the segment"},"service_class":{"type":"string","description":"The fare class for the segment.","enum":["business","economy","first","premium_economy"]}},"x-stripeMostCommon":["amount","arrival_airport","arrives_at","carrier","departs_at","departure_airport","flight_number","service_class"]}},"ticket_number":{"maxLength":14,"type":"string","description":"The ticket number associated with the travel reservation."}},"description":"Flight reservation details for this PaymentIntent","x-stripeMostCommon":["affiliate","agency_number","carrier","delivery","passenger_name","passengers","segments","ticket_number"]},"flight_data":{"description":"Flight data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"flight_data","required":["segments","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."},"travel_authorization_code":{"maxLength":64,"type":"string","description":"Code provided by the company to a travel agent authorizing ticket issuance."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name","travel_authorization_code"]},"booking_number":{"maxLength":255,"type":"string","description":"Reservation reference."},"computerized_reservation_system":{"maxLength":4,"type":"string","description":"Computerized reservation system used to make the reservation and purchase the ticket."},"endorsements_and_restrictions":{"maxLength":20,"type":"string","description":"Ticket restrictions."},"insurances":{"type":"array","description":"List of insurances.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Insurance cost."},"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Insurance company name."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering lost, damaged, or delayed baggage.","value":"baggage"},{"description":"Insurance covering losses due to airline bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering flight cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during travel.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"passengers":{"type":"array","description":"List of passengers.","items":{"title":"passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Passenger's full name."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"List of flight segments.","items":{"title":"segment","required":["arrival","carrier_code","departure","service_class"],"type":"object","properties":{"amount":{"type":"integer","description":"Segment fare amount."},"arrival":{"title":"arrival","required":["airport"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Arrival airport IATA code."},"arrives_at":{"type":"integer","description":"Arrival date/time.","format":"unix-time"},"city":{"maxLength":99,"type":"string","description":"Arrival city."},"country":{"maxLength":5000,"type":"string","description":"Arrival country."}},"description":"Arrival details.","x-stripeMostCommon":["airport","arrives_at","city","country"]},"carrier_code":{"maxLength":5000,"type":"string","description":"Airline carrier code."},"carrier_name":{"maxLength":25,"type":"string","description":"Carrier name."},"currency":{"type":"string","description":"Segment currency.","format":"currency"},"departure":{"title":"departure","required":["airport","departs_at"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Departure airport IATA code."},"city":{"maxLength":99,"type":"string","description":"Departure city."},"country":{"maxLength":5000,"type":"string","description":"Departure country."},"departs_at":{"type":"integer","description":"Departure date/time.","format":"unix-time"}},"description":"Departure details.","x-stripeMostCommon":["airport","city","country","departs_at"]},"exchange_ticket_number":{"maxLength":20,"type":"string","description":"Exchange ticket number."},"fare_basis_code":{"maxLength":20,"type":"string","description":"Fare basis code."},"fees":{"type":"integer","description":"Additional fees."},"flight_number":{"maxLength":20,"type":"string","description":"Flight number."},"is_stop_over_indicator":{"type":"boolean","description":"Stopover indicator."},"refundable":{"type":"boolean","description":"Refundable ticket indicator."},"service_class":{"type":"string","description":"Class of service.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating.","value":"business"},{"description":"Economy class seating.","value":"economy"},{"description":"First class seating with premium amenities.","value":"first_class"},{"description":"Premium economy class with enhanced seating and services.","value":"premium_economy"}]}},"tax_amount":{"type":"integer","description":"Tax amount for segment."},"ticket_number":{"maxLength":20,"type":"string","description":"Ticket number."}},"x-stripeMostCommon":["amount","arrival","carrier_code","carrier_name","currency","departure","exchange_ticket_number","fare_basis_code","fees","flight_number","is_stop_over_indicator","refundable","service_class","tax_amount","ticket_number"]}},"ticket_electronically_issued_indicator":{"type":"boolean","description":"Electronic ticket indicator."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total flight amount."},"credit_reason":{"type":"string","description":"Reason for credit.","enum":["other","partial_ticket_refund","passenger_transport_ancillary_cancellation","ticket_and_ancillary_cancellation","ticket_cancellation"],"x-stripeEnum":{"kind":"open","values":[{"description":"Other credit reasons.","value":"other"},{"description":"Partial refund of the ticket cost.","value":"partial_ticket_refund"},{"description":"Cancellation of passenger transport and ancillary services.","value":"passenger_transport_ancillary_cancellation"},{"description":"Cancellation of both ticket and ancillary services.","value":"ticket_and_ancillary_cancellation"},{"description":"Cancellation of the ticket only.","value":"ticket_cancellation"}]}},"currency":{"type":"string","description":"Total currency.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."}},"description":"Discount details.","x-stripeMostCommon":["corporate_client_code"]},"extra_charges":{"type":"array","description":"Additional charges.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of additional charges."},"type":{"type":"string","description":"Type of additional charges.","enum":["additional_fees","ancillary_service_charges","exchange_fee"],"x-stripeEnum":{"kind":"open","values":[{"description":"Additional fees charged for the flight.","value":"additional_fees"},{"description":"Charges for ancillary services such as baggage, seat selection, or meals.","value":"ancillary_service_charges"},{"description":"Fee charged for exchanging or changing the ticket.","value":"exchange_fee"}]}}},"x-stripeMostCommon":["amount","type"]}},"tax":{"title":"tax","type":"object","properties":{"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown.","x-stripeMostCommon":["tax_items"]}},"description":"Total cost breakdown.","x-stripeMostCommon":["amount","credit_reason","currency","discounts","extra_charges","tax"]},"transaction_type":{"type":"string","description":"Type of flight transaction.","enum":["exchange_ticket","miscellaneous","refund","ticket_purchase"],"x-stripeEnum":{"kind":"open","values":[{"description":"Exchange or modification of an existing ticket.","value":"exchange_ticket"},{"description":"Other miscellaneous flight-related transactions.","value":"miscellaneous"},{"description":"Refund for a canceled or unused ticket.","value":"refund"},{"description":"Purchase of a new flight ticket.","value":"ticket_purchase"}]}}},"x-stripeMostCommon":["affiliate","booking_number","computerized_reservation_system","endorsements_and_restrictions","insurances","passengers","segments","ticket_electronically_issued_indicator","total","transaction_type"]}},{"type":"string","enum":[""]}]},"lodging":{"title":"lodging","required":["checkin_at","checkout_at"],"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 lodging location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"adults":{"type":"integer","description":"The number of adults on the booking"},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the lodging reservation."},"category":{"type":"string","description":"The lodging category","enum":["hotel","vacation_rental"]},"checkin_at":{"type":"integer","description":"Lodging check-in time. Measured in seconds since the Unix epoch.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Lodging check-out time. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"The customer service phone number of the lodging company."},"daily_room_rate_amount":{"type":"integer","description":"The daily lodging room rate."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["gift_shop","laundry","mini_bar","other","restaurant","telephone"]}},"fire_safety_act_compliance":{"type":"boolean","description":"Indicates whether the lodging location is compliant with the Fire Safety Act."},"name":{"maxLength":100,"type":"string","description":"The name of the lodging location."},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep their booking while failing to cancel the reservation."},"number_of_rooms":{"type":"integer","description":"The number of rooms on the booking"},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"lodging_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the lodging reservation."}},"x-stripeMostCommon":["name"]}},"property_phone_number":{"type":"string","description":"The phone number of the lodging location."},"room_class":{"maxLength":5000,"type":"string","description":"The room class for this purchase."},"room_nights":{"type":"integer","description":"The number of room nights"},"total_room_tax_amount":{"type":"integer","description":"The total tax amount associating with the room reservation."},"total_tax_amount":{"type":"integer","description":"The total tax amount"}},"description":"Lodging reservation details for this PaymentIntent","x-stripeMostCommon":["address","adults","affiliate","booking_number","category","checkin_at","checkout_at","customer_service_phone_number","daily_room_rate_amount","delivery","extra_charges","fire_safety_act_compliance","name","no_show","number_of_rooms","passengers","property_phone_number","room_class","room_nights","total_room_tax_amount","total_tax_amount"]},"lodging_data":{"description":"Lodging data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"lodging_data","required":["checkin_at","checkout_at","total"],"type":"object","properties":{"accommodation":{"title":"accommodation","type":"object","properties":{"accommodation_type":{"type":"string","description":"Type of accommodation.","enum":["apartment","cabana","house","penthouse","room","standard","suite","villa"],"x-stripeEnum":{"kind":"open","values":[{"description":"A self-contained apartment unit.","value":"apartment"},{"description":"A cabana or small cabin.","value":"cabana"},{"description":"A standalone house.","value":"house"},{"description":"A penthouse or top-floor luxury accommodation.","value":"penthouse"},{"description":"A standard room.","value":"room"},{"description":"A standard accommodation type.","value":"standard"},{"description":"A suite with multiple rooms or enhanced amenities.","value":"suite"},{"description":"A villa or luxury residence.","value":"villa"}]}},"bed_type":{"maxLength":20,"type":"string","description":"Bed type."},"daily_rate_amount":{"type":"integer","description":"Daily accommodation rate in cents."},"nights":{"type":"integer","description":"Number of nights."},"number_of_rooms":{"type":"integer","description":"Number of rooms, cabanas, apartments, and so on."},"rate_type":{"maxLength":20,"type":"string","description":"Rate type."},"smoking_indicator":{"type":"boolean","description":"Whether smoking is allowed."}},"description":"Accommodation details for the lodging.","x-stripeMostCommon":["accommodation_type","bed_type","daily_rate_amount","nights","number_of_rooms","rate_type","smoking_indicator"]},"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Affiliate partner name."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the lodging."},"checkin_at":{"type":"integer","description":"Check-in date.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Check-out date.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the lodging company."},"fire_safety_act_compliance_indicator":{"type":"boolean","description":"Whether the lodging is compliant with any hotel fire safety regulations."},"guests":{"type":"array","description":"List of guests for the lodging.","items":{"title":"guest","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Guest's full name."}},"x-stripeMostCommon":["name"]}},"host":{"title":"host","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":"Address of the host.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"country_of_domicile":{"maxLength":5000,"type":"string","description":"Host's country of domicile."},"host_reference":{"maxLength":255,"type":"string","description":"Reference number for the host."},"host_type":{"type":"string","description":"Type of host.","enum":["hostel","hotel","owner","rental_agency"],"x-stripeEnum":{"kind":"open","values":[{"description":"A hostel or shared accommodation facility.","value":"hostel"},{"description":"A hotel or hotel chain.","value":"hotel"},{"description":"The property owner directly managing the rental.","value":"owner"},{"description":"A rental agency managing the property.","value":"rental_agency"}]}},"name":{"maxLength":255,"type":"string","description":"Name of the lodging property or host."},"number_of_reservations":{"type":"integer","description":"Total number of reservations for the host."},"property_phone_number":{"type":"string","description":"Property phone number."},"registered_at":{"type":"integer","description":"Host's registration date.","format":"unix-time"}},"description":"Host details for the lodging.","x-stripeMostCommon":["address","country_of_domicile","host_reference","host_type","name","number_of_reservations","property_phone_number","registered_at"]},"insurances":{"type":"array","description":"List of insurances for the lodging.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Price of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering losses due to provider bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during the stay.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Whether the renter is a no-show."},"renter_id_number":{"maxLength":25,"type":"string","description":"Renter ID number for the lodging."},"renter_name":{"maxLength":198,"type":"string","description":"Renter name for the lodging."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total price of the lodging reservation in cents."},"cash_advances":{"type":"integer","description":"Cash advances in cents."},"currency":{"type":"string","description":"Currency of the total amount.","format":"currency"},"discounts":{"title":"discount","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code."}},"description":"Discount details for the lodging.","x-stripeMostCommon":["corporate_client_code","coupon"]},"extra_charges":{"type":"array","description":"Additional charges for the lodging.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["gift_shop","laundry","mini_bar","other","phone","restaurant"],"x-stripeEnum":{"kind":"open","values":[{"description":"Charges for gift shop purchases.","value":"gift_shop"},{"description":"Charges for laundry or cleaning services.","value":"laundry"},{"description":"Charges for mini bar consumption.","value":"mini_bar"},{"description":"Other miscellaneous charges.","value":"other"},{"description":"Charges for telephone services.","value":"phone"},{"description":"Charges for dining or food services.","value":"restaurant"}]}}},"x-stripeMostCommon":["amount","type"]}},"prepaid_amount":{"type":"integer","description":"Prepaid amount in cents."},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates whether the transaction is tax exempt."},"tax_items":{"type":"array","description":"Tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount in cents."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the lodging reservation.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total details for the lodging.","x-stripeMostCommon":["amount","cash_advances","currency","discounts","extra_charges","prepaid_amount","tax"]}},"x-stripeMostCommon":["accommodation","affiliate","booking_number","checkin_at","checkout_at","customer_service_phone_number","fire_safety_act_compliance_indicator","guests","host","insurances","no_show_indicator","renter_id_number","renter_name","total"]}},{"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":[""]}]},"subscription":{"title":"subscription","required":["name"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"auto_renewal":{"type":"boolean","description":"Info whether the subscription will be auto renewed upon expiry."},"billing_interval":{"title":"subscription_billing_interval","required":["count","interval"],"type":"object","properties":{"count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."},"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]}},"description":"Subscription billing details for this purchase.","x-stripeMostCommon":["count","interval"]},"ends_at":{"type":"integer","description":"Subscription end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"name":{"maxLength":5000,"type":"string","description":"Name of the product on subscription. e.g. Apple Music Subscription"},"starts_at":{"type":"integer","description":"Subscription start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Subscription details for this PaymentIntent","x-stripeMostCommon":["affiliate","auto_renewal","billing_interval","ends_at","name","starts_at"]}},"x-stripeMostCommon":["benefit","car_rental","car_rental_data","event_details","fleet_data","flight","flight_data","healthcare","location","lodging","lodging_data","money_services","subscription"]},{"type":"string","enum":[""]}]},"payment_method":{"maxLength":5000,"type":"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 an Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is an 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"]},"bizum":{"title":"param","type":"object","properties":{},"description":"If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method."},"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","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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."},"gopay":{"title":"param","type":"object","properties":{},"description":"If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"id_bank_transfer":{"title":"param","type":"object","properties":{"bank":{"type":"string","description":"Bank where the account is held.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true}},"description":"If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.","x-stripeMostCommon":["bank"]},"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 (Link is also known as Onelink in the UK)."},"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."},"paypay":{"title":"param","type":"object","properties":{},"description":"If this is a `paypay` PaymentMethod, this hash contains details about the PayPay 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."},"qris":{"title":"param","type":"object","properties":{},"description":"If this is a `qris` PaymentMethod, this hash contains details about the QRIS 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"]},"rechnung":{"title":"param","required":["dob"],"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 `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.","x-stripeMostCommon":["dob"]},"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."},"scalapay":{"title":"param","type":"object","properties":{},"description":"If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay 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"]},"sequra":{"title":"param","type":"object","properties":{},"description":"If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method."},"shared_payment_granted_token":{"type":"string","description":"ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent."},"shopeepay":{"title":"param","type":"object","properties":{},"description":"If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method."},"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"]},"stripe_balance":{"title":"param","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment"}},"description":"This hash contains details about the Stripe balance payment method.","x-stripeMostCommon":["account","financial_account"]},"sunbit":{"title":"param","type":"object","properties":{},"description":"If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method."},"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","bizum","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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","request_overcapture","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","verification_method"]},{"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"]},"company_details":{"description":"Registration details about the buyer's organization.","anyOf":[{"title":"company_details_param","type":"object","properties":{"registered_address":{"description":"The address the company or entity is registered with.","anyOf":[{"title":"registered_address_param","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."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (e.g., 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."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name."},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type."},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["","ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"]},"vat":{"maxLength":5000,"type":"string","description":"VAT id number"}},"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},{"type":"string","enum":[""]}]},"reference":{"maxLength":5000,"type":"string","description":"An identifier or reference that this payment corresponds to."}},"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":[""]}]},"bizum":{"description":"If this is a `bizum` PaymentMethod, this sub-hash contains details about the Bizum payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"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."},"mandate_options":{"title":"payment_intent_payment_method_options_mandate_options_param","type":"object","properties":{"expires_at":{"type":"integer","description":"Expiry date of the mandate.","format":"unix-time"}},"description":"Details of the BLIK mandate","x-stripeMostCommon":["expires_at"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-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_decremental_authorization":{"type":"string","description":"Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.","enum":["if_available","never"]},"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_partial_authorization":{"type":"string","description":"Request partial authorization on 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_credential_usage":{"type":"string","description":"Set to indicate the future transaction type usage for the card being set up.","enum":["installment","recurring","unscheduled"],"x-stripeEnum":{"kind":"open","values":[{"description":"Use `installment` if the payment method will be used for future off-session installment payments that you manage. This is distinct from [`payment_method_options.card.installments`](/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments), which is used for issuer installments like [Mexico installments](/payments/meses-sin-intereses/accept-a-payment) and [Japan installments](/payments/jp-installments/accept-a-payment).","value":"installment"},{"description":"Use `recurring` if the payment method will be used for off-session payment that occurs at regularly scheduled intervals.","value":"recurring"},{"description":"Use `unscheduled` if the payment method will be used for off-session payment that does not occur at regular intervals on a scheduled date.","value":"unscheduled"}]}},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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":[""]}]},"statement_details":{"description":"Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.","anyOf":[{"title":"statement_details_param","type":"object","properties":{"address":{"title":"statement_details_address_param","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":"Please pass in an address that is within your Stripe user account country","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"phone":{"maxLength":5000,"type":"string","description":"Phone number (e.g., a toll-free number that customers can call)"}},"x-stripeMostCommon":["address","phone"]},{"type":"string","enum":[""]}]},"stored_credential_usage":{"type":"string","description":"Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards).\n\n When making an off session payment with a previously saved card (that was saved with a SetupIntent or with a PaymentIntent with `setup_future_usage`), set this parameter to indicate the type of transaction.\n\n You can set this parameter at any time before or during PaymentIntent confirmation, and confirm this PaymentIntent with `off_session=true`.\n\n Note that this parameter is currently unsupported with the `setup_future_usage` parameter.","enum":["installment","recurring","unscheduled"],"x-stripeBypassValidation":true},"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_by","capture_delay","capture_delay_days","capture_method","commerce_type","credential_on_file","cvc_token","installments","mandate_options","mcc","moto","network","network_options","network_token","payment_details","recipient_details","request_card_account_update","request_decremental_authorization","request_extended_authorization","request_flexible_extended_authorization","request_forced_capture","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_credential_usage","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `manual` if you intend to place the funds on hold and want to override the top-level `capture_method` value for this payment method.","value":"manual"},{"description":"Use `manual_preferred` if you prefer `manual` capture_method but support falling back to `automatic` based on the presented payment method.","value":"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":["aade_data","buy_now_pay_later_options","capture_by","capture_delay","capture_delay_days","capture_method","installments","payment_details","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":["amount_reconciliation","deposit_options","mode","setup_future_usage","transaction_verification_options"]},{"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":[""]}]},"gopay":{"description":"If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay 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":[""]}]},"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":[""]}]},"id_bank_transfer":{"description":"If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"expires_after":{"type":"integer","description":"The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now."},"expires_at":{"type":"integer","description":"The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.","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-stripeMostCommon":["expires_after","expires_at","on_existing_payment_intent","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":[""]}]},"supplementary_purchase_data":{"description":"Supplementary Purchase Data for the corresponding Klarna payment","anyOf":[{"title":"supplementary_purchase_data_param","type":"object","properties":{"bus_reservation_details":{"description":"Supplementary bus reservation details.","anyOf":[{"type":"array","items":{"title":"bus_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"event_reservation_details":{"description":"Supplementary event reservation details.","anyOf":[{"type":"array","items":{"title":"event_reservation_details_param","type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the event.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"ends_at":{"type":"integer","description":"End timestamp of the event.","format":"unix-time"},"event_company_name":{"maxLength":255,"type":"string","description":"Company selling the ticket."},"event_name":{"maxLength":255,"type":"string","description":"Name of the event."},"event_type":{"type":"string","description":"Type of the event.","enum":["concert","conference","digital_education","expo","festival","in_person_education","sport","tour"],"x-stripeEnum":{"kind":"open","values":[{"description":"Musical performance or concert event.","value":"concert"},{"description":"Professional conference or meeting event.","value":"conference"},{"description":"Online or digital educational event.","value":"digital_education"},{"description":"Exhibition or trade show event.","value":"expo"},{"description":"Festival or celebration event.","value":"festival"},{"description":"In-person educational event or workshop.","value":"in_person_education"},{"description":"Sporting event or competition.","value":"sport"},{"description":"Guided tour or sightseeing event.","value":"tour"}]}},"insurances":{"type":"array","description":"List of insurances for this event.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"starts_at":{"type":"integer","description":"Start timestamp of the event.","format":"unix-time"},"venue_name":{"maxLength":255,"type":"string","description":"Name of the venue where the event takes place."}},"x-stripeMostCommon":["access_controlled_venue","address","affiliate_name","ends_at","event_company_name","event_name","event_type","insurances","starts_at","venue_name"]}},{"type":"string","enum":[""]}]},"ferry_reservation_details":{"description":"Supplementary ferry reservation details.","anyOf":[{"type":"array","items":{"title":"ferry_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"insurances":{"description":"Supplementary insurance details.","anyOf":[{"type":"array","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},{"type":"string","enum":[""]}]},"marketplace_sellers":{"description":"Supplementary marketplace seller details.","anyOf":[{"type":"array","items":{"title":"marketplace_seller_param","type":"object","properties":{"line_item_references":{"type":"array","description":"The references to line items for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"marketplace_seller_address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"The address of the selling or delivering merchant.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"marketplace_seller_name":{"maxLength":255,"type":"string","description":"The name of the marketplace seller."},"marketplace_seller_reference":{"maxLength":255,"type":"string","description":"The unique identifier for the marketplace seller."},"number_of_transactions":{"type":"integer","description":"The number of transactions the sub-seller completed in the last 12 months."},"product_category":{"type":"string","description":"The category of the product.","enum":["accessories","appliances","apps_and_games","arts_crafts_and_sewing","automotive","baby","baby_clothing","bags_and_purses","beauty","books","cds_and_vinyl","cell_phones_and_accessories","collectibles_and_fine_arts","digital_music","electronics","grocery_and_gourmet_food","handmade","health_and_personal_care","home_and_kitchen","industrial_and_scientific","luggage_and_travel_gear","magazine_subscriptions","men_clothing","musical_instruments","office_products","patio_lawn_and_garden","pet_supplies","shoes","software","sports_and_outdoors","tools_and_home_improvement","toys_and_games","video_games","women_clothing"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fashion and general accessories.","value":"accessories"},{"description":"Home and kitchen appliances.","value":"appliances"},{"description":"Mobile and software applications and games.","value":"apps_and_games"},{"description":"Art supplies, craft materials, and sewing products.","value":"arts_crafts_and_sewing"},{"description":"Automotive parts, accessories, and tools.","value":"automotive"},{"description":"Baby care products and equipment.","value":"baby"},{"description":"Clothing for babies and infants.","value":"baby_clothing"},{"description":"Handbags, purses, and bags.","value":"bags_and_purses"},{"description":"Cosmetics, skincare, and beauty products.","value":"beauty"},{"description":"Physical books and publications.","value":"books"},{"description":"Music in physical media formats.","value":"cds_and_vinyl"},{"description":"Mobile phones and related accessories.","value":"cell_phones_and_accessories"},{"description":"Collectible items and fine art pieces.","value":"collectibles_and_fine_arts"},{"description":"Digital music downloads and streaming.","value":"digital_music"},{"description":"Consumer electronics and devices.","value":"electronics"},{"description":"Food, beverages, and gourmet products.","value":"grocery_and_gourmet_food"},{"description":"Handcrafted and artisanal products.","value":"handmade"},{"description":"Health products and personal care items.","value":"health_and_personal_care"},{"description":"Home furnishings and kitchen supplies.","value":"home_and_kitchen"},{"description":"Industrial equipment and scientific supplies.","value":"industrial_and_scientific"},{"description":"Luggage, suitcases, and travel accessories.","value":"luggage_and_travel_gear"},{"description":"Magazine and periodical subscriptions.","value":"magazine_subscriptions"},{"description":"Clothing and apparel for men.","value":"men_clothing"},{"description":"Musical instruments and equipment.","value":"musical_instruments"},{"description":"Office supplies and business products.","value":"office_products"},{"description":"Outdoor, lawn, and garden products.","value":"patio_lawn_and_garden"},{"description":"Pet care products and supplies.","value":"pet_supplies"},{"description":"Footwear for all categories.","value":"shoes"},{"description":"Computer software and applications.","value":"software"},{"description":"Sports equipment and outdoor gear.","value":"sports_and_outdoors"},{"description":"Tools and home improvement supplies.","value":"tools_and_home_improvement"},{"description":"Toys, games, and children's entertainment.","value":"toys_and_games"},{"description":"Video games and gaming consoles.","value":"video_games"},{"description":"Clothing and apparel for women.","value":"women_clothing"}]}},"seller_last_login_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last logged in.","format":"unix-time"},"seller_rating":{"type":"string","description":"The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.","enum":["high","low","medium","very_high","very_low"],"x-stripeEnum":{"kind":"open","values":[{"description":"High rating.","value":"high"},{"description":"Low rating.","value":"low"},{"description":"Medium rating.","value":"medium"},{"description":"Very high rating.","value":"very_high"},{"description":"Very low rating.","value":"very_low"}]}},"seller_registered_at":{"type":"integer","description":"The date when the seller's account with the marketplace was created.","format":"unix-time"},"seller_updated_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last updated.","format":"unix-time"},"shipping_references":{"type":"array","description":"The references to shipping addresses for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"volume_of_transactions":{"type":"integer","description":"The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units."}},"x-stripeMostCommon":["line_item_references","marketplace_seller_address","marketplace_seller_name","marketplace_seller_reference","number_of_transactions","product_category","seller_last_login_at","seller_rating","seller_registered_at","seller_updated_at","shipping_references","volume_of_transactions"]}},{"type":"string","enum":[""]}]},"round_trip_reservation_details":{"description":"Supplementary round trip reservation details.","anyOf":[{"type":"array","items":{"title":"round_trip_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"train_reservation_details":{"description":"Supplementary train reservation details.","anyOf":[{"type":"array","items":{"title":"train_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"vouchers":{"description":"Voucher details, such as a gift card or discount code.","anyOf":[{"type":"array","items":{"title":"voucher_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for this voucher."},"ends_at":{"type":"integer","description":"The voucher validity end time.","format":"unix-time"},"starts_at":{"type":"integer","description":"The voucher validity start time.","format":"unix-time"},"voucher_company":{"maxLength":255,"type":"string","description":"The issuer or provider of this voucher."},"voucher_name":{"maxLength":255,"type":"string","description":"The name or reference to identify the voucher."},"voucher_type":{"type":"string","description":"The type of this voucher.","enum":["digital_product","discount","gift_card","physical_product","services"],"x-stripeEnum":{"kind":"open","values":[{"description":"Voucher for digital goods or downloadable content.","value":"digital_product"},{"description":"Voucher that provides a discount on purchases.","value":"discount"},{"description":"Voucher that can be redeemed for merchandise or services.","value":"gift_card"},{"description":"Voucher for physical merchandise or goods.","value":"physical_product"},{"description":"Voucher for services or experiences.","value":"services"}]}}},"x-stripeMostCommon":["affiliate_name","ends_at","starts_at","voucher_company","voucher_name","voucher_type"]}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["bus_reservation_details","customer","event_reservation_details","ferry_reservation_details","insurances","marketplace_sellers","round_trip_reservation_details","train_reservation_details","vouchers"]},{"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 (Link is also known as Onelink in the UK).","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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-stripeMostCommon":["capture_method","setup_future_usage"]},{"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"]},"line_items":{"type":"array","description":"The line items purchased by the customer.","items":{"title":"line_item_param","required":["name","quantity","unit_amount"],"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."},"name":{"maxLength":127,"type":"string","description":"Descriptive name of the line item."},"quantity":{"type":"integer","description":"Quantity of the line item. Must be a positive number."},"sku":{"maxLength":127,"type":"string","description":"Client facing stock keeping unit, article number or similar."},"sold_by":{"maxLength":5000,"type":"string","description":"The Stripe account ID of the connected account that sells the item."},"tax":{"title":"line_item_tax_param","required":["amount","behavior"],"type":"object","properties":{"amount":{"type":"integer","description":"The tax for a single unit of the line item in minor units. Cannot be a negative number."},"behavior":{"type":"string","description":"The tax behavior for the line item.","enum":["exclusive","inclusive"]}},"description":"The tax information for the line item.","x-stripeMostCommon":["amount","behavior"]},"unit_amount":{"type":"integer","description":"Price for a single unit of the line item in minor units. Cannot be a negative number."}},"x-stripeMostCommon":["category","description","name","quantity","sku","sold_by","tax","unit_amount"]}},"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."},"reference_id":{"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"]},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":32,"type":"string"}}},"x-stripeMostCommon":["allow_delayed_notification","capture_method","line_items","preferred_locale","reference","reference_id","risk_correlation_id","setup_future_usage","subsellers"]},{"type":"string","enum":[""]}]},"paypay":{"description":"If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["setup_future_usage"]},{"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"},"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"amount_type":{"type":"string","description":"Type of amount. Defaults to `maximum`.","enum":["fixed","maximum"]},"currency":{"type":"string","description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.","format":"currency"},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged. Defaults to `monthly`.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]},"reference":{"maxLength":35,"type":"string","description":"Subscription name displayed to buyers in their bank app. Defaults to the displayable business name."},"start_date":{"maxLength":5000,"type":"string","description":"Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date."}},"description":"Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.","x-stripeMostCommon":["amount","amount_includes_iof","amount_type","currency","end_date","payment_schedule","reference","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"]}},"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":[""]}]},"qris":{"description":"If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS 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":[""]}]},"rechnung":{"description":"If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{}},{"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-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"},{"description":"Use `off_session` if your customer may or may not be present in your checkout flow.","value":"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-stripeMostCommon":["capture_method","setup_future_usage"]},{"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"scalapay":{"description":"If this is a `scalapay` PaymentMethod, this sub-hash contains details about the ScalaPay 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":[""]}]},"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":[""]}]},"sequra":{"description":"If this is a `sequra` PaymentMethod, this sub-hash contains details about the SeQura 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","setup_future_usage"]},{"type":"string","enum":[""]}]},"shopeepay":{"description":"If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay 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":[""]}]},"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":[""]}]},"stripe_balance":{"description":"If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance 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"]}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"sunbit":{"description":"If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit 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"]}},"x-stripeMostCommon":["capture_method","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","off_session"]}},"x-stripeMostCommon":["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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"manual_entry":{"title":"linked_account_options_manual_entry_param","required":["mode"],"type":"object","properties":{"mode":{"type":"string","description":"Settings for configuring manual entry of account details.","enum":["automatic","custom"]}},"description":"Customize manual entry behavior","x-stripeMostCommon":["mode"]},"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","inferred_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"],"x-stripeEnum":{"kind":"open","values":[{"description":"For purchases of physical or digital goods, both recurring and one-off.","value":"goods"},{"description":"For anything other than the purchase of goods or services, like donations, loan repayments, and so on.","value":"other"},{"description":"For purchases of services, like streaming services, web hosting, and so on.","value":"services"},{"description":"This is the default value for payment methods when transaction_purpose is not set.","value":"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, android, or mini_program."},"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-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"}]}}},"x-stripeMostCommon":["app_id","buyer_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","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","link","mb_way","mobilepay","momo","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","sequra","shopeepay","sofort","stripe_balance","sunbit","swish","touch_n_go","truemoney","twint","upi","us_bank_account","vipps","wechat_pay","wero","zip"]},"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":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the transfer. Often useful for displaying to users."},"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.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"payment_data":{"title":"transfer_data_payment_data_params","type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the destination payment. Often useful for displaying to users."},"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.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"description":"The data with which to populate the destination payment.","x-stripeMostCommon":["description","metadata"]}},"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","mandate_data","metadata","payment_method","receipt_email","setup_future_usage","shipping","statement_descriptor","statement_descriptor_suffix"]},"encoding":{"allowed_payment_method_types":{"style":"deepObject","explode":true},"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},"mandate_data":{"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},"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"}}}}},"x-stableId":"update_payment_intent_via_secret_key,update_payment_intent_via_terminal_merchant"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"amount_details_line_items"}},"/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"}}}}},"x-stableId":"apply_customer_balance_to_payment_intent"}},"/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"}}}}},"x-stableId":"cancel_payment_intent,cancel_payment_intent_terminal_merchant"}},"/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","ev_charging","fleet_data"]},"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","quantity_precision","tax","unit_cost","unit_cost_precision","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 and spaces 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 and spaces are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"surcharge":{"description":"Contains information about the surcharge portion of the amount.","anyOf":[{"title":"amount_details_surcharge_param","type":"object","properties":{"amount":{"description":"Portion of the amount that corresponds to a surcharge.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_validation":{"type":"string","description":"Indicate whether to enforce validations on the surcharge amount.","enum":["","automatic","disabled","enabled"]}},"x-stripeMostCommon":["amount","enforce_validation"]},{"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","tip"]},"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":{"car_rental":{"title":"car_rental","required":["booking_number","days_rented","pickup_at","return_at"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the car rental."},"car_class_code":{"maxLength":4,"type":"string","description":"Class code of the car."},"car_make":{"maxLength":10,"type":"string","description":"Make of the car."},"car_model":{"maxLength":10,"type":"string","description":"Model of the car."},"company":{"maxLength":26,"type":"string","description":"The name of the rental car company."},"customer_service_phone_number":{"maxLength":16,"type":"string","description":"The customer service phone number of the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"distance":{"title":"car_rental_distance","type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"The details of the distance traveled during the rental period.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"car_rental_driver","required":["name"],"type":"object","properties":{"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the car reservation."}},"x-stripeMostCommon":["driver_identification_number","driver_tax_number","name"]}},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["extra_mileage","gas","late_return","one_way_service","parking_violation"]}},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep nor cancel their booking."},"pickup_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":"Car pick-up address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"pickup_at":{"type":"integer","description":"Car pick-up time. Measured in seconds since the Unix epoch.","format":"unix-time"},"pickup_location_name":{"maxLength":38,"type":"string","description":"Name of the pickup location."},"rate_amount":{"type":"integer","description":"Rental rate."},"rate_interval":{"type":"string","description":"The frequency at which the rate amount is applied. One of `day`, `week` or `month`","enum":["day","month","week"]},"renter_name":{"maxLength":100,"type":"string","description":"The name of the person or entity renting the car."},"return_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":"Car return address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"return_at":{"type":"integer","description":"Car return time. Measured in seconds since the Unix epoch.","format":"unix-time"},"return_location_name":{"maxLength":38,"type":"string","description":"Name of the return location."},"tax_exempt":{"type":"boolean","description":"Indicates whether the goods or services are tax-exempt or tax is not collected."},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"The vehicle identification number."}},"description":"Car rental details for this PaymentIntent.","x-stripeMostCommon":["affiliate","booking_number","car_class_code","car_make","car_model","company","customer_service_phone_number","days_rented","delivery","distance","drivers","extra_charges","no_show","pickup_address","pickup_at","pickup_location_name","rate_amount","rate_interval","renter_name","return_address","return_at","return_location_name","tax_exempt","vehicle_identification_number"]},"car_rental_data":{"description":"Car rental data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"car_rental_data","required":["drop_off","pickup","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."}},"description":"Affiliate (such as travel agency) details for the rental.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the car rental."},"carrier_name":{"maxLength":255,"type":"string","description":"Name of the car rental company."},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"distance":{"title":"distance","required":["amount","unit"],"type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"Distance details for the rental.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"List of drivers for the rental.","items":{"title":"driver","required":["name"],"type":"object","properties":{"date_of_birth":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Day of birth (1-31)."},"month":{"type":"integer","description":"Month of birth (1-12)."},"year":{"type":"integer","description":"Year of birth (must be greater than 1900)."}},"description":"Driver's date of birth.","x-stripeMostCommon":["day","month","year"]},"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":198,"type":"string","description":"Driver's full name."}},"x-stripeMostCommon":["date_of_birth","driver_identification_number","driver_tax_number","name"]}},"drop_off":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Drop-off location details.","x-stripeMostCommon":["address","location_name","time"]},"insurances":{"type":"array","description":"Insurance details for the rental.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["liability_supplement","loss_damage_waiver","other","partial_damage_waiver","personal_accident","personal_effects"],"x-stripeEnum":{"kind":"open","values":[{"description":"Supplemental liability insurance coverage.","value":"liability_supplement"},{"description":"Agreement waiving responsibility for loss or damage to the vehicle.","value":"loss_damage_waiver"},{"description":"Other types of insurance coverage.","value":"other"},{"description":"Agreement limiting responsibility for loss or damage to the vehicle.","value":"partial_damage_waiver"},{"description":"Insurance covering personal accidents during the rental period.","value":"personal_accident"},{"description":"Insurance covering personal belongings during the rental period.","value":"personal_effects"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Indicates if the customer was a no-show."},"pickup":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Pickup location details.","x-stripeMostCommon":["address","location_name","time"]},"renter_name":{"maxLength":198,"type":"string","description":"Name of the person renting the vehicle."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total amount in cents."},"currency":{"type":"string","description":"Currency of the amount.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code applied to the rental."},"maximum_free_miles_or_kilometers":{"type":"integer","description":"Maximum number of free miles or kilometers included."}},"description":"Discount details for the rental.","x-stripeMostCommon":["corporate_client_code","coupon","maximum_free_miles_or_kilometers"]},"extra_charges":{"type":"array","description":"Additional charges for the rental.","items":{"title":"extra_charge","required":["amount","type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["extra_mileage","gas","gps","late_charge","one_way_drop_off","other","parking","phone","regular_mileage","towing"]}},"x-stripeMostCommon":["amount","type"]}},"rate_per_unit":{"type":"integer","description":"Rate per unit for the rental."},"rate_unit":{"type":"string","description":"Unit of measurement for the rate.","enum":["days","kilometers","miles","months","weeks"],"x-stripeEnum":{"kind":"open","values":[{"description":"Rental rate charged per day.","value":"days"},{"description":"Rental rate charged per kilometer.","value":"kilometers"},{"description":"Rental rate charged per mile.","value":"miles"},{"description":"Rental rate charged per month.","value":"months"},{"description":"Rental rate charged per week.","value":"weeks"}]}},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates if the transaction is tax exempt."},"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate applied."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the rental.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total cost breakdown for the rental.","x-stripeMostCommon":["amount","currency","discounts","extra_charges","rate_per_unit","rate_unit","tax"]},"vehicle":{"title":"vehicle","type":"object","properties":{"make":{"maxLength":40,"type":"string","description":"Make of the rental vehicle."},"model":{"maxLength":40,"type":"string","description":"Model of the rental vehicle."},"odometer":{"type":"integer","description":"Odometer reading at the time of rental."},"type":{"type":"string","description":"Type of the rental vehicle.","enum":["cargo_van","compact","economy","exotic","exotic_suv","fifteen_passenger_van","four_wheel_drive","full_size","intermediate","large_suv","large_truck","luxury","medium_suv","midsize","mini","minivan","miscellaneous","moped","moving_van","premium","regular","small_medium_truck","small_suv","special","standard","stretch","subcompact","taxi","twelve_foot_truck","twelve_passenger_van","twenty_foot_truck","twenty_four_foot_truck","twenty_six_foot_truck","unique"],"x-stripeEnum":{"kind":"open","values":[{"description":"Van designed for cargo transport.","value":"cargo_van"},{"description":"Compact car.","value":"compact"},{"description":"Economy-class car.","value":"economy"},{"description":"Exotic or high-performance vehicle.","value":"exotic"},{"description":"Exotic or luxury sport utility vehicle.","value":"exotic_suv"},{"description":"Van with capacity for fifteen passengers.","value":"fifteen_passenger_van"},{"description":"Four-wheel-drive vehicle.","value":"four_wheel_drive"},{"description":"Full-sized car.","value":"full_size"},{"description":"Intermediate-sized car.","value":"intermediate"},{"description":"Large sport utility vehicle.","value":"large_suv"},{"description":"Large truck.","value":"large_truck"},{"description":"Luxury car.","value":"luxury"},{"description":"Medium sport utility vehicle.","value":"medium_suv"},{"description":"Midsize car.","value":"midsize"},{"description":"Mini-sized car.","value":"mini"},{"description":"Minivan.","value":"minivan"},{"description":"Other miscellaneous vehicle types.","value":"miscellaneous"},{"description":"Moped or motorized scooter.","value":"moped"},{"description":"Van designed for moving goods.","value":"moving_van"},{"description":"Premium car.","value":"premium"},{"description":"Regular vehicle type.","value":"regular"},{"description":"Small to medium truck.","value":"small_medium_truck"},{"description":"Small sport utility vehicle.","value":"small_suv"},{"description":"Special vehicle type.","value":"special"},{"description":"Standard-sized car.","value":"standard"},{"description":"Stretch limousine.","value":"stretch"},{"description":"Subcompact car.","value":"subcompact"},{"description":"Taxi or for-hire vehicle.","value":"taxi"},{"description":"Truck with twelve-foot cargo space.","value":"twelve_foot_truck"},{"description":"Van with capacity for twelve passengers.","value":"twelve_passenger_van"},{"description":"Truck with twenty-foot cargo space.","value":"twenty_foot_truck"},{"description":"Truck with twenty-four-foot cargo space.","value":"twenty_four_foot_truck"},{"description":"Truck with twenty-six-foot cargo space.","value":"twenty_six_foot_truck"},{"description":"Unique or specialty vehicle.","value":"unique"}]}},"vehicle_class":{"type":"string","description":"Class of the rental vehicle.","enum":["business","economy","first_class","premium_economy"]},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"Vehicle identification number (VIN)."}},"description":"Vehicle details for the rental.","x-stripeMostCommon":["make","model","odometer","type","vehicle_class","vehicle_identification_number"]}},"x-stripeMostCommon":["affiliate","booking_number","carrier_name","customer_service_phone_number","days_rented","distance","drivers","drop_off","insurances","no_show_indicator","pickup","renter_name","total","vehicle"]}},{"type":"string","enum":[""]}]},"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":[""]}]},"event_details":{"title":"event","required":["name"],"type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"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 event location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"company":{"maxLength":5000,"type":"string","description":"The name of the company"},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"ends_at":{"type":"integer","description":"Event end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"genre":{"maxLength":5000,"type":"string","description":"Type of the event entertainment (concert, sports event etc)"},"name":{"maxLength":5000,"type":"string","description":"The name of the event."},"starts_at":{"type":"integer","description":"Event start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Event details for this PaymentIntent","x-stripeMostCommon":["access_controlled_venue","address","affiliate","company","delivery","ends_at","genre","name","starts_at"]},"flight":{"title":"flight","required":["segments"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"agency_number":{"maxLength":8,"type":"string","description":"The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking."},"carrier":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"passenger_name":{"maxLength":26,"type":"string","description":"The name of the person or entity on the reservation."},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation.","items":{"title":"flight_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the flight reservation."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"The individual flight segments associated with the trip.","items":{"title":"flight_segment","required":["departs_at"],"type":"object","properties":{"amount":{"type":"integer","description":"The flight segment amount."},"arrival_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the arrival airport."},"arrives_at":{"type":"integer","description":"The arrival time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"carrier":{"maxLength":2,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment."},"departs_at":{"type":"integer","description":"The departure time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"departure_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the departure airport."},"flight_number":{"maxLength":4,"type":"string","description":"The flight number associated with the segment"},"service_class":{"type":"string","description":"The fare class for the segment.","enum":["business","economy","first","premium_economy"]}},"x-stripeMostCommon":["amount","arrival_airport","arrives_at","carrier","departs_at","departure_airport","flight_number","service_class"]}},"ticket_number":{"maxLength":14,"type":"string","description":"The ticket number associated with the travel reservation."}},"description":"Flight reservation details for this PaymentIntent","x-stripeMostCommon":["affiliate","agency_number","carrier","delivery","passenger_name","passengers","segments","ticket_number"]},"flight_data":{"description":"Flight data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"flight_data","required":["segments","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."},"travel_authorization_code":{"maxLength":64,"type":"string","description":"Code provided by the company to a travel agent authorizing ticket issuance."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name","travel_authorization_code"]},"booking_number":{"maxLength":255,"type":"string","description":"Reservation reference."},"computerized_reservation_system":{"maxLength":4,"type":"string","description":"Computerized reservation system used to make the reservation and purchase the ticket."},"endorsements_and_restrictions":{"maxLength":20,"type":"string","description":"Ticket restrictions."},"insurances":{"type":"array","description":"List of insurances.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Insurance cost."},"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Insurance company name."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering lost, damaged, or delayed baggage.","value":"baggage"},{"description":"Insurance covering losses due to airline bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering flight cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during travel.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"passengers":{"type":"array","description":"List of passengers.","items":{"title":"passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Passenger's full name."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"List of flight segments.","items":{"title":"segment","required":["arrival","carrier_code","departure","service_class"],"type":"object","properties":{"amount":{"type":"integer","description":"Segment fare amount."},"arrival":{"title":"arrival","required":["airport"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Arrival airport IATA code."},"arrives_at":{"type":"integer","description":"Arrival date/time.","format":"unix-time"},"city":{"maxLength":99,"type":"string","description":"Arrival city."},"country":{"maxLength":5000,"type":"string","description":"Arrival country."}},"description":"Arrival details.","x-stripeMostCommon":["airport","arrives_at","city","country"]},"carrier_code":{"maxLength":5000,"type":"string","description":"Airline carrier code."},"carrier_name":{"maxLength":25,"type":"string","description":"Carrier name."},"currency":{"type":"string","description":"Segment currency.","format":"currency"},"departure":{"title":"departure","required":["airport","departs_at"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Departure airport IATA code."},"city":{"maxLength":99,"type":"string","description":"Departure city."},"country":{"maxLength":5000,"type":"string","description":"Departure country."},"departs_at":{"type":"integer","description":"Departure date/time.","format":"unix-time"}},"description":"Departure details.","x-stripeMostCommon":["airport","city","country","departs_at"]},"exchange_ticket_number":{"maxLength":20,"type":"string","description":"Exchange ticket number."},"fare_basis_code":{"maxLength":20,"type":"string","description":"Fare basis code."},"fees":{"type":"integer","description":"Additional fees."},"flight_number":{"maxLength":20,"type":"string","description":"Flight number."},"is_stop_over_indicator":{"type":"boolean","description":"Stopover indicator."},"refundable":{"type":"boolean","description":"Refundable ticket indicator."},"service_class":{"type":"string","description":"Class of service.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating.","value":"business"},{"description":"Economy class seating.","value":"economy"},{"description":"First class seating with premium amenities.","value":"first_class"},{"description":"Premium economy class with enhanced seating and services.","value":"premium_economy"}]}},"tax_amount":{"type":"integer","description":"Tax amount for segment."},"ticket_number":{"maxLength":20,"type":"string","description":"Ticket number."}},"x-stripeMostCommon":["amount","arrival","carrier_code","carrier_name","currency","departure","exchange_ticket_number","fare_basis_code","fees","flight_number","is_stop_over_indicator","refundable","service_class","tax_amount","ticket_number"]}},"ticket_electronically_issued_indicator":{"type":"boolean","description":"Electronic ticket indicator."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total flight amount."},"credit_reason":{"type":"string","description":"Reason for credit.","enum":["other","partial_ticket_refund","passenger_transport_ancillary_cancellation","ticket_and_ancillary_cancellation","ticket_cancellation"],"x-stripeEnum":{"kind":"open","values":[{"description":"Other credit reasons.","value":"other"},{"description":"Partial refund of the ticket cost.","value":"partial_ticket_refund"},{"description":"Cancellation of passenger transport and ancillary services.","value":"passenger_transport_ancillary_cancellation"},{"description":"Cancellation of both ticket and ancillary services.","value":"ticket_and_ancillary_cancellation"},{"description":"Cancellation of the ticket only.","value":"ticket_cancellation"}]}},"currency":{"type":"string","description":"Total currency.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."}},"description":"Discount details.","x-stripeMostCommon":["corporate_client_code"]},"extra_charges":{"type":"array","description":"Additional charges.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of additional charges."},"type":{"type":"string","description":"Type of additional charges.","enum":["additional_fees","ancillary_service_charges","exchange_fee"],"x-stripeEnum":{"kind":"open","values":[{"description":"Additional fees charged for the flight.","value":"additional_fees"},{"description":"Charges for ancillary services such as baggage, seat selection, or meals.","value":"ancillary_service_charges"},{"description":"Fee charged for exchanging or changing the ticket.","value":"exchange_fee"}]}}},"x-stripeMostCommon":["amount","type"]}},"tax":{"title":"tax","type":"object","properties":{"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown.","x-stripeMostCommon":["tax_items"]}},"description":"Total cost breakdown.","x-stripeMostCommon":["amount","credit_reason","currency","discounts","extra_charges","tax"]},"transaction_type":{"type":"string","description":"Type of flight transaction.","enum":["exchange_ticket","miscellaneous","refund","ticket_purchase"],"x-stripeEnum":{"kind":"open","values":[{"description":"Exchange or modification of an existing ticket.","value":"exchange_ticket"},{"description":"Other miscellaneous flight-related transactions.","value":"miscellaneous"},{"description":"Refund for a canceled or unused ticket.","value":"refund"},{"description":"Purchase of a new flight ticket.","value":"ticket_purchase"}]}}},"x-stripeMostCommon":["affiliate","booking_number","computerized_reservation_system","endorsements_and_restrictions","insurances","passengers","segments","ticket_electronically_issued_indicator","total","transaction_type"]}},{"type":"string","enum":[""]}]},"lodging":{"title":"lodging","required":["checkin_at","checkout_at"],"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 lodging location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"adults":{"type":"integer","description":"The number of adults on the booking"},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the lodging reservation."},"category":{"type":"string","description":"The lodging category","enum":["hotel","vacation_rental"]},"checkin_at":{"type":"integer","description":"Lodging check-in time. Measured in seconds since the Unix epoch.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Lodging check-out time. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"The customer service phone number of the lodging company."},"daily_room_rate_amount":{"type":"integer","description":"The daily lodging room rate."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["gift_shop","laundry","mini_bar","other","restaurant","telephone"]}},"fire_safety_act_compliance":{"type":"boolean","description":"Indicates whether the lodging location is compliant with the Fire Safety Act."},"name":{"maxLength":100,"type":"string","description":"The name of the lodging location."},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep their booking while failing to cancel the reservation."},"number_of_rooms":{"type":"integer","description":"The number of rooms on the booking"},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"lodging_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the lodging reservation."}},"x-stripeMostCommon":["name"]}},"property_phone_number":{"type":"string","description":"The phone number of the lodging location."},"room_class":{"maxLength":5000,"type":"string","description":"The room class for this purchase."},"room_nights":{"type":"integer","description":"The number of room nights"},"total_room_tax_amount":{"type":"integer","description":"The total tax amount associating with the room reservation."},"total_tax_amount":{"type":"integer","description":"The total tax amount"}},"description":"Lodging reservation details for this PaymentIntent","x-stripeMostCommon":["address","adults","affiliate","booking_number","category","checkin_at","checkout_at","customer_service_phone_number","daily_room_rate_amount","delivery","extra_charges","fire_safety_act_compliance","name","no_show","number_of_rooms","passengers","property_phone_number","room_class","room_nights","total_room_tax_amount","total_tax_amount"]},"lodging_data":{"description":"Lodging data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"lodging_data","required":["checkin_at","checkout_at","total"],"type":"object","properties":{"accommodation":{"title":"accommodation","type":"object","properties":{"accommodation_type":{"type":"string","description":"Type of accommodation.","enum":["apartment","cabana","house","penthouse","room","standard","suite","villa"],"x-stripeEnum":{"kind":"open","values":[{"description":"A self-contained apartment unit.","value":"apartment"},{"description":"A cabana or small cabin.","value":"cabana"},{"description":"A standalone house.","value":"house"},{"description":"A penthouse or top-floor luxury accommodation.","value":"penthouse"},{"description":"A standard room.","value":"room"},{"description":"A standard accommodation type.","value":"standard"},{"description":"A suite with multiple rooms or enhanced amenities.","value":"suite"},{"description":"A villa or luxury residence.","value":"villa"}]}},"bed_type":{"maxLength":20,"type":"string","description":"Bed type."},"daily_rate_amount":{"type":"integer","description":"Daily accommodation rate in cents."},"nights":{"type":"integer","description":"Number of nights."},"number_of_rooms":{"type":"integer","description":"Number of rooms, cabanas, apartments, and so on."},"rate_type":{"maxLength":20,"type":"string","description":"Rate type."},"smoking_indicator":{"type":"boolean","description":"Whether smoking is allowed."}},"description":"Accommodation details for the lodging.","x-stripeMostCommon":["accommodation_type","bed_type","daily_rate_amount","nights","number_of_rooms","rate_type","smoking_indicator"]},"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Affiliate partner name."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the lodging."},"checkin_at":{"type":"integer","description":"Check-in date.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Check-out date.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the lodging company."},"fire_safety_act_compliance_indicator":{"type":"boolean","description":"Whether the lodging is compliant with any hotel fire safety regulations."},"guests":{"type":"array","description":"List of guests for the lodging.","items":{"title":"guest","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Guest's full name."}},"x-stripeMostCommon":["name"]}},"host":{"title":"host","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":"Address of the host.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"country_of_domicile":{"maxLength":5000,"type":"string","description":"Host's country of domicile."},"host_reference":{"maxLength":255,"type":"string","description":"Reference number for the host."},"host_type":{"type":"string","description":"Type of host.","enum":["hostel","hotel","owner","rental_agency"],"x-stripeEnum":{"kind":"open","values":[{"description":"A hostel or shared accommodation facility.","value":"hostel"},{"description":"A hotel or hotel chain.","value":"hotel"},{"description":"The property owner directly managing the rental.","value":"owner"},{"description":"A rental agency managing the property.","value":"rental_agency"}]}},"name":{"maxLength":255,"type":"string","description":"Name of the lodging property or host."},"number_of_reservations":{"type":"integer","description":"Total number of reservations for the host."},"property_phone_number":{"type":"string","description":"Property phone number."},"registered_at":{"type":"integer","description":"Host's registration date.","format":"unix-time"}},"description":"Host details for the lodging.","x-stripeMostCommon":["address","country_of_domicile","host_reference","host_type","name","number_of_reservations","property_phone_number","registered_at"]},"insurances":{"type":"array","description":"List of insurances for the lodging.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Price of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering losses due to provider bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during the stay.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Whether the renter is a no-show."},"renter_id_number":{"maxLength":25,"type":"string","description":"Renter ID number for the lodging."},"renter_name":{"maxLength":198,"type":"string","description":"Renter name for the lodging."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total price of the lodging reservation in cents."},"cash_advances":{"type":"integer","description":"Cash advances in cents."},"currency":{"type":"string","description":"Currency of the total amount.","format":"currency"},"discounts":{"title":"discount","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code."}},"description":"Discount details for the lodging.","x-stripeMostCommon":["corporate_client_code","coupon"]},"extra_charges":{"type":"array","description":"Additional charges for the lodging.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["gift_shop","laundry","mini_bar","other","phone","restaurant"],"x-stripeEnum":{"kind":"open","values":[{"description":"Charges for gift shop purchases.","value":"gift_shop"},{"description":"Charges for laundry or cleaning services.","value":"laundry"},{"description":"Charges for mini bar consumption.","value":"mini_bar"},{"description":"Other miscellaneous charges.","value":"other"},{"description":"Charges for telephone services.","value":"phone"},{"description":"Charges for dining or food services.","value":"restaurant"}]}}},"x-stripeMostCommon":["amount","type"]}},"prepaid_amount":{"type":"integer","description":"Prepaid amount in cents."},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates whether the transaction is tax exempt."},"tax_items":{"type":"array","description":"Tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount in cents."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the lodging reservation.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total details for the lodging.","x-stripeMostCommon":["amount","cash_advances","currency","discounts","extra_charges","prepaid_amount","tax"]}},"x-stripeMostCommon":["accommodation","affiliate","booking_number","checkin_at","checkout_at","customer_service_phone_number","fire_safety_act_compliance_indicator","guests","host","insurances","no_show_indicator","renter_id_number","renter_name","total"]}},{"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":[""]}]},"subscription":{"title":"subscription","required":["name"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"auto_renewal":{"type":"boolean","description":"Info whether the subscription will be auto renewed upon expiry."},"billing_interval":{"title":"subscription_billing_interval","required":["count","interval"],"type":"object","properties":{"count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."},"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]}},"description":"Subscription billing details for this purchase.","x-stripeMostCommon":["count","interval"]},"ends_at":{"type":"integer","description":"Subscription end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"name":{"maxLength":5000,"type":"string","description":"Name of the product on subscription. e.g. Apple Music Subscription"},"starts_at":{"type":"integer","description":"Subscription start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Subscription details for this PaymentIntent","x-stripeMostCommon":["affiliate","auto_renewal","billing_interval","ends_at","name","starts_at"]}},"x-stripeMostCommon":["car_rental","car_rental_data","event_details","fleet_data","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"}}}}},"x-stableId":"capture_payment_intent"}},"/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":{"allowed_payment_method_types":{"type":"array","description":"The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boku_promptpay","boleto","capchase_pay","card","card_present","cashapp","check_scan","click_to_pay","crypto","customer_balance","demo_pay","duitnow","dummy_auth_push","dummy_passthrough_card","edenred","eps","fpx","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","kriya","link","mb_way","mobilepay","momo","mondu","multibanco","naver_pay","netbanking","ng_bank","ng_bank_transfer","ng_card","ng_market","ng_ussd","ng_wallet","nz_bank_account","octopus","oxxo","p24","paper_check","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shop_pay","shopeepay","sofort","south_korea_market","stripe_balance","sunbit","swish","tamara","test_pay","touch_n_go","truemoney","twint","upi","us_bank_account","us_cash_voucher","vipps","wechat_pay","wero","zip"],"x-stripeBypassValidation":true}},"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","ev_charging","fleet_data"]},"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","quantity_precision","tax","unit_cost","unit_cost_precision","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 and spaces 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 and spaces are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"surcharge":{"description":"Contains information about the surcharge portion of the amount.","anyOf":[{"title":"amount_details_surcharge_param","type":"object","properties":{"amount":{"description":"Portion of the amount that corresponds to a surcharge.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_validation":{"type":"string","description":"Indicate whether to enforce validations on the surcharge amount.","enum":["","automatic","disabled","enabled"]}},"x-stripeMostCommon":["amount","enforce_validation"]},{"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","tip"]},{"type":"string","enum":[""]}]},"amount_to_confirm":{"type":"integer","description":"Amount to confirm on the PaymentIntent. Defaults to `amount` if not provided."},"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"]},"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","bizum","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","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","sequra","shopeepay","sofort","stripe_balance","sunbit","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"}},"fx_quote":{"maxLength":5000,"type":"string","description":"The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount."},"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 payment method details and [charge them later](https://docs.stripe.com/payments/save-during-payment).","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":{"car_rental":{"title":"car_rental","required":["booking_number","days_rented","pickup_at","return_at"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the car rental."},"car_class_code":{"maxLength":4,"type":"string","description":"Class code of the car."},"car_make":{"maxLength":10,"type":"string","description":"Make of the car."},"car_model":{"maxLength":10,"type":"string","description":"Model of the car."},"company":{"maxLength":26,"type":"string","description":"The name of the rental car company."},"customer_service_phone_number":{"maxLength":16,"type":"string","description":"The customer service phone number of the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"distance":{"title":"car_rental_distance","type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"The details of the distance traveled during the rental period.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"car_rental_driver","required":["name"],"type":"object","properties":{"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the car reservation."}},"x-stripeMostCommon":["driver_identification_number","driver_tax_number","name"]}},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["extra_mileage","gas","late_return","one_way_service","parking_violation"]}},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep nor cancel their booking."},"pickup_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":"Car pick-up address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"pickup_at":{"type":"integer","description":"Car pick-up time. Measured in seconds since the Unix epoch.","format":"unix-time"},"pickup_location_name":{"maxLength":38,"type":"string","description":"Name of the pickup location."},"rate_amount":{"type":"integer","description":"Rental rate."},"rate_interval":{"type":"string","description":"The frequency at which the rate amount is applied. One of `day`, `week` or `month`","enum":["day","month","week"]},"renter_name":{"maxLength":100,"type":"string","description":"The name of the person or entity renting the car."},"return_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":"Car return address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"return_at":{"type":"integer","description":"Car return time. Measured in seconds since the Unix epoch.","format":"unix-time"},"return_location_name":{"maxLength":38,"type":"string","description":"Name of the return location."},"tax_exempt":{"type":"boolean","description":"Indicates whether the goods or services are tax-exempt or tax is not collected."},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"The vehicle identification number."}},"description":"Car rental details for this PaymentIntent.","x-stripeMostCommon":["affiliate","booking_number","car_class_code","car_make","car_model","company","customer_service_phone_number","days_rented","delivery","distance","drivers","extra_charges","no_show","pickup_address","pickup_at","pickup_location_name","rate_amount","rate_interval","renter_name","return_address","return_at","return_location_name","tax_exempt","vehicle_identification_number"]},"car_rental_data":{"description":"Car rental data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"car_rental_data","required":["drop_off","pickup","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."}},"description":"Affiliate (such as travel agency) details for the rental.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the car rental."},"carrier_name":{"maxLength":255,"type":"string","description":"Name of the car rental company."},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"distance":{"title":"distance","required":["amount","unit"],"type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`.","enum":["kilometers","miles"]}},"description":"Distance details for the rental.","x-stripeMostCommon":["amount","unit"]},"drivers":{"type":"array","description":"List of drivers for the rental.","items":{"title":"driver","required":["name"],"type":"object","properties":{"date_of_birth":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Day of birth (1-31)."},"month":{"type":"integer","description":"Month of birth (1-12)."},"year":{"type":"integer","description":"Year of birth (must be greater than 1900)."}},"description":"Driver's date of birth.","x-stripeMostCommon":["day","month","year"]},"driver_identification_number":{"maxLength":20,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":20,"type":"string","description":"Driver's tax number."},"name":{"maxLength":198,"type":"string","description":"Driver's full name."}},"x-stripeMostCommon":["date_of_birth","driver_identification_number","driver_tax_number","name"]}},"drop_off":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Drop-off location details.","x-stripeMostCommon":["address","location_name","time"]},"insurances":{"type":"array","description":"Insurance details for the rental.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["liability_supplement","loss_damage_waiver","other","partial_damage_waiver","personal_accident","personal_effects"],"x-stripeEnum":{"kind":"open","values":[{"description":"Supplemental liability insurance coverage.","value":"liability_supplement"},{"description":"Agreement waiving responsibility for loss or damage to the vehicle.","value":"loss_damage_waiver"},{"description":"Other types of insurance coverage.","value":"other"},{"description":"Agreement limiting responsibility for loss or damage to the vehicle.","value":"partial_damage_waiver"},{"description":"Insurance covering personal accidents during the rental period.","value":"personal_accident"},{"description":"Insurance covering personal belongings during the rental period.","value":"personal_effects"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Indicates if the customer was a no-show."},"pickup":{"title":"location","required":["address","time"],"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":"Address of the rental location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"location_name":{"maxLength":38,"type":"string","description":"Location name."},"time":{"type":"integer","description":"Timestamp for the location.","format":"unix-time"}},"description":"Pickup location details.","x-stripeMostCommon":["address","location_name","time"]},"renter_name":{"maxLength":198,"type":"string","description":"Name of the person renting the vehicle."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total amount in cents."},"currency":{"type":"string","description":"Currency of the amount.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code applied to the rental."},"maximum_free_miles_or_kilometers":{"type":"integer","description":"Maximum number of free miles or kilometers included."}},"description":"Discount details for the rental.","x-stripeMostCommon":["corporate_client_code","coupon","maximum_free_miles_or_kilometers"]},"extra_charges":{"type":"array","description":"Additional charges for the rental.","items":{"title":"extra_charge","required":["amount","type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["extra_mileage","gas","gps","late_charge","one_way_drop_off","other","parking","phone","regular_mileage","towing"]}},"x-stripeMostCommon":["amount","type"]}},"rate_per_unit":{"type":"integer","description":"Rate per unit for the rental."},"rate_unit":{"type":"string","description":"Unit of measurement for the rate.","enum":["days","kilometers","miles","months","weeks"],"x-stripeEnum":{"kind":"open","values":[{"description":"Rental rate charged per day.","value":"days"},{"description":"Rental rate charged per kilometer.","value":"kilometers"},{"description":"Rental rate charged per mile.","value":"miles"},{"description":"Rental rate charged per month.","value":"months"},{"description":"Rental rate charged per week.","value":"weeks"}]}},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates if the transaction is tax exempt."},"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate applied."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the rental.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total cost breakdown for the rental.","x-stripeMostCommon":["amount","currency","discounts","extra_charges","rate_per_unit","rate_unit","tax"]},"vehicle":{"title":"vehicle","type":"object","properties":{"make":{"maxLength":40,"type":"string","description":"Make of the rental vehicle."},"model":{"maxLength":40,"type":"string","description":"Model of the rental vehicle."},"odometer":{"type":"integer","description":"Odometer reading at the time of rental."},"type":{"type":"string","description":"Type of the rental vehicle.","enum":["cargo_van","compact","economy","exotic","exotic_suv","fifteen_passenger_van","four_wheel_drive","full_size","intermediate","large_suv","large_truck","luxury","medium_suv","midsize","mini","minivan","miscellaneous","moped","moving_van","premium","regular","small_medium_truck","small_suv","special","standard","stretch","subcompact","taxi","twelve_foot_truck","twelve_passenger_van","twenty_foot_truck","twenty_four_foot_truck","twenty_six_foot_truck","unique"],"x-stripeEnum":{"kind":"open","values":[{"description":"Van designed for cargo transport.","value":"cargo_van"},{"description":"Compact car.","value":"compact"},{"description":"Economy-class car.","value":"economy"},{"description":"Exotic or high-performance vehicle.","value":"exotic"},{"description":"Exotic or luxury sport utility vehicle.","value":"exotic_suv"},{"description":"Van with capacity for fifteen passengers.","value":"fifteen_passenger_van"},{"description":"Four-wheel-drive vehicle.","value":"four_wheel_drive"},{"description":"Full-sized car.","value":"full_size"},{"description":"Intermediate-sized car.","value":"intermediate"},{"description":"Large sport utility vehicle.","value":"large_suv"},{"description":"Large truck.","value":"large_truck"},{"description":"Luxury car.","value":"luxury"},{"description":"Medium sport utility vehicle.","value":"medium_suv"},{"description":"Midsize car.","value":"midsize"},{"description":"Mini-sized car.","value":"mini"},{"description":"Minivan.","value":"minivan"},{"description":"Other miscellaneous vehicle types.","value":"miscellaneous"},{"description":"Moped or motorized scooter.","value":"moped"},{"description":"Van designed for moving goods.","value":"moving_van"},{"description":"Premium car.","value":"premium"},{"description":"Regular vehicle type.","value":"regular"},{"description":"Small to medium truck.","value":"small_medium_truck"},{"description":"Small sport utility vehicle.","value":"small_suv"},{"description":"Special vehicle type.","value":"special"},{"description":"Standard-sized car.","value":"standard"},{"description":"Stretch limousine.","value":"stretch"},{"description":"Subcompact car.","value":"subcompact"},{"description":"Taxi or for-hire vehicle.","value":"taxi"},{"description":"Truck with twelve-foot cargo space.","value":"twelve_foot_truck"},{"description":"Van with capacity for twelve passengers.","value":"twelve_passenger_van"},{"description":"Truck with twenty-foot cargo space.","value":"twenty_foot_truck"},{"description":"Truck with twenty-four-foot cargo space.","value":"twenty_four_foot_truck"},{"description":"Truck with twenty-six-foot cargo space.","value":"twenty_six_foot_truck"},{"description":"Unique or specialty vehicle.","value":"unique"}]}},"vehicle_class":{"type":"string","description":"Class of the rental vehicle.","enum":["business","economy","first_class","premium_economy"]},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"Vehicle identification number (VIN)."}},"description":"Vehicle details for the rental.","x-stripeMostCommon":["make","model","odometer","type","vehicle_class","vehicle_identification_number"]}},"x-stripeMostCommon":["affiliate","booking_number","carrier_name","customer_service_phone_number","days_rented","distance","drivers","drop_off","insurances","no_show_indicator","pickup","renter_name","total","vehicle"]}},{"type":"string","enum":[""]}]},"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":[""]}]},"event_details":{"title":"event","required":["name"],"type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"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 event location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"company":{"maxLength":5000,"type":"string","description":"The name of the company"},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"ends_at":{"type":"integer","description":"Event end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"genre":{"maxLength":5000,"type":"string","description":"Type of the event entertainment (concert, sports event etc)"},"name":{"maxLength":5000,"type":"string","description":"The name of the event."},"starts_at":{"type":"integer","description":"Event start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Event details for this PaymentIntent","x-stripeMostCommon":["access_controlled_venue","address","affiliate","company","delivery","ends_at","genre","name","starts_at"]},"flight":{"title":"flight","required":["segments"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"agency_number":{"maxLength":8,"type":"string","description":"The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking."},"carrier":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"passenger_name":{"maxLength":26,"type":"string","description":"The name of the person or entity on the reservation."},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation.","items":{"title":"flight_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the flight reservation."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"The individual flight segments associated with the trip.","items":{"title":"flight_segment","required":["departs_at"],"type":"object","properties":{"amount":{"type":"integer","description":"The flight segment amount."},"arrival_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the arrival airport."},"arrives_at":{"type":"integer","description":"The arrival time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"carrier":{"maxLength":2,"type":"string","description":"The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment."},"departs_at":{"type":"integer","description":"The departure time for the flight segment. Measured in seconds since the Unix epoch.","format":"unix-time"},"departure_airport":{"maxLength":3,"type":"string","description":"The International Air Transport Association (IATA) airport code for the departure airport."},"flight_number":{"maxLength":4,"type":"string","description":"The flight number associated with the segment"},"service_class":{"type":"string","description":"The fare class for the segment.","enum":["business","economy","first","premium_economy"]}},"x-stripeMostCommon":["amount","arrival_airport","arrives_at","carrier","departs_at","departure_airport","flight_number","service_class"]}},"ticket_number":{"maxLength":14,"type":"string","description":"The ticket number associated with the travel reservation."}},"description":"Flight reservation details for this PaymentIntent","x-stripeMostCommon":["affiliate","agency_number","carrier","delivery","passenger_name","passengers","segments","ticket_number"]},"flight_data":{"description":"Flight data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"flight_data","required":["segments","total"],"type":"object","properties":{"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Name of affiliate partner."},"travel_authorization_code":{"maxLength":64,"type":"string","description":"Code provided by the company to a travel agent authorizing ticket issuance."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name","travel_authorization_code"]},"booking_number":{"maxLength":255,"type":"string","description":"Reservation reference."},"computerized_reservation_system":{"maxLength":4,"type":"string","description":"Computerized reservation system used to make the reservation and purchase the ticket."},"endorsements_and_restrictions":{"maxLength":20,"type":"string","description":"Ticket restrictions."},"insurances":{"type":"array","description":"List of insurances.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Insurance cost."},"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Insurance company name."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering lost, damaged, or delayed baggage.","value":"baggage"},{"description":"Insurance covering losses due to airline bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering flight cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during travel.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"passengers":{"type":"array","description":"List of passengers.","items":{"title":"passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Passenger's full name."}},"x-stripeMostCommon":["name"]}},"segments":{"type":"array","description":"List of flight segments.","items":{"title":"segment","required":["arrival","carrier_code","departure","service_class"],"type":"object","properties":{"amount":{"type":"integer","description":"Segment fare amount."},"arrival":{"title":"arrival","required":["airport"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Arrival airport IATA code."},"arrives_at":{"type":"integer","description":"Arrival date/time.","format":"unix-time"},"city":{"maxLength":99,"type":"string","description":"Arrival city."},"country":{"maxLength":5000,"type":"string","description":"Arrival country."}},"description":"Arrival details.","x-stripeMostCommon":["airport","arrives_at","city","country"]},"carrier_code":{"maxLength":5000,"type":"string","description":"Airline carrier code."},"carrier_name":{"maxLength":25,"type":"string","description":"Carrier name."},"currency":{"type":"string","description":"Segment currency.","format":"currency"},"departure":{"title":"departure","required":["airport","departs_at"],"type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Departure airport IATA code."},"city":{"maxLength":99,"type":"string","description":"Departure city."},"country":{"maxLength":5000,"type":"string","description":"Departure country."},"departs_at":{"type":"integer","description":"Departure date/time.","format":"unix-time"}},"description":"Departure details.","x-stripeMostCommon":["airport","city","country","departs_at"]},"exchange_ticket_number":{"maxLength":20,"type":"string","description":"Exchange ticket number."},"fare_basis_code":{"maxLength":20,"type":"string","description":"Fare basis code."},"fees":{"type":"integer","description":"Additional fees."},"flight_number":{"maxLength":20,"type":"string","description":"Flight number."},"is_stop_over_indicator":{"type":"boolean","description":"Stopover indicator."},"refundable":{"type":"boolean","description":"Refundable ticket indicator."},"service_class":{"type":"string","description":"Class of service.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating.","value":"business"},{"description":"Economy class seating.","value":"economy"},{"description":"First class seating with premium amenities.","value":"first_class"},{"description":"Premium economy class with enhanced seating and services.","value":"premium_economy"}]}},"tax_amount":{"type":"integer","description":"Tax amount for segment."},"ticket_number":{"maxLength":20,"type":"string","description":"Ticket number."}},"x-stripeMostCommon":["amount","arrival","carrier_code","carrier_name","currency","departure","exchange_ticket_number","fare_basis_code","fees","flight_number","is_stop_over_indicator","refundable","service_class","tax_amount","ticket_number"]}},"ticket_electronically_issued_indicator":{"type":"boolean","description":"Electronic ticket indicator."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total flight amount."},"credit_reason":{"type":"string","description":"Reason for credit.","enum":["other","partial_ticket_refund","passenger_transport_ancillary_cancellation","ticket_and_ancillary_cancellation","ticket_cancellation"],"x-stripeEnum":{"kind":"open","values":[{"description":"Other credit reasons.","value":"other"},{"description":"Partial refund of the ticket cost.","value":"partial_ticket_refund"},{"description":"Cancellation of passenger transport and ancillary services.","value":"passenger_transport_ancillary_cancellation"},{"description":"Cancellation of both ticket and ancillary services.","value":"ticket_and_ancillary_cancellation"},{"description":"Cancellation of the ticket only.","value":"ticket_cancellation"}]}},"currency":{"type":"string","description":"Total currency.","format":"currency"},"discounts":{"title":"discounts","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."}},"description":"Discount details.","x-stripeMostCommon":["corporate_client_code"]},"extra_charges":{"type":"array","description":"Additional charges.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of additional charges."},"type":{"type":"string","description":"Type of additional charges.","enum":["additional_fees","ancillary_service_charges","exchange_fee"],"x-stripeEnum":{"kind":"open","values":[{"description":"Additional fees charged for the flight.","value":"additional_fees"},{"description":"Charges for ancillary services such as baggage, seat selection, or meals.","value":"ancillary_service_charges"},{"description":"Fee charged for exchanging or changing the ticket.","value":"exchange_fee"}]}}},"x-stripeMostCommon":["amount","type"]}},"tax":{"title":"tax","type":"object","properties":{"tax_items":{"type":"array","description":"Array of tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown.","x-stripeMostCommon":["tax_items"]}},"description":"Total cost breakdown.","x-stripeMostCommon":["amount","credit_reason","currency","discounts","extra_charges","tax"]},"transaction_type":{"type":"string","description":"Type of flight transaction.","enum":["exchange_ticket","miscellaneous","refund","ticket_purchase"],"x-stripeEnum":{"kind":"open","values":[{"description":"Exchange or modification of an existing ticket.","value":"exchange_ticket"},{"description":"Other miscellaneous flight-related transactions.","value":"miscellaneous"},{"description":"Refund for a canceled or unused ticket.","value":"refund"},{"description":"Purchase of a new flight ticket.","value":"ticket_purchase"}]}}},"x-stripeMostCommon":["affiliate","booking_number","computerized_reservation_system","endorsements_and_restrictions","insurances","passengers","segments","ticket_electronically_issued_indicator","total","transaction_type"]}},{"type":"string","enum":[""]}]},"lodging":{"title":"lodging","required":["checkin_at","checkout_at"],"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 lodging location's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"adults":{"type":"integer","description":"The number of adults on the booking"},"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the lodging reservation."},"category":{"type":"string","description":"The lodging category","enum":["hotel","vacation_rental"]},"checkin_at":{"type":"integer","description":"Lodging check-in time. Measured in seconds since the Unix epoch.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Lodging check-out time. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"The customer service phone number of the lodging company."},"daily_room_rate_amount":{"type":"integer","description":"The daily lodging room rate."},"delivery":{"title":"delivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"title":"delivery_recipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"Details of the recipient.","x-stripeMostCommon":["email","name","phone"]}},"description":"Delivery details for this purchase.","x-stripeMostCommon":["mode","recipient"]},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["gift_shop","laundry","mini_bar","other","restaurant","telephone"]}},"fire_safety_act_compliance":{"type":"boolean","description":"Indicates whether the lodging location is compliant with the Fire Safety Act."},"name":{"maxLength":100,"type":"string","description":"The name of the lodging location."},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep their booking while failing to cancel the reservation."},"number_of_rooms":{"type":"integer","description":"The number of rooms on the booking"},"passengers":{"type":"array","description":"The details of the passengers in the travel reservation","items":{"title":"lodging_passenger","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the person or entity on the lodging reservation."}},"x-stripeMostCommon":["name"]}},"property_phone_number":{"type":"string","description":"The phone number of the lodging location."},"room_class":{"maxLength":5000,"type":"string","description":"The room class for this purchase."},"room_nights":{"type":"integer","description":"The number of room nights"},"total_room_tax_amount":{"type":"integer","description":"The total tax amount associating with the room reservation."},"total_tax_amount":{"type":"integer","description":"The total tax amount"}},"description":"Lodging reservation details for this PaymentIntent","x-stripeMostCommon":["address","adults","affiliate","booking_number","category","checkin_at","checkout_at","customer_service_phone_number","daily_room_rate_amount","delivery","extra_charges","fire_safety_act_compliance","name","no_show","number_of_rooms","passengers","property_phone_number","room_class","room_nights","total_room_tax_amount","total_tax_amount"]},"lodging_data":{"description":"Lodging data for this PaymentIntent.","anyOf":[{"type":"array","items":{"title":"lodging_data","required":["checkin_at","checkout_at","total"],"type":"object","properties":{"accommodation":{"title":"accommodation","type":"object","properties":{"accommodation_type":{"type":"string","description":"Type of accommodation.","enum":["apartment","cabana","house","penthouse","room","standard","suite","villa"],"x-stripeEnum":{"kind":"open","values":[{"description":"A self-contained apartment unit.","value":"apartment"},{"description":"A cabana or small cabin.","value":"cabana"},{"description":"A standalone house.","value":"house"},{"description":"A penthouse or top-floor luxury accommodation.","value":"penthouse"},{"description":"A standard room.","value":"room"},{"description":"A standard accommodation type.","value":"standard"},{"description":"A suite with multiple rooms or enhanced amenities.","value":"suite"},{"description":"A villa or luxury residence.","value":"villa"}]}},"bed_type":{"maxLength":20,"type":"string","description":"Bed type."},"daily_rate_amount":{"type":"integer","description":"Daily accommodation rate in cents."},"nights":{"type":"integer","description":"Number of nights."},"number_of_rooms":{"type":"integer","description":"Number of rooms, cabanas, apartments, and so on."},"rate_type":{"maxLength":20,"type":"string","description":"Rate type."},"smoking_indicator":{"type":"boolean","description":"Whether smoking is allowed."}},"description":"Accommodation details for the lodging.","x-stripeMostCommon":["accommodation_type","bed_type","daily_rate_amount","nights","number_of_rooms","rate_type","smoking_indicator"]},"affiliate":{"title":"affiliate","type":"object","properties":{"code":{"maxLength":20,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":255,"type":"string","description":"Affiliate partner name."}},"description":"Affiliate details if applicable.","x-stripeMostCommon":["code","name"]},"booking_number":{"maxLength":255,"type":"string","description":"Booking confirmation number for the lodging."},"checkin_at":{"type":"integer","description":"Check-in date.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Check-out date.","format":"unix-time"},"customer_service_phone_number":{"type":"string","description":"Customer service phone number for the lodging company."},"fire_safety_act_compliance_indicator":{"type":"boolean","description":"Whether the lodging is compliant with any hotel fire safety regulations."},"guests":{"type":"array","description":"List of guests for the lodging.","items":{"title":"guest","required":["name"],"type":"object","properties":{"name":{"maxLength":198,"type":"string","description":"Guest's full name."}},"x-stripeMostCommon":["name"]}},"host":{"title":"host","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":"Address of the host.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"country_of_domicile":{"maxLength":5000,"type":"string","description":"Host's country of domicile."},"host_reference":{"maxLength":255,"type":"string","description":"Reference number for the host."},"host_type":{"type":"string","description":"Type of host.","enum":["hostel","hotel","owner","rental_agency"],"x-stripeEnum":{"kind":"open","values":[{"description":"A hostel or shared accommodation facility.","value":"hostel"},{"description":"A hotel or hotel chain.","value":"hotel"},{"description":"The property owner directly managing the rental.","value":"owner"},{"description":"A rental agency managing the property.","value":"rental_agency"}]}},"name":{"maxLength":255,"type":"string","description":"Name of the lodging property or host."},"number_of_reservations":{"type":"integer","description":"Total number of reservations for the host."},"property_phone_number":{"type":"string","description":"Property phone number."},"registered_at":{"type":"integer","description":"Host's registration date.","format":"unix-time"}},"description":"Host details for the lodging.","x-stripeMostCommon":["address","country_of_domicile","host_reference","host_type","name","number_of_reservations","property_phone_number","registered_at"]},"insurances":{"type":"array","description":"List of insurances for the lodging.","items":{"title":"insurance","required":["amount","insurance_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Price of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering losses due to provider bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during the stay.","value":"medical"}]}}},"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]}},"no_show_indicator":{"type":"boolean","description":"Whether the renter is a no-show."},"renter_id_number":{"maxLength":25,"type":"string","description":"Renter ID number for the lodging."},"renter_name":{"maxLength":198,"type":"string","description":"Renter name for the lodging."},"total":{"title":"total","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Total price of the lodging reservation in cents."},"cash_advances":{"type":"integer","description":"Cash advances in cents."},"currency":{"type":"string","description":"Currency of the total amount.","format":"currency"},"discounts":{"title":"discount","type":"object","properties":{"corporate_client_code":{"maxLength":20,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":25,"type":"string","description":"Coupon code."}},"description":"Discount details for the lodging.","x-stripeMostCommon":["corporate_client_code","coupon"]},"extra_charges":{"type":"array","description":"Additional charges for the lodging.","items":{"title":"extra_charge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["gift_shop","laundry","mini_bar","other","phone","restaurant"],"x-stripeEnum":{"kind":"open","values":[{"description":"Charges for gift shop purchases.","value":"gift_shop"},{"description":"Charges for laundry or cleaning services.","value":"laundry"},{"description":"Charges for mini bar consumption.","value":"mini_bar"},{"description":"Other miscellaneous charges.","value":"other"},{"description":"Charges for telephone services.","value":"phone"},{"description":"Charges for dining or food services.","value":"restaurant"}]}}},"x-stripeMostCommon":["amount","type"]}},"prepaid_amount":{"type":"integer","description":"Prepaid amount in cents."},"tax":{"title":"tax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates whether the transaction is tax exempt."},"tax_items":{"type":"array","description":"Tax details.","items":{"title":"tax_item","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount in cents."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":40,"type":"string","description":"Type of tax applied."}},"x-stripeMostCommon":["amount","rate","type"]}}},"description":"Tax breakdown for the lodging reservation.","x-stripeMostCommon":["tax_exempt_indicator","tax_items"]}},"description":"Total details for the lodging.","x-stripeMostCommon":["amount","cash_advances","currency","discounts","extra_charges","prepaid_amount","tax"]}},"x-stripeMostCommon":["accommodation","affiliate","booking_number","checkin_at","checkout_at","customer_service_phone_number","fire_safety_act_compliance_indicator","guests","host","insurances","no_show_indicator","renter_id_number","renter_name","total"]}},{"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":[""]}]},"subscription":{"title":"subscription","required":["name"],"type":"object","properties":{"affiliate":{"title":"affiliate","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"Affiliate details for this purchase.","x-stripeMostCommon":["name"]},"auto_renewal":{"type":"boolean","description":"Info whether the subscription will be auto renewed upon expiry."},"billing_interval":{"title":"subscription_billing_interval","required":["count","interval"],"type":"object","properties":{"count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."},"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]}},"description":"Subscription billing details for this purchase.","x-stripeMostCommon":["count","interval"]},"ends_at":{"type":"integer","description":"Subscription end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"name":{"maxLength":5000,"type":"string","description":"Name of the product on subscription. e.g. Apple Music Subscription"},"starts_at":{"type":"integer","description":"Subscription start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Subscription details for this PaymentIntent","x-stripeMostCommon":["affiliate","auto_renewal","billing_interval","ends_at","name","starts_at"]}},"x-stripeMostCommon":["benefit","car_rental","car_rental_data","event_details","fleet_data","flight","flight_data","healthcare","location","lodging","lodging_data","money_services","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://docs.stripe.com/api#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 an Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is an 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"]},"bizum":{"title":"param","type":"object","properties":{},"description":"If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method."},"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","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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."},"gopay":{"title":"param","type":"object","properties":{},"description":"If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"id_bank_transfer":{"title":"param","type":"object","properties":{"bank":{"type":"string","description":"Bank where the account is held.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true}},"description":"If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.","x-stripeMostCommon":["bank"]},"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 (Link is also known as Onelink in the UK)."},"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."},"paypay":{"title":"param","type":"object","properties":{},"description":"If this is a `paypay` PaymentMethod, this hash contains details about the PayPay 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."},"qris":{"title":"param","type":"object","properties":{},"description":"If this is a `qris` PaymentMethod, this hash contains details about the QRIS 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"]},"rechnung":{"title":"param","required":["dob"],"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 `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.","x-stripeMostCommon":["dob"]},"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."},"scalapay":{"title":"param","type":"object","properties":{},"description":"If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay 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"]},"sequra":{"title":"param","type":"object","properties":{},"description":"If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method."},"shared_payment_granted_token":{"type":"string","description":"ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent."},"shopeepay":{"title":"param","type":"object","properties":{},"description":"If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method."},"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"]},"stripe_balance":{"title":"param","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment"}},"description":"This hash contains details about the Stripe balance payment method.","x-stripeMostCommon":["account","financial_account"]},"sunbit":{"title":"param","type":"object","properties":{},"description":"If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method."},"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","bizum","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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","request_overcapture","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","verification_method"]},{"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"]},"company_details":{"description":"Registration details about the buyer's organization.","anyOf":[{"title":"company_details_param","type":"object","properties":{"registered_address":{"description":"The address the company or entity is registered with.","anyOf":[{"title":"registered_address_param","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."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (e.g., 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."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name."},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type."},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["","ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"]},"vat":{"maxLength":5000,"type":"string","description":"VAT id number"}},"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},{"type":"string","enum":[""]}]},"reference":{"maxLength":5000,"type":"string","description":"An identifier or reference that this payment corresponds to."}},"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":[""]}]},"bizum":{"description":"If this is a `bizum` PaymentMethod, this sub-hash contains details about the Bizum payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"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."},"mandate_options":{"title":"payment_intent_payment_method_options_mandate_options_param","type":"object","properties":{"expires_at":{"type":"integer","description":"Expiry date of the mandate.","format":"unix-time"}},"description":"Details of the BLIK mandate","x-stripeMostCommon":["expires_at"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-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_decremental_authorization":{"type":"string","description":"Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.","enum":["if_available","never"]},"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_partial_authorization":{"type":"string","description":"Request partial authorization on 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_credential_usage":{"type":"string","description":"Set to indicate the future transaction type usage for the card being set up.","enum":["installment","recurring","unscheduled"],"x-stripeEnum":{"kind":"open","values":[{"description":"Use `installment` if the payment method will be used for future off-session installment payments that you manage. This is distinct from [`payment_method_options.card.installments`](/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments), which is used for issuer installments like [Mexico installments](/payments/meses-sin-intereses/accept-a-payment) and [Japan installments](/payments/jp-installments/accept-a-payment).","value":"installment"},{"description":"Use `recurring` if the payment method will be used for off-session payment that occurs at regularly scheduled intervals.","value":"recurring"},{"description":"Use `unscheduled` if the payment method will be used for off-session payment that does not occur at regular intervals on a scheduled date.","value":"unscheduled"}]}},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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":[""]}]},"statement_details":{"description":"Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.","anyOf":[{"title":"statement_details_param","type":"object","properties":{"address":{"title":"statement_details_address_param","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":"Please pass in an address that is within your Stripe user account country","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"phone":{"maxLength":5000,"type":"string","description":"Phone number (e.g., a toll-free number that customers can call)"}},"x-stripeMostCommon":["address","phone"]},{"type":"string","enum":[""]}]},"stored_credential_usage":{"type":"string","description":"Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards).\n\n When making an off session payment with a previously saved card (that was saved with a SetupIntent or with a PaymentIntent with `setup_future_usage`), set this parameter to indicate the type of transaction.\n\n You can set this parameter at any time before or during PaymentIntent confirmation, and confirm this PaymentIntent with `off_session=true`.\n\n Note that this parameter is currently unsupported with the `setup_future_usage` parameter.","enum":["installment","recurring","unscheduled"],"x-stripeBypassValidation":true},"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_by","capture_delay","capture_delay_days","capture_method","commerce_type","credential_on_file","cvc_token","installments","mandate_options","mcc","moto","network","network_options","network_token","payment_details","recipient_details","request_card_account_update","request_decremental_authorization","request_extended_authorization","request_flexible_extended_authorization","request_forced_capture","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_credential_usage","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `manual` if you intend to place the funds on hold and want to override the top-level `capture_method` value for this payment method.","value":"manual"},{"description":"Use `manual_preferred` if you prefer `manual` capture_method but support falling back to `automatic` based on the presented payment method.","value":"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":["aade_data","buy_now_pay_later_options","capture_by","capture_delay","capture_delay_days","capture_method","installments","payment_details","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":["amount_reconciliation","deposit_options","mode","setup_future_usage","transaction_verification_options"]},{"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":[""]}]},"gopay":{"description":"If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay 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":[""]}]},"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":[""]}]},"id_bank_transfer":{"description":"If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"expires_after":{"type":"integer","description":"The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now."},"expires_at":{"type":"integer","description":"The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.","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-stripeMostCommon":["expires_after","expires_at","on_existing_payment_intent","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":[""]}]},"supplementary_purchase_data":{"description":"Supplementary Purchase Data for the corresponding Klarna payment","anyOf":[{"title":"supplementary_purchase_data_param","type":"object","properties":{"bus_reservation_details":{"description":"Supplementary bus reservation details.","anyOf":[{"type":"array","items":{"title":"bus_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"event_reservation_details":{"description":"Supplementary event reservation details.","anyOf":[{"type":"array","items":{"title":"event_reservation_details_param","type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the event.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"ends_at":{"type":"integer","description":"End timestamp of the event.","format":"unix-time"},"event_company_name":{"maxLength":255,"type":"string","description":"Company selling the ticket."},"event_name":{"maxLength":255,"type":"string","description":"Name of the event."},"event_type":{"type":"string","description":"Type of the event.","enum":["concert","conference","digital_education","expo","festival","in_person_education","sport","tour"],"x-stripeEnum":{"kind":"open","values":[{"description":"Musical performance or concert event.","value":"concert"},{"description":"Professional conference or meeting event.","value":"conference"},{"description":"Online or digital educational event.","value":"digital_education"},{"description":"Exhibition or trade show event.","value":"expo"},{"description":"Festival or celebration event.","value":"festival"},{"description":"In-person educational event or workshop.","value":"in_person_education"},{"description":"Sporting event or competition.","value":"sport"},{"description":"Guided tour or sightseeing event.","value":"tour"}]}},"insurances":{"type":"array","description":"List of insurances for this event.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"starts_at":{"type":"integer","description":"Start timestamp of the event.","format":"unix-time"},"venue_name":{"maxLength":255,"type":"string","description":"Name of the venue where the event takes place."}},"x-stripeMostCommon":["access_controlled_venue","address","affiliate_name","ends_at","event_company_name","event_name","event_type","insurances","starts_at","venue_name"]}},{"type":"string","enum":[""]}]},"ferry_reservation_details":{"description":"Supplementary ferry reservation details.","anyOf":[{"type":"array","items":{"title":"ferry_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"insurances":{"description":"Supplementary insurance details.","anyOf":[{"type":"array","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},{"type":"string","enum":[""]}]},"marketplace_sellers":{"description":"Supplementary marketplace seller details.","anyOf":[{"type":"array","items":{"title":"marketplace_seller_param","type":"object","properties":{"line_item_references":{"type":"array","description":"The references to line items for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"marketplace_seller_address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"The address of the selling or delivering merchant.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"marketplace_seller_name":{"maxLength":255,"type":"string","description":"The name of the marketplace seller."},"marketplace_seller_reference":{"maxLength":255,"type":"string","description":"The unique identifier for the marketplace seller."},"number_of_transactions":{"type":"integer","description":"The number of transactions the sub-seller completed in the last 12 months."},"product_category":{"type":"string","description":"The category of the product.","enum":["accessories","appliances","apps_and_games","arts_crafts_and_sewing","automotive","baby","baby_clothing","bags_and_purses","beauty","books","cds_and_vinyl","cell_phones_and_accessories","collectibles_and_fine_arts","digital_music","electronics","grocery_and_gourmet_food","handmade","health_and_personal_care","home_and_kitchen","industrial_and_scientific","luggage_and_travel_gear","magazine_subscriptions","men_clothing","musical_instruments","office_products","patio_lawn_and_garden","pet_supplies","shoes","software","sports_and_outdoors","tools_and_home_improvement","toys_and_games","video_games","women_clothing"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fashion and general accessories.","value":"accessories"},{"description":"Home and kitchen appliances.","value":"appliances"},{"description":"Mobile and software applications and games.","value":"apps_and_games"},{"description":"Art supplies, craft materials, and sewing products.","value":"arts_crafts_and_sewing"},{"description":"Automotive parts, accessories, and tools.","value":"automotive"},{"description":"Baby care products and equipment.","value":"baby"},{"description":"Clothing for babies and infants.","value":"baby_clothing"},{"description":"Handbags, purses, and bags.","value":"bags_and_purses"},{"description":"Cosmetics, skincare, and beauty products.","value":"beauty"},{"description":"Physical books and publications.","value":"books"},{"description":"Music in physical media formats.","value":"cds_and_vinyl"},{"description":"Mobile phones and related accessories.","value":"cell_phones_and_accessories"},{"description":"Collectible items and fine art pieces.","value":"collectibles_and_fine_arts"},{"description":"Digital music downloads and streaming.","value":"digital_music"},{"description":"Consumer electronics and devices.","value":"electronics"},{"description":"Food, beverages, and gourmet products.","value":"grocery_and_gourmet_food"},{"description":"Handcrafted and artisanal products.","value":"handmade"},{"description":"Health products and personal care items.","value":"health_and_personal_care"},{"description":"Home furnishings and kitchen supplies.","value":"home_and_kitchen"},{"description":"Industrial equipment and scientific supplies.","value":"industrial_and_scientific"},{"description":"Luggage, suitcases, and travel accessories.","value":"luggage_and_travel_gear"},{"description":"Magazine and periodical subscriptions.","value":"magazine_subscriptions"},{"description":"Clothing and apparel for men.","value":"men_clothing"},{"description":"Musical instruments and equipment.","value":"musical_instruments"},{"description":"Office supplies and business products.","value":"office_products"},{"description":"Outdoor, lawn, and garden products.","value":"patio_lawn_and_garden"},{"description":"Pet care products and supplies.","value":"pet_supplies"},{"description":"Footwear for all categories.","value":"shoes"},{"description":"Computer software and applications.","value":"software"},{"description":"Sports equipment and outdoor gear.","value":"sports_and_outdoors"},{"description":"Tools and home improvement supplies.","value":"tools_and_home_improvement"},{"description":"Toys, games, and children's entertainment.","value":"toys_and_games"},{"description":"Video games and gaming consoles.","value":"video_games"},{"description":"Clothing and apparel for women.","value":"women_clothing"}]}},"seller_last_login_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last logged in.","format":"unix-time"},"seller_rating":{"type":"string","description":"The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.","enum":["high","low","medium","very_high","very_low"],"x-stripeEnum":{"kind":"open","values":[{"description":"High rating.","value":"high"},{"description":"Low rating.","value":"low"},{"description":"Medium rating.","value":"medium"},{"description":"Very high rating.","value":"very_high"},{"description":"Very low rating.","value":"very_low"}]}},"seller_registered_at":{"type":"integer","description":"The date when the seller's account with the marketplace was created.","format":"unix-time"},"seller_updated_at":{"type":"integer","description":"The date when the seller's account with the marketplace was last updated.","format":"unix-time"},"shipping_references":{"type":"array","description":"The references to shipping addresses for purchases with multiple associated sub-sellers.","items":{"maxLength":255,"type":"string"}},"volume_of_transactions":{"type":"integer","description":"The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units."}},"x-stripeMostCommon":["line_item_references","marketplace_seller_address","marketplace_seller_name","marketplace_seller_reference","number_of_transactions","product_category","seller_last_login_at","seller_rating","seller_registered_at","seller_updated_at","shipping_references","volume_of_transactions"]}},{"type":"string","enum":[""]}]},"round_trip_reservation_details":{"description":"Supplementary round trip reservation details.","anyOf":[{"type":"array","items":{"title":"round_trip_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"train_reservation_details":{"description":"Supplementary train reservation details.","anyOf":[{"type":"array","items":{"title":"train_reservation_details_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for the service."},"arrival":{"title":"arrival_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the arrival location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"arrival_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the arrival location."}},"description":"Arrival details.","x-stripeMostCommon":["address","arrival_location"]},"carrier_name":{"maxLength":255,"type":"string","description":"Name of transportation company."},"currency":{"type":"string","description":"Currency.","format":"currency"},"departure":{"title":"departure_param","type":"object","properties":{"address":{"title":"address_param","type":"object","properties":{"city":{"maxLength":99,"type":"string","description":"The city or town."},"country":{"maxLength":5000,"type":"string","description":"The country in ISO 3166-1 alpha-2 format."},"postal_code":{"maxLength":10,"type":"string","description":"The postal code formatted according to country."},"region":{"maxLength":99,"type":"string","description":"The state, county, province, or region formatted according to country."},"street_address":{"maxLength":99,"type":"string","description":"Line 1 of the street address."},"street_address2":{"maxLength":99,"type":"string","description":"Line 2 of the street address."}},"description":"Address of the departure location.","x-stripeMostCommon":["city","country","postal_code","region","street_address","street_address2"]},"departs_at":{"type":"integer","description":"Timestamp of departure.","format":"unix-time"},"departure_location":{"maxLength":255,"type":"string","description":"Identifier name or reference for the origin location."}},"description":"Departure details.","x-stripeMostCommon":["address","departs_at","departure_location"]},"insurances":{"type":"array","description":"List of insurances for this reservation.","items":{"title":"insurance_param","type":"object","properties":{"currency":{"type":"string","description":"Insurance currency.","format":"currency"},"insurance_company_name":{"maxLength":255,"type":"string","description":"Name of the company providing the insurance."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance coverage for baggage loss or damage.","value":"baggage"},{"description":"Insurance that protects against bankruptcy of service providers.","value":"bankruptcy"},{"description":"Insurance that covers cancelation costs.","value":"cancelation"},{"description":"Emergency insurance coverage for unexpected situations.","value":"emergency"},{"description":"Medical insurance coverage for incidents.","value":"medical"}]}},"price":{"type":"integer","description":"Price of insurance in cents."}},"x-stripeMostCommon":["currency","insurance_company_name","insurance_type","price"]}},"passengers":{"type":"array","description":"List of passengers that this reservation applies to.","items":{"title":"passenger_param","type":"object","properties":{"family_name":{"maxLength":99,"type":"string","description":"The family name of the person."},"given_name":{"maxLength":99,"type":"string","description":"The given name of the person."}},"x-stripeMostCommon":["family_name","given_name"]}},"price":{"type":"integer","description":"Price in cents."},"ticket_class":{"type":"string","description":"Ticket class.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating with premium amenities and services.","value":"business"},{"description":"Standard economy class seating with basic amenities.","value":"economy"},{"description":"Premium first class with luxury amenities and exclusive services.","value":"first_class"},{"description":"Enhanced economy class with additional comfort and services.","value":"premium_economy"}]}}},"x-stripeMostCommon":["affiliate_name","arrival","carrier_name","currency","departure","insurances","passengers","price","ticket_class"]}},{"type":"string","enum":[""]}]},"vouchers":{"description":"Voucher details, such as a gift card or discount code.","anyOf":[{"type":"array","items":{"title":"voucher_param","type":"object","properties":{"affiliate_name":{"maxLength":255,"type":"string","description":"Name of associated or partner company for this voucher."},"ends_at":{"type":"integer","description":"The voucher validity end time.","format":"unix-time"},"starts_at":{"type":"integer","description":"The voucher validity start time.","format":"unix-time"},"voucher_company":{"maxLength":255,"type":"string","description":"The issuer or provider of this voucher."},"voucher_name":{"maxLength":255,"type":"string","description":"The name or reference to identify the voucher."},"voucher_type":{"type":"string","description":"The type of this voucher.","enum":["digital_product","discount","gift_card","physical_product","services"],"x-stripeEnum":{"kind":"open","values":[{"description":"Voucher for digital goods or downloadable content.","value":"digital_product"},{"description":"Voucher that provides a discount on purchases.","value":"discount"},{"description":"Voucher that can be redeemed for merchandise or services.","value":"gift_card"},{"description":"Voucher for physical merchandise or goods.","value":"physical_product"},{"description":"Voucher for services or experiences.","value":"services"}]}}},"x-stripeMostCommon":["affiliate_name","ends_at","starts_at","voucher_company","voucher_name","voucher_type"]}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["bus_reservation_details","customer","event_reservation_details","ferry_reservation_details","insurances","marketplace_sellers","round_trip_reservation_details","train_reservation_details","vouchers"]},{"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 (Link is also known as Onelink in the UK).","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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-stripeMostCommon":["capture_method","setup_future_usage"]},{"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"]},"line_items":{"type":"array","description":"The line items purchased by the customer.","items":{"title":"line_item_param","required":["name","quantity","unit_amount"],"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."},"name":{"maxLength":127,"type":"string","description":"Descriptive name of the line item."},"quantity":{"type":"integer","description":"Quantity of the line item. Must be a positive number."},"sku":{"maxLength":127,"type":"string","description":"Client facing stock keeping unit, article number or similar."},"sold_by":{"maxLength":5000,"type":"string","description":"The Stripe account ID of the connected account that sells the item."},"tax":{"title":"line_item_tax_param","required":["amount","behavior"],"type":"object","properties":{"amount":{"type":"integer","description":"The tax for a single unit of the line item in minor units. Cannot be a negative number."},"behavior":{"type":"string","description":"The tax behavior for the line item.","enum":["exclusive","inclusive"]}},"description":"The tax information for the line item.","x-stripeMostCommon":["amount","behavior"]},"unit_amount":{"type":"integer","description":"Price for a single unit of the line item in minor units. Cannot be a negative number."}},"x-stripeMostCommon":["category","description","name","quantity","sku","sold_by","tax","unit_amount"]}},"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."},"reference_id":{"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"]},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":32,"type":"string"}}},"x-stripeMostCommon":["allow_delayed_notification","capture_method","line_items","preferred_locale","reference","reference_id","risk_correlation_id","setup_future_usage","subsellers"]},{"type":"string","enum":[""]}]},"paypay":{"description":"If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["setup_future_usage"]},{"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"},"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"amount_type":{"type":"string","description":"Type of amount. Defaults to `maximum`.","enum":["fixed","maximum"]},"currency":{"type":"string","description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.","format":"currency"},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged. Defaults to `monthly`.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]},"reference":{"maxLength":35,"type":"string","description":"Subscription name displayed to buyers in their bank app. Defaults to the displayable business name."},"start_date":{"maxLength":5000,"type":"string","description":"Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date."}},"description":"Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.","x-stripeMostCommon":["amount","amount_includes_iof","amount_type","currency","end_date","payment_schedule","reference","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"]}},"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":[""]}]},"qris":{"description":"If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS 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":[""]}]},"rechnung":{"description":"If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{}},{"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-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"},{"description":"Use `off_session` if your customer may or may not be present in your checkout flow.","value":"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-stripeMostCommon":["capture_method","setup_future_usage"]},{"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"scalapay":{"description":"If this is a `scalapay` PaymentMethod, this sub-hash contains details about the ScalaPay 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":[""]}]},"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":[""]}]},"sequra":{"description":"If this is a `sequra` PaymentMethod, this sub-hash contains details about the SeQura 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","setup_future_usage"]},{"type":"string","enum":[""]}]},"shopeepay":{"description":"If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay 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":[""]}]},"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":[""]}]},"stripe_balance":{"description":"If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance 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"]}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"sunbit":{"description":"If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit 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"]}},"x-stripeMostCommon":["capture_method","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","off_session"]}},"x-stripeMostCommon":["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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"manual_entry":{"title":"linked_account_options_manual_entry_param","required":["mode"],"type":"object","properties":{"mode":{"type":"string","description":"Settings for configuring manual entry of account details.","enum":["automatic","custom"]}},"description":"Customize manual entry behavior","x-stripeMostCommon":["mode"]},"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","inferred_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"],"x-stripeEnum":{"kind":"open","values":[{"description":"For purchases of physical or digital goods, both recurring and one-off.","value":"goods"},{"description":"For anything other than the purchase of goods or services, like donations, loan repayments, and so on.","value":"other"},{"description":"For purchases of services, like streaming services, web hosting, and so on.","value":"services"},{"description":"This is the default value for payment methods when transaction_purpose is not set.","value":"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, android, or mini_program."},"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-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"}]}}},"x-stripeMostCommon":["app_id","buyer_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","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","link","mb_way","mobilepay","momo","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","sequra","shopeepay","sofort","stripe_balance","sunbit","swish","touch_n_go","truemoney","twint","upi","us_bank_account","vipps","wechat_pay","wero","zip"]},"radar_options":{"title":"radar_options_with_peval_options","type":"object","properties":{"referrer":{"description":"The referrer URL of the current checkout session. You can use this to supply session-level referrer data when a Radar Session isn't available or doesn't contain a referrer.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"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","referrer","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":{"allowed_payment_method_types":{"style":"deepObject","explode":true},"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},"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},"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"}}}}},"x-stableId":"confirm_payment_intent_via_secret_key"}},"/v1/payment_intents/{intent}/decrement_authorization":{"post":{"summary":"Decrement an authorization","description":"

Perform a decremental authorization on an eligible\nPaymentIntent. To be eligible, the\nPaymentIntent’s status must be requires_capture and\ndecremental_authorization.status\nmust be available.

\n\n

Decremental authorizations decrease the authorized amount on your customer’s card\nto the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.

\n\n

After decrement, the PaymentIntent object\nreturns with the updated\namount.\nThe PaymentIntent will now be capturable up to the new authorized amount.

\n\n

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

","operationId":"PostPaymentIntentsIntentDecrementAuthorization","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 smaller than the currently authorized amount and greater than the already captured 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","ev_charging","fleet_data"]},"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","quantity_precision","tax","unit_cost","unit_cost_precision","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 and spaces 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 and spaces are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"surcharge":{"description":"Contains information about the surcharge portion of the amount.","anyOf":[{"title":"amount_details_surcharge_param","type":"object","properties":{"amount":{"description":"Portion of the amount that corresponds to a surcharge.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_validation":{"type":"string","description":"Indicate whether to enforce validations on the surcharge amount.","enum":["","automatic","disabled","enabled"]}},"x-stripeMostCommon":["amount","enforce_validation"]},{"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","tip"]},"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."},"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"]},"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"}}}}},"x-stableId":"decrement_authorization_on_payment_intent"}},"/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 with\nin-person payments and\nonline payments.

","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","ev_charging","fleet_data"]},"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","quantity_precision","tax","unit_cost","unit_cost_precision","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 and spaces 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 and spaces are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"surcharge":{"description":"Contains information about the surcharge portion of the amount.","anyOf":[{"title":"amount_details_surcharge_param","type":"object","properties":{"amount":{"description":"Portion of the amount that corresponds to a surcharge.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_validation":{"type":"string","description":"Indicate whether to enforce validations on the surcharge amount.","enum":["","automatic","disabled","enabled"]}},"x-stripeMostCommon":["amount","enforce_validation"]},{"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","tip"]},"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."},"payment_method_options":{"title":"payment_method_options_increment_authorization_param","type":"object","properties":{"card":{"title":"payment_intent_increment_authorization_param","type":"object","properties":{"request_partial_authorization":{"type":"string","description":"Request partial authorization on this PaymentIntent.","enum":["if_available","never"]}},"description":"Configuration for any card payments attempted on this PaymentIntent.","x-stripeMostCommon":["request_partial_authorization"]}},"description":"Payment method-specific configuration for this PaymentIntent.","x-stripeMostCommon":["card"]},"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},"payment_method_options":{"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"}}}}},"x-stableId":"increment_authorization_on_payment_intent"}},"/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"}}}}},"x-stableId":"verify_payment_intent_microdeposits_via_secret_key"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_payment_links"},"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 and US customers.","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 `elements`.","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":100,"type":"string","description":"Custom text for the label, displayed to the customer. Up to 100 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 `elements`.","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","currency_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."},"tax_details":{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","x-stripeMostCommon":["performance_location","provider_options","tax_code"]},"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"]}},"managed_payments":{"title":"managed_payments_params","type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session."}},"description":"Settings for Managed Payments for this Payment Link and resulting [CheckoutSessions](/api/checkout/sessions/object), [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).","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`. 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"],"x-stripeBypassValidation":true},"payment_method_options":{"title":"payment_method_options_params","type":"object","properties":{"card":{"title":"card_payment_method_options_params","type":"object","properties":{"restrictions":{"title":"card_restrictions_params","type":"object","properties":{"brands_blocked":{"type":"array","description":"The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.","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.","x-stripeMostCommon":["brands_blocked"]}},"description":"Configuration for `card` payment methods.","x-stripeMostCommon":["restrictions"]}},"description":"Payment-method-specific configuration.","x-stripeMostCommon":["card"]},"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","bizum","blik","boleto","card","cashapp","eps","fpx","giropay","gopay","grabpay","ideal","klarna","konbini","link","mb_way","mobilepay","multibanco","oxxo","p24","pay_by_bank","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","satispay","sepa_debit","sequra","shopeepay","sofort","sunbit","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":["account_tax_ids","custom_fields","description","footer","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":["billing_cycle_anchor","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 `elements`.","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},"managed_payments":{"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_options":{"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"}}}}},"x-stableId":"create_payment_link"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_payment_link"},"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."},"application_fee_amount":{"description":"The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Can only be applied when there are no line items with recurring prices.","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_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 and US customers.","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"]},"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 `elements`.","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":100,"type":"string","description":"Custom text for the label, displayed to the customer. Up to 100 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 `elements`.","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","currency_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":[""]}]},"on_behalf_of":{"description":"The account on behalf of which to charge.","anyOf":[{"type":"string"},{"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":[""]}]},"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":{"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"],"x-stripeBypassValidation":true},"payment_method_options":{"description":"Payment-method-specific configuration.","anyOf":[{"title":"payment_method_options_update_params","type":"object","properties":{"card":{"description":"Configuration for `card` payment methods.","anyOf":[{"title":"card_payment_method_options_update_params","type":"object","properties":{"restrictions":{"description":"Restrictions to apply to the card payment method. For example, you can block specific card brands.","anyOf":[{"title":"card_restrictions_update_params","type":"object","properties":{"brands_blocked":{"description":"The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.","anyOf":[{"type":"array","items":{"type":"string","enum":["american_express","discover_global_network","mastercard","visa"]}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["brands_blocked"]},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["restrictions"]},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["card"]},{"type":"string","enum":[""]}]},"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","bizum","blik","boleto","card","cashapp","eps","fpx","giropay","gopay","grabpay","ideal","klarna","konbini","link","mb_way","mobilepay","multibanco","oxxo","p24","pay_by_bank","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","satispay","sepa_debit","sequra","shopeepay","sofort","sunbit","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":[""]}]},"shipping_options":{"description":"The shipping rate options to apply to [checkout sessions](https://docs.stripe.com/api/checkout/sessions) created by this payment link.","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."}},"x-stripeMostCommon":["shipping_rate"]}},{"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":["account_tax_ids","custom_fields","description","footer","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":["billing_cycle_anchor","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 `elements`.","enum":["if_supported","never"]}},"description":"Controls tax ID collection during checkout.","x-stripeMostCommon":["enabled","required"]},"transfer_data":{"description":"The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to.","anyOf":[{"title":"transfer_data_update_params","required":["destination"],"type":"object","properties":{"amount":{"description":"The amount that will be transferred automatically when a charge succeeds.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"destination":{"type":"string","description":"If specified, successful charges will be attributed to the destination\n account for tax reporting, and the funds from charges will be transferred\n to the destination account. The ID of the resulting transfer will be\n returned on the successful charge's `transfer` field."}},"x-stripeMostCommon":["amount","destination"]},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["active","line_items","metadata"]},"encoding":{"after_completion":{"style":"deepObject","explode":true},"application_fee_amount":{"style":"deepObject","explode":true},"application_fee_percent":{"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},"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},"on_behalf_of":{"style":"deepObject","explode":true},"optional_items":{"style":"deepObject","explode":true},"payment_intent_data":{"style":"deepObject","explode":true},"payment_method_options":{"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":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"}}}}},"x-stableId":"update_payment_link"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_payment_link_line_items"}},"/v1/payment_method_configurations":{"get":{"summary":"List payment method configurations","description":"

List payment method configurations

","operationId":"GetPaymentMethodConfigurations","parameters":[{"name":"active","in":"query","description":"Whether the configuration is active.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"},"x-stripeLessCommon":true},{"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":[""]}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_payment_method_configurations"},"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"]},"bizum":{"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":"To enable Bizum, buyers need a Spanish IBAN from a bank connected to Bizum. Within their banking app, they can enable Bizum and link their mobile number to their IBAN.","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"]},"gopay":{"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":"GoPay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.","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"]},"id_bank_transfer":{"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 Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.","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"]},"paypay":{"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":"Customers can pay with PayPay online or using the PayPay app.","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"]},"qris":{"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":"QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.","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](/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"]},"scalapay":{"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":"Scalapay is a [single-use](/payments/payment-methods#usage) payment method that lets customers pay in 3 or 4 installments. Customers are redirected from your website or app, authorize the payment with Scalapay, 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"]},"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"]},"sequra":{"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":"SeQura is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers customers payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with SeQura, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.","x-stripeMostCommon":["display_preference"]},"shopeepay":{"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":"ShopeePay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.","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"]},"sunbit":{"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":"Sunbit is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers choose to pay in 3, 6, or 12 installments. Customers are redirected from your website or app, authorize the payment with Sunbit, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.","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},"bizum":{"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},"gopay":{"style":"deepObject","explode":true},"grabpay":{"style":"deepObject","explode":true},"id_bank_transfer":{"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},"paypay":{"style":"deepObject","explode":true},"payto":{"style":"deepObject","explode":true},"pix":{"style":"deepObject","explode":true},"promptpay":{"style":"deepObject","explode":true},"qris":{"style":"deepObject","explode":true},"revolut_pay":{"style":"deepObject","explode":true},"samsung_pay":{"style":"deepObject","explode":true},"satispay":{"style":"deepObject","explode":true},"scalapay":{"style":"deepObject","explode":true},"sepa_debit":{"style":"deepObject","explode":true},"sequra":{"style":"deepObject","explode":true},"shopeepay":{"style":"deepObject","explode":true},"sofort":{"style":"deepObject","explode":true},"sunbit":{"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"}}}}},"x-stableId":"create_payment_method_configuration"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/payment_method_configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_payment_method_configuration"},"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"},"x-stripeLessCommon":true}],"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"]},"bizum":{"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":"To enable Bizum, buyers need a Spanish IBAN from a bank connected to Bizum. Within their banking app, they can enable Bizum and link their mobile number to their IBAN.","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"]},"gopay":{"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":"GoPay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.","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"]},"id_bank_transfer":{"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 Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.","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"]},"paypay":{"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":"Customers can pay with PayPay online or using the PayPay app.","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"]},"qris":{"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":"QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.","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](/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"]},"scalapay":{"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":"Scalapay is a [single-use](/payments/payment-methods#usage) payment method that lets customers pay in 3 or 4 installments. Customers are redirected from your website or app, authorize the payment with Scalapay, 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"]},"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"]},"sequra":{"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":"SeQura is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers customers payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with SeQura, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.","x-stripeMostCommon":["display_preference"]},"shopeepay":{"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":"ShopeePay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.","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"]},"sunbit":{"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":"Sunbit is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers choose to pay in 3, 6, or 12 installments. Customers are redirected from your website or app, authorize the payment with Sunbit, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.","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},"bizum":{"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},"gopay":{"style":"deepObject","explode":true},"grabpay":{"style":"deepObject","explode":true},"id_bank_transfer":{"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},"paypay":{"style":"deepObject","explode":true},"payto":{"style":"deepObject","explode":true},"pix":{"style":"deepObject","explode":true},"promptpay":{"style":"deepObject","explode":true},"qris":{"style":"deepObject","explode":true},"revolut_pay":{"style":"deepObject","explode":true},"samsung_pay":{"style":"deepObject","explode":true},"satispay":{"style":"deepObject","explode":true},"scalapay":{"style":"deepObject","explode":true},"sepa_debit":{"style":"deepObject","explode":true},"sequra":{"style":"deepObject","explode":true},"shopeepay":{"style":"deepObject","explode":true},"sofort":{"style":"deepObject","explode":true},"sunbit":{"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"}}}}},"x-stableId":"update_payment_method_configuration"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_payment_method_domain"},"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"}}}}},"x-stableId":"create_payment_method_domain"}},"/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"}},"x-stripeLessCommon":true},{"name":"payment_method_domain","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/payment_method_domain"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_payment_method_domain"},"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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"update_payment_method_domain"}},"/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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"validate_payment_method_domain"}},"/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"]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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","bizum","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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"}}}}},"x-stableId":"list_payment_methods"},"post":{"summary":"Create 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 an Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is an 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"]},"bizum":{"title":"param","type":"object","properties":{},"description":"If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method."},"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":["request_card_art_and_program_name","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","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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."},"gopay":{"title":"param","type":"object","properties":{},"description":"If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"id_bank_transfer":{"title":"param","type":"object","properties":{"bank":{"type":"string","description":"Bank where the account is held.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true}},"description":"If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.","x-stripeMostCommon":["bank"]},"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 (Link is also known as Onelink in the UK)."},"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."},"paypay":{"title":"param","type":"object","properties":{},"description":"If this is a `paypay` PaymentMethod, this hash contains details about the PayPay 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."},"qris":{"title":"param","type":"object","properties":{},"description":"If this is a `qris` PaymentMethod, this hash contains details about the QRIS 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"]},"rechnung":{"title":"param","required":["dob"],"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 `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.","x-stripeMostCommon":["dob"]},"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."},"scalapay":{"title":"param","type":"object","properties":{},"description":"If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay 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"]},"sequra":{"title":"param","type":"object","properties":{},"description":"If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method."},"shopeepay":{"title":"param","type":"object","properties":{},"description":"If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method."},"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"]},"stripe_balance":{"title":"param","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment"}},"description":"This hash contains details about the Stripe balance payment method.","x-stripeMostCommon":["account","financial_account"]},"sunbit":{"title":"param","type":"object","properties":{},"description":"If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method."},"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","bizum","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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},"bizum":{"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},"gopay":{"style":"deepObject","explode":true},"grabpay":{"style":"deepObject","explode":true},"id_bank_transfer":{"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},"paypay":{"style":"deepObject","explode":true},"payto":{"style":"deepObject","explode":true},"pix":{"style":"deepObject","explode":true},"promptpay":{"style":"deepObject","explode":true},"qris":{"style":"deepObject","explode":true},"radar_options":{"style":"deepObject","explode":true},"rechnung":{"style":"deepObject","explode":true},"revolut_pay":{"style":"deepObject","explode":true},"samsung_pay":{"style":"deepObject","explode":true},"satispay":{"style":"deepObject","explode":true},"scalapay":{"style":"deepObject","explode":true},"sepa_debit":{"style":"deepObject","explode":true},"sequra":{"style":"deepObject","explode":true},"shopeepay":{"style":"deepObject","explode":true},"sofort":{"style":"deepObject","explode":true},"stripe_balance":{"style":"deepObject","explode":true},"sunbit":{"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"}}}}},"x-stableId":"create_payment_method"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_payment_method"},"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"},"x-stripeLessCommon":true}],"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":[""]}]},"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},"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"}}}}},"x-stableId":"update_payment_method"}},"/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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"attach_payment_method"}},"/v1/payment_methods/{payment_method}/detach":{"post":{"summary":"Detach a PaymentMethod from a Customer","description":"

Detaches a PaymentMethod object from a Customer. Detachment is permanent and irreversible — once detached, a PaymentMethod can no longer be used for payments 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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"detach_payment_method"}},"/v1/payment_records":{"get":{"summary":"List Payment Records","description":"

List all the Payment Records for a given merchant.

","operationId":"GetPaymentRecords","parameters":[{"name":"created_after","in":"query","description":"Only return Payment Records that were created after this unix timestamp.","required":false,"style":"form","explode":true,"schema":{"type":"integer","format":"unix-time"}},{"name":"created_before","in":"query","description":"Only return Payment Records that were created before this unix timestamp.","required":false,"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"}},"x-stripeLessCommon":true},{"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":"Payment Record List","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payment_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 PaymentRecords.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"list_payment_record"}},"/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"]},"canceled":{"title":"canceled","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"}},"description":"Information about the payment attempt cancelation.","x-stripeMostCommon":["canceled_at","payment_evaluations","reason"]},"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 email address."},"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","payment_evaluations","processor_details"]},"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","payment_evaluations","processor_details"]},"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":["canceled","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"],"x-stripeBypassValidation":true}},"description":"Information about the Payment Method debited for this payment.","x-stripeMostCommon":["billing_details","card","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","canceled","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},"canceled":{"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"}}}}},"x-stableId":"report_payment"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_payment_record"}},"/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":{"canceled":{"title":"canceled","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"}},"description":"Information about the payment attempt cancelation.","x-stripeMostCommon":["canceled_at","payment_evaluations","reason"]},"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","payment_evaluations","processor_details"]},"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","payment_evaluations","processor_details"]},"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":["canceled","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"],"x-stripeBypassValidation":true}},"description":"Information about the Payment Method debited for this payment.","x-stripeMostCommon":["billing_details","card","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":["canceled","description","failed","guaranteed","initiated_at","metadata","outcome","payment_method_details","shipping_details"]},"encoding":{"canceled":{"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},"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"}}}}},"x-stableId":"report_payment_attempt"}},"/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"}}}}},"x-stableId":"report_payment_attempt_canceled"}},"/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"}}}}},"x-stableId":"report_payment_attempt_failed"}},"/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"}}}}},"x-stableId":"report_payment_attempt_guaranteed"}},"/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 email address."},"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"}}}}},"x-stableId":"report_payment_attempt_informational"}},"/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"],"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"],"x-stripeBypassValidation":true},"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"}}}}},"x-stableId":"report_refund"}},"/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"}]},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_payouts"},"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 pay out."},"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. For US ACH payouts, this maps to the ACH Company Entry Description field, which the NACHA standard limits to 10 characters. Stripe truncates descriptors longer than 10 characters for US ACH payouts.","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"}}}}},"x-stableId":"create_payout"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_payout"},"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"}}}}},"x-stableId":"update_payout"}},"/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"}}}}},"x-stableId":"cancel_payout"}},"/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"}}}}},"x-stableId":"reverse_payout"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_billing_plans"},"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 use the same plan ID in live mode and in your sandboxes."},"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."},"tax_details":{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","x-stripeMostCommon":["performance_location","provider_options","tax_code"]},"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"}}}}},"x-stableId":"create_billing_plan"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_billing_plan"},"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"}}}}},"x-stableId":"update_billing_plan"},"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"}}}}},"x-stableId":"delete_billing_plan"}},"/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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_prices"},"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."},"tax_details":{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","x-stripeMostCommon":["performance_location","provider_options","tax_code"]},"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"}}}}},"x-stableId":"create_price"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"search_prices"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_price"},"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":[""]}]},"migrate_to":{"description":"If specified, subscriptions using this price will be updated to use the new referenced price.","anyOf":[{"title":"migrate_to_specs","required":["behavior","price"],"type":"object","properties":{"behavior":{"type":"string","description":"The behavior controlling the point in the subscription lifecycle after which to migrate the price. Currently must be `at_cycle_end`.","enum":["at_cycle_end"]},"effective_after":{"type":"integer","description":"The time after which subscriptions should start using the new price.","format":"unix-time"},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."}},"x-stripeMostCommon":["behavior","effective_after","price"]},{"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},"migrate_to":{"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"}}}}},"x-stableId":"update_price"}},"/v1/privacy/redaction_jobs":{"get":{"summary":"List all redaction jobs","description":"

Returns a list of redaction jobs.

","operationId":"GetPrivacyRedactionJobs","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"status","in":"query","description":"If provided, only RedactionJob objects with the given status will be returned.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["canceled","canceling","created","failed","ready","redacting","succeeded","validating"]}}],"requestBody":{"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":"RedactionResourceRedactionJobList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/privacy.redaction_job"}},"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/privacy/redaction_jobs","type":"string","description":"The URL where this list can be accessed."}},"description":"A list of redaction jobs","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"privacy_redaction_jobs_list_method"},"post":{"summary":"Create a redaction job","description":"

Creates a redaction job. When a job is created, it will start to validate.

","operationId":"PostPrivacyRedactionJobs","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["objects"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"objects":{"title":"root_object_params","type":"object","properties":{"charges":{"type":"array","items":{"maxLength":5000,"type":"string"}},"checkout_sessions":{"type":"array","items":{"maxLength":5000,"type":"string"}},"customers":{"type":"array","items":{"maxLength":5000,"type":"string"}},"identity_verification_sessions":{"type":"array","items":{"maxLength":5000,"type":"string"}},"invoices":{"type":"array","items":{"maxLength":5000,"type":"string"}},"issuing_cardholders":{"type":"array","items":{"maxLength":5000,"type":"string"}},"issuing_cards":{"type":"array","items":{"maxLength":5000,"type":"string"}},"payment_intents":{"type":"array","items":{"maxLength":5000,"type":"string"}},"radar_value_list_items":{"type":"array","items":{"maxLength":5000,"type":"string"}},"setup_intents":{"type":"array","items":{"maxLength":5000,"type":"string"}}},"description":"The objects to redact. These root objects and their related ones will be validated for redaction.","x-stripeMostCommon":["charges","checkout_sessions","customers","identity_verification_sessions","invoices","issuing_cardholders","issuing_cards","payment_intents","radar_value_list_items","setup_intents"]},"validation_behavior":{"type":"string","description":"Determines the validation behavior of the job. Default is `error`.","enum":["error","fix"]}},"additionalProperties":false,"x-stripeMostCommon":["objects","validation_behavior"]},"encoding":{"expand":{"style":"deepObject","explode":true},"objects":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/privacy.redaction_job"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"privacy_redaction_jobs_create_method"}},"/v1/privacy/redaction_jobs/{job}":{"get":{"summary":"Retrieve a redaction job","description":"

Retrieves the details of a previously created redaction job.

","operationId":"GetPrivacyRedactionJobsJob","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"}},"x-stripeLessCommon":true},{"name":"job","in":"path","description":"RedactionJob object identifier","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/privacy.redaction_job"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"privacy_redaction_jobs_retrieve_method"},"post":{"summary":"Update a redaction job","description":"

Updates the properties of a redaction job without running or canceling the job.

\n\n

If the job to update is in a failed status, it will not automatically start to validate. Once you applied all of the changes, use the validate API to start validation again.

","operationId":"PostPrivacyRedactionJobsJob","parameters":[{"name":"job","in":"path","description":"RedactionJob object identifier","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"}},"validation_behavior":{"type":"string","description":"Determines the validation behavior of the job. Default is `error`.","enum":["error","fix"]}},"additionalProperties":false,"x-stripeMostCommon":["validation_behavior"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/privacy.redaction_job"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"privacy_redaction_jobs_update_method"}},"/v1/privacy/redaction_jobs/{job}/cancel":{"post":{"summary":"Cancel a redaction job","description":"

You can cancel a redaction job when it’s in one of these statuses: ready, failed.

\n\n

Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again.

","operationId":"PostPrivacyRedactionJobsJobCancel","parameters":[{"name":"job","in":"path","description":"RedactionJob object identifier","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/privacy.redaction_job"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"privacy_redaction_jobs_cancel_method"}},"/v1/privacy/redaction_jobs/{job}/run":{"post":{"summary":"Run a redaction job","description":"

Run a redaction job in a ready status.

\n\n

When you run a job, the configured objects will be redacted asynchronously. This action is irreversible and cannot be canceled once started.

\n\n

The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job’s validation_behavior is set to fix, the automatic fixes will be applied to objects at this step.

","operationId":"PostPrivacyRedactionJobsJobRun","parameters":[{"name":"job","in":"path","description":"RedactionJob object identifier","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/privacy.redaction_job"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"privacy_redaction_jobs_run_method"}},"/v1/privacy/redaction_jobs/{job}/validate":{"post":{"summary":"Validate a redaction job","description":"

Validate a redaction job when it is in a failed status.

\n\n

When a job is created, it automatically begins to validate on the configured objects’ eligibility for redaction. Use this to validate the job again after its validation errors are resolved or the job’s validation_behavior is changed.

\n\n

The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed.

","operationId":"PostPrivacyRedactionJobsJobValidate","parameters":[{"name":"job","in":"path","description":"RedactionJob object identifier","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/privacy.redaction_job"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"privacy_redaction_jobs_validate_method"}},"/v1/privacy/redaction_jobs/{job}/validation_errors":{"get":{"summary":"List all validation errors","description":"

Returns a list of validation errors for the specified redaction job.

","operationId":"GetPrivacyRedactionJobsJobValidationErrors","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"name":"job","in":"path","description":"RedactionJob object identifier","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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"RedactionResourceValidationErrorList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/privacy.redaction_job_validation_error"}},"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/privacy/redaction_jobs/[^/]+/validation_errors","type":"string","description":"The URL where this list can be accessed."}},"description":"A list of redaction job validation errors","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"privacy_redaction_jobs_list_validation_errors_method"}},"/v1/product_catalog/trial_offers":{"get":{"summary":"List trial offers","description":"

Returns a list of trial offers.

","operationId":"GetProductCatalogTrialOffers","parameters":[{"name":"active","in":"query","description":"Only return trial offers that are active (`true`) or archived (`false`). If omitted, both active and archived trial offers are returned.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"},"x-stripeLessCommon":true},{"name":"created","in":"query","description":"Only return trial offers 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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"prices","in":"query","description":"Only return trial offers that reference these prices (during the trial period).","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"TrialOfferList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/product_catalog.trial_offer"}},"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"}}}}},"x-stableId":"list_trial_offers"},"post":{"summary":"Create a trial offer","description":"

Creates a trial offer.

","operationId":"PostProductCatalogTrialOffers","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["duration","end_behavior","price"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the trial offer can be used for new subscriptions. Defaults to true."},"duration":{"title":"trial_offer_duration_param","required":["type"],"type":"object","properties":{"relative":{"title":"trial_offer_duration_relative_param","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer","description":"The number of recurring price's interval to apply for the trial period."}},"description":"The relative duration of the trial period computed as the number of recurring price intervals.","x-stripeMostCommon":["iterations"]},"type":{"type":"string","description":"Specifies how the trial offer duration is determined.","enum":["relative","timestamp"],"x-stripeEnum":{"kind":"open","values":[{"description":"The duration of trials created from this offer are determined relative to the trial start date.","value":"relative"},{"description":"The duration of trials created from this offer are determined by a specific timestamp.","value":"timestamp"}]}}},"description":"Duration of one service period of the trial.","x-stripeMostCommon":["relative","type"]},"end_behavior":{"title":"trial_offer_end_behavior_param","required":["transition"],"type":"object","properties":{"transition":{"title":"trial_offer_end_behavior_transition_param","required":["price"],"type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"The price to transition the recurring item to when the trial offer ends."}},"description":"The transition to apply when the trial offer ends.","x-stripeMostCommon":["price"]}},"description":"Define behavior that occurs at the end of the trial.","x-stripeMostCommon":["transition"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"nickname":{"maxLength":255,"type":"string","description":"A brief description of the trial offer, hidden from customers."},"price":{"maxLength":5000,"type":"string","description":"Price configuration during the trial period (amount, billing scheme, etc)."}},"additionalProperties":false,"x-stripeMostCommon":["active","duration","end_behavior","nickname","price"]},"encoding":{"duration":{"style":"deepObject","explode":true},"end_behavior":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/product_catalog.trial_offer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"create_trial_offer"}},"/v1/product_catalog/trial_offers/{id}":{"get":{"summary":"Retrieve a trial offer","description":"

Retrieves the trial offer with the given ID.

","operationId":"GetProductCatalogTrialOffersId","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"}},"x-stripeLessCommon":true},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/product_catalog.trial_offer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_trial_offer"},"post":{"summary":"Update a trial offer","description":"

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

","operationId":"PostProductCatalogTrialOffersId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":true}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","description":"Whether the trial offer can be used for new purchases."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["active"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/product_catalog.trial_offer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"update_trial_offer"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"name":"ids","in":"query","description":"Only return products with the given IDs. Cannot be used with [starting_after](https://docs.stripe.com/api#list_products-starting_after) or [ending_before](https://docs.stripe.com/api#list_products-ending_before).","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"type","in":"query","description":"Only return products of this type.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["good","service"]},"x-stripeLessCommon":true},{"name":"url","in":"query","description":"Only return products with the given url.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_products"},"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."},"tax_details":{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","x-stripeMostCommon":["performance_location","provider_options","tax_code"]},"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","tax_details"]},"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},"tax_details":{"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"}}}}},"x-stableId":"create_product"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"search_products"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_product"},"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"},"x-stripeLessCommon":true}],"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":[""]}]},"tax_details":{"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","anyOf":[{"title":"tax_details","type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["performance_location","provider_options","tax_code"]},{"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","tax_details"]},"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},"tax_details":{"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"}}}}},"x-stableId":"update_product"},"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"}}}}},"x-stableId":"delete_product"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"product","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"entitlements_list_product_features"},"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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"entitlements_create_product_feature"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"entitlements_get_product_feature"},"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"},"x-stripeLessCommon":true},{"name":"product","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/deleted_product_feature"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"entitlements_product_feature_delete"}},"/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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"coupon","in":"query","description":"Only return promotion codes for this coupon.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_promotion_codes"},"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). Each currency must be different from the `minimum_amount_currency` set on the promotion code."},"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"}}}}},"x-stableId":"create_promotion_code"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_promotion_code"},"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). Each currency must be different from the `minimum_amount_currency` set on the promotion code."}},"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"}}}}},"x-stableId":"update_promotion_code"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"name":"from_subscription","in":"query","description":"The subscription which the quote updates.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"status","in":"query","description":"The status of the quote.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["accepted","accepting","canceled","draft","open","stale"]}},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_billing_quotes"},"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":{"allow_backdated_lines":{"type":"boolean","description":"Set to true to allow quote lines to have `starts_at` in the past if collection is paused between `starts_at` and now."},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":{"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":[""]}]},"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`."},"description":{"description":"An arbitrary string attached to the object. Often useful for displaying to users.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"footer":{"description":"Footer to be displayed on the invoice.","anyOf":[{"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":["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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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"]}},"lines":{"type":"array","description":"A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.","items":{"title":"quote_line_create_specs","type":"object","properties":{"actions":{"type":"array","description":"An array of operations the quote line performs.","items":{"title":"action_specs","required":["type"],"type":"object","properties":{"add_discount":{"title":"add_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to redeem."},"discount":{"maxLength":5000,"type":"string","description":"An ID of an existing discount for a coupon that was already redeemed."},"discount_end":{"title":"line_discount_end_specs","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["line_ends_at"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["type"]},"index":{"type":"integer","description":"The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array."},"promotion_code":{"maxLength":5000,"type":"string","description":"The promotion code to redeem."}},"description":"Details for the `add_discount` type.","x-stripeMostCommon":["coupon","discount","discount_end","index","promotion_code","settings"]},"add_item":{"title":"add_item_specs","required":["price"],"type":"object","properties":{"discounts":{"type":"array","description":"The discounts applied to the item. Subscription item discounts are applied before subscription discounts.","items":{"title":"quote_lines_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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},"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 object."},"quantity":{"type":"integer","description":"Quantity for this item."},"tax_rates":{"type":"array","description":"The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.","items":{"maxLength":5000,"type":"string"}},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"Options that configure the trial on the subscription item.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"description":"Details for the `add_item` type.","x-stripeMostCommon":["discounts","metadata","price","quantity","tax_rates","trial","trial_offer"]},"add_metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Details for the `add_metadata` type: specify a hash of key-value pairs."},"remove_discount":{"title":"remove_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to remove from the `discounts` array."},"discount":{"maxLength":5000,"type":"string","description":"The ID of a discount to remove from the `discounts` array."},"promotion_code":{"maxLength":5000,"type":"string","description":"The ID of a promotion code to remove from the `discounts` array."}},"description":"Details for the `remove_discount` type.","x-stripeMostCommon":["coupon","discount","promotion_code"]},"remove_item":{"title":"remove_item_specs","required":["price"],"type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"ID of a price to remove."}},"description":"Details for the `remove_item` type.","x-stripeMostCommon":["price"]},"remove_metadata":{"type":"array","description":"Details for the `remove_metadata` type: specify an array of metadata keys.","items":{"maxLength":5000,"type":"string"}},"set_discounts":{"type":"array","description":"Details for the `set_discounts` type.","items":{"title":"set_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to replace the `discounts` array with."},"discount":{"maxLength":5000,"type":"string","description":"An ID of an existing discount to replace the `discounts` array with."},"promotion_code":{"maxLength":5000,"type":"string","description":"An ID of an existing promotion code to replace the `discounts` array with."}},"x-stripeMostCommon":["coupon","discount","promotion_code","settings"]}},"set_items":{"type":"array","description":"Details for the `set_items` type.","items":{"title":"set_item_specs","required":["price"],"type":"object","properties":{"discounts":{"type":"array","description":"If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.","items":{"title":"quote_lines_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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"quantity":{"type":"integer","description":"If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`."},"tax_rates":{"type":"array","description":"If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.","items":{"maxLength":5000,"type":"string"}},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"x-stripeMostCommon":["discounts","metadata","price","quantity","tax_rates","trial","trial_offer"]}},"set_metadata":{"description":"Details for the `set_metadata` type: specify an array of key-value pairs.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"type":{"type":"string","description":"The type of action the quote line performs.","enum":["add_discount","add_item","add_metadata","clear_discounts","clear_metadata","remove_discount","remove_item","remove_metadata","set_discounts","set_items","set_metadata"]}},"x-stripeMostCommon":["add_discount","add_item","add_metadata","remove_discount","remove_item","remove_metadata","set_discounts","set_items","set_metadata","type"]}},"applies_to":{"title":"applies_to_specs","required":["type"],"type":"object","properties":{"new_reference":{"maxLength":50,"type":"string","description":"A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule."},"subscription_schedule":{"maxLength":5000,"type":"string","description":"The ID of the schedule the line applies to."},"type":{"type":"string","description":"Describes whether the quote line is affecting a new schedule or an existing schedule.","enum":["new_reference","subscription_schedule"]}},"description":"Details to identify the subscription schedule the quote line applies to.","x-stripeMostCommon":["new_reference","subscription_schedule","type"]},"billing_cycle_anchor":{"type":"string","description":"For point-in-time quote lines (having no `ends_at` timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line `starts_at` timestamp. For time-span based quote lines (having both `starts_at` and `ends_at`), the only valid value is `automatic`, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.","enum":["automatic","line_starts_at"]},"cancel_subscription_schedule":{"title":"cancel_subscription_schedule_specs","required":["cancel_at"],"type":"object","properties":{"cancel_at":{"type":"string","description":"Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.","enum":["line_starts_at"]},"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. Boolean that defaults to `true`."},"prorate":{"type":"boolean","description":"If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`."}},"description":"A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for modifications to the metadata, collection_method or invoice_settings.","x-stripeMostCommon":["cancel_at","invoice_now","prorate"]},"ends_at":{"title":"ends_at_specs","required":["type"],"type":"object","properties":{"discount_end":{"title":"discount_end_specs","required":["discount"],"type":"object","properties":{"discount":{"maxLength":5000,"type":"string","description":"The ID of a specific discount."}},"description":"Use the `end` time of a given discount.","x-stripeMostCommon":["discount"]},"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the quote line starting from the `starts_at` date.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"Select a way to pass in `ends_at`.","enum":["billing_period_end","discount_end","duration","quote_acceptance_date","schedule_end","timestamp","upcoming_invoice"]}},"description":"Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at `starts_at`, and a restricted set of attributes is supported on the quote line.","x-stripeMostCommon":["discount_end","duration","timestamp","type"]},"proration_behavior":{"type":"string","description":"Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts.","enum":["always_invoice","create_prorations","none"]},"set_pause_collection":{"title":"specs","required":["type"],"type":"object","properties":{"set":{"title":"pause_collection_params","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"void"}]}}},"description":"Details of the pause_collection behavior to apply to the amendment.","x-stripeMostCommon":["behavior"]},"type":{"type":"string","description":"Determines the type of the pause_collection amendment.","enum":["remove","set"]}},"description":"Defines how to pause collection for the underlying subscription throughout the duration of the amendment.","x-stripeMostCommon":["set","type"]},"set_schedule_end":{"type":"string","description":"Timestamp helper to end the underlying schedule early, based on the acompanying line's start or end date.","enum":["line_ends_at","line_starts_at"]},"starts_at":{"title":"starts_at_specs","required":["type"],"type":"object","properties":{"discount_end":{"title":"discount_end_specs","required":["discount"],"type":"object","properties":{"discount":{"maxLength":5000,"type":"string","description":"The ID of a specific discount."}},"description":"Use the `end` time of a given discount.","x-stripeMostCommon":["discount"]},"line_ends_at":{"title":"line_id_specs","type":"object","properties":{"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"The timestamp the given line ends at.","x-stripeMostCommon":["index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"Select a way to pass in `starts_at`.","enum":["discount_end","line_ends_at","now","quote_acceptance_date","schedule_end","timestamp","upcoming_invoice"]}},"description":"Details to identify the earliest timestamp where the proposed change should take effect.","x-stripeMostCommon":["discount_end","line_ends_at","timestamp","type"]},"trial_settings":{"title":"trial_settings_specs","type":"object","properties":{"end_behavior":{"title":"end_behavior_specs","type":"object","properties":{"prorate_up_front":{"type":"string","description":"Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.","enum":["defer","include"]}},"description":"Defines how the subscription should behave when a trial ends.","x-stripeMostCommon":["prorate_up_front"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"x-stripeMostCommon":["actions","applies_to","billing_cycle_anchor","cancel_subscription_schedule","effective_at","ends_at","proration_behavior","set_pause_collection","set_schedule_end","starts_at","trial_settings"]}},"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":{"bill_on_acceptance":{"title":"bill_on_acceptance_specs","type":"object","properties":{"bill_from":{"title":"bill_from_specs","required":["type"],"type":"object","properties":{"line_starts_at":{"title":"line_index_id_specs","type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of a quote line."},"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"Details of a Quote line to start the bill period from.","x-stripeMostCommon":["id","index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"The type of method to specify the `bill_from` time.","enum":["line_starts_at","now","pause_collection_start","quote_acceptance_date","timestamp"]}},"description":"The start of the period to bill from when the Quote is accepted.","x-stripeMostCommon":["line_starts_at","timestamp","type"]},"bill_until":{"title":"bill_until_specs","required":["type"],"type":"object","properties":{"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Details of the duration over which to bill.","x-stripeMostCommon":["interval","interval_count"]},"line_ends_at":{"title":"line_index_id_specs","type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of a quote line."},"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"Details of a Quote line item from which to bill until.","x-stripeMostCommon":["id","index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"The type of method to specify the `bill_until` time.","enum":["duration","line_ends_at","schedule_end","timestamp","upcoming_invoice"]}},"description":"The end of the period to bill until when the Quote is accepted.","x-stripeMostCommon":["duration","line_ends_at","timestamp","type"]}},"description":"Describes the period to bill for upon accepting the quote.","x-stripeMostCommon":["bill_from","bill_until"]},"billing_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"billing_cycle_anchor":{"type":"string","description":"When specified as `reset`, the subscription will always start a new billing period when the quote is accepted.","enum":["","reset"]},"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Amounts are net of discounts, and discount amounts are zero.","value":"included"},{"description":"Amounts are gross of discounts, and discount amounts are accurate.","value":"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. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value `current_period_end` can be provided to update a subscription at the end of its current period. The `effective_date` is ignored if it is in the past when the quote is accepted.","anyOf":[{"maxLength":5000,"type":"string","enum":["current_period_end"]},{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"end_behavior":{"type":"string","description":"Behavior of the subscription schedule and underlying subscription when it ends.","enum":["cancel","release"]},"from_subscription":{"maxLength":5000,"type":"string","description":"The id of a subscription that the quote will update. By default, the quote will contain the state of the subscription (such as line items, collection method and billing thresholds) unless overridden."},"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."},"prebilling":{"description":"If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.","anyOf":[{"title":"prebilling_preview_params","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer","description":"This is used to determine the number of billing cycles to prebill."}},"x-stripeMostCommon":["iterations"]},{"type":"string","enum":[""]}]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.\n\nWhen updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.\n\nPassing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://docs.stripe.com/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`.\n\nProrations can be disabled by passing `none`.","enum":["always_invoice","create_prorations","none"]},"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"]},"subscription_data_overrides":{"type":"array","description":"List representing overrides for `subscription_data` configurations for specific subscription schedules.","items":{"title":"create_specs","required":["applies_to"],"type":"object","properties":{"applies_to":{"title":"applies_to_specs","required":["type"],"type":"object","properties":{"new_reference":{"maxLength":50,"type":"string","description":"A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule."},"subscription_schedule":{"maxLength":5000,"type":"string","description":"The ID of the schedule the line applies to."},"type":{"type":"string","description":"Describes whether the quote line is affecting a new schedule or an existing schedule.","enum":["new_reference","subscription_schedule"]}},"description":"Whether the override applies to an existing Subscription Schedule or a new Subscription Schedule.","x-stripeMostCommon":["new_reference","subscription_schedule","type"]},"bill_on_acceptance":{"title":"bill_on_acceptance_specs","type":"object","properties":{"bill_from":{"title":"bill_from_specs","required":["type"],"type":"object","properties":{"line_starts_at":{"title":"line_index_id_specs","type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of a quote line."},"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"Details of a Quote line to start the bill period from.","x-stripeMostCommon":["id","index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"The type of method to specify the `bill_from` time.","enum":["line_starts_at","now","pause_collection_start","quote_acceptance_date","timestamp"]}},"description":"The start of the period to bill from when the Quote is accepted.","x-stripeMostCommon":["line_starts_at","timestamp","type"]},"bill_until":{"title":"bill_until_specs","required":["type"],"type":"object","properties":{"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Details of the duration over which to bill.","x-stripeMostCommon":["interval","interval_count"]},"line_ends_at":{"title":"line_index_id_specs","type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of a quote line."},"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"Details of a Quote line item from which to bill until.","x-stripeMostCommon":["id","index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"The type of method to specify the `bill_until` time.","enum":["duration","line_ends_at","schedule_end","timestamp","upcoming_invoice"]}},"description":"The end of the period to bill until when the Quote is accepted.","x-stripeMostCommon":["duration","line_ends_at","timestamp","type"]}},"description":"Describes the period to bill for upon accepting the quote.","x-stripeMostCommon":["bill_from","bill_until"]},"billing_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"customer":{"maxLength":5000,"type":"string","description":"The customer the Subscription Data override applies to. This is only relevant when `applies_to.type=new_reference`."},"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."},"end_behavior":{"type":"string","description":"Behavior of the subscription schedule and underlying subscription when it ends.","enum":["cancel","release"]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.\n\nWhen updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.\n\nPassing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://docs.stripe.com/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`.\n\nProrations can be disabled by passing `none`.","enum":["always_invoice","create_prorations","none"]}},"x-stripeMostCommon":["applies_to","bill_on_acceptance","billing_behavior","billing_schedules","customer","description","end_behavior","phase_effective_at","proration_behavior"]}},"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},"lines":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"on_behalf_of":{"style":"deepObject","explode":true},"subscription_data":{"style":"deepObject","explode":true},"subscription_data_overrides":{"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"}}}}},"x-stableId":"create_billing_quote"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_billing_quote"},"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":{"allow_backdated_lines":{"type":"boolean","description":"Set to true to allow quote lines to have `starts_at` in the past if collection is paused between `starts_at` and now."},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":{"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":[""]}]},"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`."},"description":{"description":"An arbitrary string attached to the object. Often useful for displaying to users.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"footer":{"description":"Footer to be displayed on the invoice.","anyOf":[{"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":["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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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"]}},"lines":{"type":"array","description":"A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.","items":{"title":"quote_line_update_specs","type":"object","properties":{"actions":{"type":"array","description":"An array of operations the quote line performs.","items":{"title":"action_specs","required":["type"],"type":"object","properties":{"add_discount":{"title":"add_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to redeem."},"discount":{"maxLength":5000,"type":"string","description":"An ID of an existing discount for a coupon that was already redeemed."},"discount_end":{"title":"line_discount_end_specs","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["line_ends_at"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["type"]},"index":{"type":"integer","description":"The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array."},"promotion_code":{"maxLength":5000,"type":"string","description":"The promotion code to redeem."}},"description":"Details for the `add_discount` type.","x-stripeMostCommon":["coupon","discount","discount_end","index","promotion_code","settings"]},"add_item":{"title":"add_item_specs","required":["price"],"type":"object","properties":{"discounts":{"type":"array","description":"The discounts applied to the item. Subscription item discounts are applied before subscription discounts.","items":{"title":"quote_lines_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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},"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 object."},"quantity":{"type":"integer","description":"Quantity for this item."},"tax_rates":{"type":"array","description":"The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.","items":{"maxLength":5000,"type":"string"}},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"Options that configure the trial on the subscription item.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"description":"Details for the `add_item` type.","x-stripeMostCommon":["discounts","metadata","price","quantity","tax_rates","trial","trial_offer"]},"add_metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Details for the `add_metadata` type: specify a hash of key-value pairs."},"remove_discount":{"title":"remove_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to remove from the `discounts` array."},"discount":{"maxLength":5000,"type":"string","description":"The ID of a discount to remove from the `discounts` array."},"promotion_code":{"maxLength":5000,"type":"string","description":"The ID of a promotion code to remove from the `discounts` array."}},"description":"Details for the `remove_discount` type.","x-stripeMostCommon":["coupon","discount","promotion_code"]},"remove_item":{"title":"remove_item_specs","required":["price"],"type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"ID of a price to remove."}},"description":"Details for the `remove_item` type.","x-stripeMostCommon":["price"]},"remove_metadata":{"type":"array","description":"Details for the `remove_metadata` type: specify an array of metadata keys.","items":{"maxLength":5000,"type":"string"}},"set_discounts":{"type":"array","description":"Details for the `set_discounts` type.","items":{"title":"set_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to replace the `discounts` array with."},"discount":{"maxLength":5000,"type":"string","description":"An ID of an existing discount to replace the `discounts` array with."},"promotion_code":{"maxLength":5000,"type":"string","description":"An ID of an existing promotion code to replace the `discounts` array with."}},"x-stripeMostCommon":["coupon","discount","promotion_code","settings"]}},"set_items":{"type":"array","description":"Details for the `set_items` type.","items":{"title":"set_item_specs","required":["price"],"type":"object","properties":{"discounts":{"type":"array","description":"If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.","items":{"title":"quote_lines_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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"quantity":{"type":"integer","description":"If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`."},"tax_rates":{"type":"array","description":"If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.","items":{"maxLength":5000,"type":"string"}},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"x-stripeMostCommon":["discounts","metadata","price","quantity","tax_rates","trial","trial_offer"]}},"set_metadata":{"description":"Details for the `set_metadata` type: specify an array of key-value pairs.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"type":{"type":"string","description":"The type of action the quote line performs.","enum":["add_discount","add_item","add_metadata","clear_discounts","clear_metadata","remove_discount","remove_item","remove_metadata","set_discounts","set_items","set_metadata"]}},"x-stripeMostCommon":["add_discount","add_item","add_metadata","remove_discount","remove_item","remove_metadata","set_discounts","set_items","set_metadata","type"]}},"applies_to":{"title":"applies_to_specs","required":["type"],"type":"object","properties":{"new_reference":{"maxLength":50,"type":"string","description":"A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule."},"subscription_schedule":{"maxLength":5000,"type":"string","description":"The ID of the schedule the line applies to."},"type":{"type":"string","description":"Describes whether the quote line is affecting a new schedule or an existing schedule.","enum":["new_reference","subscription_schedule"]}},"description":"Details to identify the subscription schedule the quote line applies to.","x-stripeMostCommon":["new_reference","subscription_schedule","type"]},"billing_cycle_anchor":{"type":"string","description":"For point-in-time quote lines (having no `ends_at` timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line `starts_at` timestamp. For time-span based quote lines (having both `starts_at` and `ends_at`), the only valid value is `automatic`, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.","enum":["automatic","line_starts_at"]},"cancel_subscription_schedule":{"title":"cancel_subscription_schedule_specs","required":["cancel_at"],"type":"object","properties":{"cancel_at":{"type":"string","description":"Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.","enum":["line_starts_at"]},"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. Boolean that defaults to `true`."},"prorate":{"type":"boolean","description":"If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`."}},"description":"A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for modifications to the metadata, collection_method or invoice_settings.","x-stripeMostCommon":["cancel_at","invoice_now","prorate"]},"ends_at":{"title":"ends_at_specs","required":["type"],"type":"object","properties":{"discount_end":{"title":"discount_end_specs","required":["discount"],"type":"object","properties":{"discount":{"maxLength":5000,"type":"string","description":"The ID of a specific discount."}},"description":"Use the `end` time of a given discount.","x-stripeMostCommon":["discount"]},"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the quote line starting from the `starts_at` date.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"Select a way to pass in `ends_at`.","enum":["billing_period_end","discount_end","duration","quote_acceptance_date","schedule_end","timestamp","upcoming_invoice"]}},"description":"Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at `starts_at`, and a restricted set of attributes is supported on the quote line.","x-stripeMostCommon":["discount_end","duration","timestamp","type"]},"id":{"maxLength":5000,"type":"string","description":"The ID of an existing line on the quote."},"proration_behavior":{"type":"string","description":"Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts.","enum":["always_invoice","create_prorations","none"]},"set_pause_collection":{"title":"specs","required":["type"],"type":"object","properties":{"set":{"title":"pause_collection_params","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"void"}]}}},"description":"Details of the pause_collection behavior to apply to the amendment.","x-stripeMostCommon":["behavior"]},"type":{"type":"string","description":"Determines the type of the pause_collection amendment.","enum":["remove","set"]}},"description":"Defines how to pause collection for the underlying subscription throughout the duration of the amendment.","x-stripeMostCommon":["set","type"]},"set_schedule_end":{"type":"string","description":"Timestamp helper to end the underlying schedule early, based on the acompanying line's start or end date.","enum":["line_ends_at","line_starts_at"]},"starts_at":{"title":"starts_at_specs","required":["type"],"type":"object","properties":{"discount_end":{"title":"discount_end_specs","required":["discount"],"type":"object","properties":{"discount":{"maxLength":5000,"type":"string","description":"The ID of a specific discount."}},"description":"Use the `end` time of a given discount.","x-stripeMostCommon":["discount"]},"line_ends_at":{"title":"line_index_id_specs","type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of a quote line."},"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"The timestamp the given line ends at.","x-stripeMostCommon":["id","index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"Select a way to pass in `starts_at`.","enum":["discount_end","line_ends_at","now","quote_acceptance_date","schedule_end","timestamp","upcoming_invoice"]}},"description":"Details to identify the earliest timestamp where the proposed change should take effect.","x-stripeMostCommon":["discount_end","line_ends_at","timestamp","type"]},"trial_settings":{"title":"trial_settings_specs","type":"object","properties":{"end_behavior":{"title":"end_behavior_specs","type":"object","properties":{"prorate_up_front":{"type":"string","description":"Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.","enum":["defer","include"]}},"description":"Defines how the subscription should behave when a trial ends.","x-stripeMostCommon":["prorate_up_front"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"x-stripeMostCommon":["actions","applies_to","billing_cycle_anchor","cancel_subscription_schedule","effective_at","ends_at","id","proration_behavior","set_pause_collection","set_schedule_end","starts_at","trial_settings"]}},"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":{"bill_on_acceptance":{"description":"Describes the period to bill for upon accepting the quote.","anyOf":[{"title":"bill_on_acceptance_specs","type":"object","properties":{"bill_from":{"title":"bill_from_specs","required":["type"],"type":"object","properties":{"line_starts_at":{"title":"line_index_id_specs","type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of a quote line."},"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"Details of a Quote line to start the bill period from.","x-stripeMostCommon":["id","index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"The type of method to specify the `bill_from` time.","enum":["line_starts_at","now","pause_collection_start","quote_acceptance_date","timestamp"]}},"description":"The start of the period to bill from when the Quote is accepted.","x-stripeMostCommon":["line_starts_at","timestamp","type"]},"bill_until":{"title":"bill_until_specs","required":["type"],"type":"object","properties":{"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Details of the duration over which to bill.","x-stripeMostCommon":["interval","interval_count"]},"line_ends_at":{"title":"line_index_id_specs","type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of a quote line."},"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"Details of a Quote line item from which to bill until.","x-stripeMostCommon":["id","index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"The type of method to specify the `bill_until` time.","enum":["duration","line_ends_at","schedule_end","timestamp","upcoming_invoice"]}},"description":"The end of the period to bill until when the Quote is accepted.","x-stripeMostCommon":["duration","line_ends_at","timestamp","type"]}},"x-stripeMostCommon":["bill_from","bill_until"]},{"type":"string","enum":[""]}]},"billing_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"billing_cycle_anchor":{"type":"string","description":"When specified as `reset`, the subscription will always start a new billing period when the quote is accepted.","enum":["","reset"]},"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. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value `current_period_end` can be provided to update a subscription at the end of its current period. The `effective_date` is ignored if it is in the past when the quote is accepted.","anyOf":[{"maxLength":5000,"type":"string","enum":["current_period_end"]},{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"end_behavior":{"type":"string","description":"Behavior of the subscription schedule and underlying subscription when it ends.","enum":["cancel","release"]},"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."},"prebilling":{"description":"If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.","anyOf":[{"title":"prebilling_preview_params","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer","description":"This is used to determine the number of billing cycles to prebill."}},"x-stripeMostCommon":["iterations"]},{"type":"string","enum":[""]}]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.\n\nWhen updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.\n\nPassing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://docs.stripe.com/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`.\n\nProrations can be disabled by passing `none`.","enum":["always_invoice","create_prorations","none"]},"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"]},"subscription_data_overrides":{"description":"List representing overrides for `subscription_data` configurations for specific subscription schedules.","anyOf":[{"type":"array","items":{"title":"update_specs","required":["applies_to"],"type":"object","properties":{"applies_to":{"title":"applies_to_specs","required":["type"],"type":"object","properties":{"new_reference":{"maxLength":50,"type":"string","description":"A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule."},"subscription_schedule":{"maxLength":5000,"type":"string","description":"The ID of the schedule the line applies to."},"type":{"type":"string","description":"Describes whether the quote line is affecting a new schedule or an existing schedule.","enum":["new_reference","subscription_schedule"]}},"description":"Whether the override applies to an existing Subscription Schedule or a new Subscription Schedule.","x-stripeMostCommon":["new_reference","subscription_schedule","type"]},"bill_on_acceptance":{"description":"Describes the period to bill for upon accepting the quote.","anyOf":[{"title":"bill_on_acceptance_specs","type":"object","properties":{"bill_from":{"title":"bill_from_specs","required":["type"],"type":"object","properties":{"line_starts_at":{"title":"line_index_id_specs","type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of a quote line."},"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"Details of a Quote line to start the bill period from.","x-stripeMostCommon":["id","index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"The type of method to specify the `bill_from` time.","enum":["line_starts_at","now","pause_collection_start","quote_acceptance_date","timestamp"]}},"description":"The start of the period to bill from when the Quote is accepted.","x-stripeMostCommon":["line_starts_at","timestamp","type"]},"bill_until":{"title":"bill_until_specs","required":["type"],"type":"object","properties":{"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Details of the duration over which to bill.","x-stripeMostCommon":["interval","interval_count"]},"line_ends_at":{"title":"line_index_id_specs","type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of a quote line."},"index":{"type":"integer","description":"The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array."}},"description":"Details of a Quote line item from which to bill until.","x-stripeMostCommon":["id","index"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time"},"type":{"type":"string","description":"The type of method to specify the `bill_until` time.","enum":["duration","line_ends_at","schedule_end","timestamp","upcoming_invoice"]}},"description":"The end of the period to bill until when the Quote is accepted.","x-stripeMostCommon":["duration","line_ends_at","timestamp","type"]}},"x-stripeMostCommon":["bill_from","bill_until"]},{"type":"string","enum":[""]}]},"billing_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"customer":{"maxLength":5000,"type":"string","description":"The customer the Subscription Data override applies to."},"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":[""]}]},"end_behavior":{"type":"string","description":"Behavior of the subscription schedule and underlying subscription when it ends.","enum":["cancel","release"]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.\n\nWhen updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.\n\nPassing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://docs.stripe.com/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`.\n\nProrations can be disabled by passing `none`.","enum":["always_invoice","create_prorations","none"]}},"x-stripeMostCommon":["applies_to","bill_on_acceptance","billing_behavior","billing_schedules","customer","description","end_behavior","phase_effective_at","proration_behavior"]}},{"type":"string","enum":[""]}]},"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},"lines":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"on_behalf_of":{"style":"deepObject","explode":true},"subscription_data":{"style":"deepObject","explode":true},"subscription_data_overrides":{"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"}}}}},"x-stableId":"update_billing_quote"}},"/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"}}}}},"x-stableId":"accept_billing_quote"}},"/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"}}}}},"x-stableId":"cancel_billing_quote"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_upfront_line_items_billing_quote"}},"/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"}}}}},"x-stableId":"finalize_billing_quote"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_billing_quote_line_items"}},"/v1/quotes/{quote}/lines":{"get":{"summary":"Retrieve a quote's lines","description":"

Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.

","operationId":"GetQuotesQuoteLines","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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":{"type":"string"},"x-stripeLessCommon":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":"QuotesResourceListLines","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/quote_line"}},"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"}}}}},"x-stableId":"list_billing_quote_lines"}},"/v1/quotes/{quote}/mark_draft":{"post":{"summary":"Convert a quote to draft","description":"

Converts a stale quote to draft.

","operationId":"PostQuotesQuoteMarkDraft","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"}}}}},"x-stableId":"mark_draft_billing_quote"}},"/v1/quotes/{quote}/mark_stale":{"post":{"summary":"Convert a quote to stale","description":"

Converts a draft or open quote to stale.

","operationId":"PostQuotesQuoteMarkStale","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"}},"reason":{"maxLength":500,"type":"string","description":"Reason the Quote is being marked stale."}},"additionalProperties":false,"x-stripeMostCommon":["reason"]},"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"}}}}},"x-stableId":"mark_stale_billing_quote"}},"/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"}},"x-stripeLessCommon":true},{"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/"}],"x-stableId":"download_pdf_billing_quote"}},"/v1/quotes/{quote}/preview_invoices":{"get":{"summary":"Retrieve a quote's preview invoices","description":"

Preview the invoices that would be generated by accepting the quote.

","operationId":"GetQuotesQuotePreviewInvoices","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"QuotesResourcePreviewInvoiceList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/quote_preview_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,"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"}}}}},"x-stableId":"list_preview_invoices_billing_quote"}},"/v1/quotes/{quote}/preview_invoices/{preview_invoice}/lines":{"get":{"summary":"Retrieve a quote's preview invoice line items","description":"

Preview the invoice line items that would be generated by accepting the quote.

","operationId":"GetQuotesQuotePreviewInvoicesPreviewInvoiceLines","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"preview_invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"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"},"x-stripeLessCommon":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":"QuotesResourcePreviewInvoiceLineItemsList","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"}}}}},"x-stableId":"list_preview_invoice_line_items_billing_quote"}},"/v1/quotes/{quote}/preview_subscription_schedules":{"get":{"summary":"Retrieve a quote's preview schedules","description":"

Preview the schedules that would be generated by accepting the quote

","operationId":"GetQuotesQuotePreviewSubscriptionSchedules","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"QuotesResourcePreviewsSchedulesScheduleList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/quote_preview_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,"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"}}}}},"x-stableId":"preview_subscription_schedules_billing_quote"}},"/v1/quotes/{quote}/reestimate":{"post":{"summary":"Reestimate a quote","description":"

Recompute the upcoming invoice estimate for the quote.

","operationId":"PostQuotesQuoteReestimate","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"}}}}},"x-stableId":"reestimate_billing_quote"}},"/v1/radar/billing_evaluations":{"post":{"summary":"Create a Billing Evaluation","description":"

Request Stripe Radar’s assessment of the non-payment abuse risk of an upcoming charge, before the payment is attempted.

","operationId":"PostRadarBillingEvaluations","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_api_params","required":["radar_session"],"type":"object","properties":{"radar_session":{"maxLength":5000,"type":"string","description":"ID for the Radar Session to associate with the billing 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 about the customer behind the upcoming payment."}},"description":"Details about the client device to associate with the billing evaluation.","x-stripeMostCommon":["radar_session"]},"customer_details":{"title":"customer_details_api_params","type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The ID of the customer whose upcoming payment is being evaluated."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the Account representing the customer whose upcoming payment is being evaluated."},"data":{"title":"customer_details_data_api_params","type":"object","properties":{"email":{"type":"string","description":"The email address of the customer being evaluated."},"name":{"maxLength":5000,"type":"string","description":"The full name or business name of the customer being evaluated."},"phone":{"type":"string","description":"The phone number of the customer being evaluated."}},"description":"Attributes of the customer being evaluated. Exactly one of `customer`, `customer_account`, and `data` must be supplied: use `data` when the customer isn't represented by a Customer or an Account.","x-stripeMostCommon":["email","name","phone"]}},"description":"Details about the customer whose upcoming payment is being evaluated.","x-stripeMostCommon":["customer","customer_account","data"]},"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_api_params","required":["amount","currency","payment_method_details"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount that the upcoming payment collects. A positive integer representing how much is charged 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 description of the upcoming payment."},"money_movement_details":{"title":"money_movement_details_api_params","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.","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"The money movement details for a card payment.","value":"card"}]}}},"description":"Details about how the money for the upcoming payment moves.","x-stripeMostCommon":["card","money_movement_type"]},"payment_method_details":{"title":"payment_method_details_api_params","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 method used for the upcoming payment.","x-stripeMostCommon":["address","email","name","phone"]},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the payment method that the upcoming payment is charged to."}},"description":"Details about the payment method that the upcoming payment is charged to.","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 goods or services covered by the upcoming payment.","x-stripeMostCommon":["address","name","phone"]},"statement_descriptor":{"maxLength":5000,"type":"string","description":"The statement descriptor that appears on the customer's statement for the upcoming payment."}},"description":"Details about the upcoming payment being evaluated.","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.billing_evaluation"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"billing_evaluations_create_method"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_radar_early_fraud_warnings"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/radar.early_fraud_warning"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_radar_early_fraud_warning"}},"/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":["data","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.","x-stripeMostCommon":["customer_presence","payment_type"]},"money_movement_type":{"type":"string","description":"Describes the type of money movement.","enum":["card"],"x-stripeBypassValidation":true}},"description":"Details about the payment's customer presence and type.","x-stripeMostCommon":["card","money_movement_type","us_bank_account"]},"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","card","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"}}}}},"x-stableId":"payment_evaluations_create_method"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_radar_value_list_items"},"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"}}}}},"x-stableId":"create_radar_value_list_item"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_radar_value_list_item"},"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"}}}}},"x-stableId":"delete_radar_value_list_item"}},"/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"},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_radar_value_lists"},"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`, `account`, `sepa_debit_fingerprint`, or `us_bank_account_fingerprint`. Use `string` if the item type is unknown or mixed.","enum":["account","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"}}}}},"x-stableId":"create_radar_value_list"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_radar_value_list"},"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"}}}}},"x-stableId":"update_radar_value_list"},"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"}}}}},"x-stableId":"delete_radar_value_list"}},"/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"}]},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_refunds"},"post":{"summary":"Create a 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"}}}}},"x-stableId":"create_refund"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_refund"},"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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"update_refund"}},"/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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"cancel_refund"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_report_runs"},"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":["abuse_reasons","abuse_score","accessed_livemode_secret_api_keys","account","account_status","account_type","account_types","accounts","acquirer_bin","acquirer_mid","action","actions","activation_days","active","active_levy","active_lien","adoption_type","age_bucket","agent","aggregate","aggregation_formula","aggregation_type","all","amount","amount_due","amount_filter","amount_max","amount_min","amount_total","api_version","apple_subscriber","application_id","arrival_date","async_fees","attempt_count","attempted","authentication_outcome_detailed","auto_advance","automatic_tax_enabled","automatically_finalizes_at","balance_source_types","balance_types","bank_failure_category","bank_failure_raw_code","beneficiary_reference","billable_item_ids","billing_analytics_metric","billing_cadence","billing_reason","brand","browser_fingerprinting","bucket_seconds","bucket_size","business_type","buyer_country","calculation_type","campaign","campaign_id","campaign_id_missing","campaigns","capability","capability_status_card_payments","capability_status_issuing","capability_status_payouts","capability_status_treasury","capability_type","capability_types","card_bin","card_brand","card_brands","card_category","card_country","card_fingerprint","card_funding","card_input_methods","card_network","card_number","card_present_device_identifier","card_present_device_type","card_type","card_types","cards_last_4","categories","cau_correction_factor","channel","charge","cluster_table_suffix","cof","cohort","cohort_file","collection_method","collection_statuses","columns","compare_to_end","compare_to_start","compartment_ids","compliance_charge_pause_at_ms","compliance_payout_pause_at_ms","configurations","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_account_id","connected_accounts","connected_on_filter","contract","conversion_currency","convert_to_arr","counterparty_name","countries","country","coupon","created","credit_ids","currencies","currency","cursor","cursor_created_at","cursor_forward_direction","cursor_payment_attempt_id","custom_payment_method_type","customer","customer_countries","customer_coupon_ids","customer_created","customer_dispute_volume","customer_email","customer_filters","customer_first_payment","customer_has_remaining_balance","customer_id","customer_last_payment","customer_metadata","customer_mrr","customer_name","customer_net_volume","customer_outstanding_balance","customer_payment_count","customer_query","customer_refund_volume","customer_type","customers","cutoff_date","dashboard_type","dataset_id","date_format","days_to_use","debit_negative_balances","decimal_separator","decline_reason","delinquent","description","digital_only_countries","digital_wallet","direction","display_date","display_mode","display_name","dispute_amount","dispute_reason","dispute_reasons","dispute_status","dispute_volume","disputed_on","distribution_type","download","due_date","dynamic_reporting_params","earliest_due_on","email","enabled","end_payer_country","endpoint_url","entity_type","entry_type","event_name","event_time_window","event_type","evidence_due_by","evidence_submitted_at","exchange_rate","exchange_rates","exclude_meter_ids","excluded_countries","experiment_id","experiment_statuses","external_sanctions_status","fee_category","fee_rows","fees_payer","fields","filter_active_accounts","filter_column","filter_columns","filter_currency","filter_product_adopted","filter_topics","filter_value","filter_values","filters","filters_by_meter","finalized_at","financial_account","financial_account_currency_pairs","financial_account_types","financial_accounts","first_day_of_week_offset","first_payment","flow_granted","flow_ids","flow_preference","flow_types","fraud_risk_score","gateway_conversation_avs_outcome","gateway_conversation_cvc_outcome","gateway_country","gl_code","google_order","grain","grams","granularity","gross_amount","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","guest_customer_id","has_app_fee_refunds","has_app_fees","has_charge_last_30d","has_charge_last_365d","has_charge_last_60d","has_charge_last_90d","has_click_id","has_disputes","has_negative_earnings_from_transfers","has_payment_activity_last_30d","has_payment_activity_last_365d","has_payment_activity_last_60d","has_payment_activity_last_90d","has_refunds","has_remaining_balance","has_reversals","has_subscription","has_successful_payment","has_tax_code","hosted_relink_requested_at","impacted_capability","include_blocked_payments","include_connect_charges","include_efw","include_protected_disputes","inclusive","incurred_by","institution_name","interaction_type","interval_end","interval_end_date_as_string","interval_start","interval_start_date_as_string","intervention_type","invoice","invoice_hint","invoice_id","invoice_line_item","ip_address","ip_country","is_agent_transaction","is_backtest","is_cloned","is_controller","is_domestic","is_eu_vat_moss","is_latam","is_link_in_pmm_supported","is_on_session_toggled","is_rule_matched","is_top_fraudy_attributes","is_unbilled","jurisdiction_key","keyword","last4","last_active_on","last_activity_timeframe","last_issuing_transaction_on","last_payment","last_payout_on","last_transaction_on","legal_entity_type","legal_entity_type_ch_mapping","legal_entity_types","limit","list_item","list_items","livemode","location_ids","lookup_key","losses_payments","managed_payments","margin_uplift_lower","margin_uplift_upper","match_mode","match_status","max_churn","merchant_activity","merchant_ids","message_category","metadata","metadata_columns","metadata_key_filter","meter_id","meter_ids","metric","min_active_days","min_payout_count","min_payouts_volume_usd","min_trim_size","mor","moto","name","nci_filter_for","nci_mcc","net_volume","network_types","next_payment_attempt","numeric_filters","object_definition_id","offer_ids","offer_types","offset","on_behalf_of","onboarding_status","onboarding_surface","orchestrated_commerce_agreements","outcome","outstanding_balance","outstanding_date","override_artificial_delay","pagination_direction","paid","past_due","pause_collection","payment_balance_filter","payment_count","payment_link_id","payment_method","payment_method_type","payment_method_types","payment_methods","payment_processors","payment_record_scope","payout","payout_date_end","payout_date_start","payout_schedule","payout_status","payout_type","percentage","period_type","permission_config_can_access_apikeys","permission_config_can_access_billing","permission_config_can_access_disputes","permission_config_can_access_payment_capture","permission_config_can_access_payment_links","permission_config_can_access_payments","permission_config_can_access_payout_schedule","permission_config_can_access_payouts","permission_config_can_access_refunds","permission_config_can_access_topups","permission_config_livemode","platform","platform_account_id","platform_id","platform_ids_filter","posted_at","prebilled","price_filters","price_ids","processor","processor_type","processors","product","product_catalog_status","product_feature_description","product_features","product_filters","product_ids","products","program","provider","pv_t180_tier","pv_t30_tier","pv_t35_tier","pv_t365_tier","pv_t90_tier","query","query_options","radar_bad_outcome_configuration","radar_fraud_outcomes","radar_good_outcomes","rate","rate_card_ids","recipient_action_filter","recipient_network_business_profile_id","recipient_payout_method_types","recipient_primary_payout_method_card_brand","recipient_primary_payout_method_last_4","recipient_primary_payout_method_type","recipient_primary_payout_method_wallet_type","recognition_end","recognition_start","recon_party_name","recon_space","recon_space_type","reconciliation_status","reference_id","refund_status","refund_volume","regions","rejected_by","rejected_on","rejected_reason","reported_outcomes","reporting_category","reporting_string_filters","requirement","requirement_collection","requirement_group","requirement_status","requirement_trigger","requirement_update","requirement_update_status","reserve_release_end","reserve_release_start","reserve_types","restricted_on","retries_correction_factor","retrieve_on_behalf_of_disputes","retry_status","rev_rec_month_summary_line_item","risk_level","risk_score","roles","rule_action","rule_attribute","rule_attribute_case_insensitive","rule_attribute_name_value","rule_id","rule_matched_on","rule_predicate_sql","rules","ryw_created_ids","ryw_deleted_ids","ryw_updated_ids","scheduled_payment","search_after","search_params","secondary_cursor","seconds_since_card_first_seen","segment_id","serial_numbers","service_agreement","simulated_fixed_app_fee_amount","simulated_max_app_fee_amount","simulated_min_app_fee_amount","simulated_variable_app_fee_rate","sort_field","sort_field_type","sort_order","sorted_column","source","state","states","status","status_details_active_action","status_details_active_cause","status_details_active_expected_deactivation_date","statuses","string_filters","string_query","subscription","subscription_status","sync_fees","t30_pv_active","t365_pv_active","t60_pv_active","t90_pv_active","table_list","table_name","tax_amount","tax_form_id","tax_registration_status","tax_settings_status","tax_threshold_status","tax_type","taxable","tds_result","tds_triggered","tds_type","template_override","tenant_filters","tenant_filters_by_meter","tenant_group_by_keys_by_meter","terminal_location","terminal_reader","test_clocked","three_d_s_outcome","time_granularity","timezone","top_connected_accounts","total","total_charges_per_card_number_daily","total_fraud_volume","total_legitimate_volume","tracking_load_type","transaction_age_max","transaction_age_min","transaction_id","transaction_initiators","transaction_type","transfer_instruction","transferred_to","type","unit","updated","ur","usage_id","use_dispute_creation_date","use_minerva","used_network_tokens","utm_medium","utm_source","utm_sources","verification_attempt_timestamp","view_type","volume_filter","volume_metric_type","win_chance","window_key","write_access_extension_connection"]},"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"}}}}},"x-stableId":"create_report_run"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_report_run"}},"/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"}},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_report_types"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_report_type"}},"/v1/reserve/holds":{"get":{"summary":"List ReserveHolds","description":"

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

","operationId":"GetReserveHolds","parameters":[{"name":"currency","in":"query","description":"Only return ReserveHolds associated with the currency specified by this currency code. Three-letter [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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"name":"is_releasable","in":"query","description":"Only return ReserveHolds that are releasable.","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"},"x-stripeLessCommon":true},{"name":"reason","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["charge","standalone"]}},{"name":"reserve_plan","in":"query","description":"Only return ReserveHolds associated with the ReservePlan specified by this ReservePlan ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"reserve_release","in":"query","description":"Only return ReserveHolds associated with the ReserveRelease specified by this ReserveRelease ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"source_charge","in":"query","description":"Only return ReserveHolds associated with the Charge specified by this source charge 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"},"x-stripeLessCommon":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":"ReserveHoldList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/reserve.hold"}},"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"}}}}},"x-stableId":"list_reserve_holds"}},"/v1/reserve/holds/{id}":{"get":{"summary":"Retrieve a ReserveHold","description":"

Retrieve a ReserveHold.

","operationId":"GetReserveHoldsId","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"}},"x-stripeLessCommon":true},{"name":"id","in":"path","description":"The identifier of the ReserveHold to retrieve.","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/reserve.hold"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"get_reserve_hold"}},"/v1/reserve/plans":{"get":{"summary":"List ReservePlans","description":"

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

","operationId":"GetReservePlans","parameters":[{"name":"destination","in":"query","description":"Only return ReservePlans with the specified destination. If omitted, returns ReservePlans with any destination.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["risk_reserved","settlement_reserved"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds are held in the risk reserved balance.","value":"risk_reserved"},{"description":"Funds are held in the settlement reserved balance.","value":"settlement_reserved"}]}}},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"status","in":"query","description":"Only return ReservePlans with the specified status. If omitted, returns ReservePlans with any status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","disabled","expired"],"x-stripeEnum":{"kind":"open","values":[{"description":"The ReservePlan is active and reserving funds.","value":"active"},{"description":"The ReservePlan has been manually disabled and is no longer reserving funds, and its associated funds have been released.","value":"disabled"},{"description":"The ReservePlan has expired automatically and is no longer reserving funds, and its associated funds have been released.","value":"expired"}]}}}],"requestBody":{"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":"ReservePlanList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/reserve.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,"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"}}}}},"x-stableId":"list_reserve_plans"}},"/v1/reserve/plans/{id}":{"get":{"summary":"Retrieve a ReservePlan","description":"

Retrieve a ReservePlan.

","operationId":"GetReservePlansId","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"}},"x-stripeLessCommon":true},{"name":"id","in":"path","description":"The identifier of the ReservePlan to retrieve.","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/reserve.plan"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"get_reserve_plan"}},"/v1/reserve/releases":{"get":{"summary":"List ReserveReleases","description":"

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

","operationId":"GetReserveReleases","parameters":[{"name":"currency","in":"query","description":"Only return ReserveReleases associated with the currency specified by this currency code. Three-letter [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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"reserve_hold","in":"query","description":"Only return ReserveReleases associated with the ReserveHold specified by this ReserveHold ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"reserve_plan","in":"query","description":"Only return ReserveReleases associated with the ReservePlan specified by this ReservePlan 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"},"x-stripeLessCommon":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":"ReserveReleaseList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/reserve.release"}},"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"}}}}},"x-stableId":"list_reserve_releases"}},"/v1/reserve/releases/{id}":{"get":{"summary":"Retrieve a ReserveRelease","description":"

Retrieve a ReserveRelease.

","operationId":"GetReserveReleasesId","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"}},"x-stripeLessCommon":true},{"name":"id","in":"path","description":"The identifier of the ReserveRelease to retrieve.","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/reserve.release"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"get_reserve_release"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_radar_reviews"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_radar_review"}},"/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"}}}}},"x-stableId":"approve_radar_review"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_setup_attempts"}},"/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"},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_setup_intents"},"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":{"allowed_payment_method_types":{"type":"array","description":"The list of payment method types to allow for this SetupIntent. Stripe will only use methods in this list when determining the payment methods to offer. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boku_promptpay","boleto","capchase_pay","card","card_present","cashapp","check_scan","click_to_pay","crypto","customer_balance","demo_pay","duitnow","dummy_auth_push","dummy_passthrough_card","edenred","eps","fpx","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","kriya","link","mb_way","mobilepay","momo","mondu","multibanco","naver_pay","netbanking","ng_bank","ng_bank_transfer","ng_card","ng_market","ng_ussd","ng_wallet","nz_bank_account","octopus","oxxo","p24","paper_check","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shop_pay","shopeepay","sofort","south_korea_market","stripe_balance","sunbit","swish","tamara","test_pay","touch_n_go","truemoney","twint","upi","us_bank_account","us_cash_voucher","vipps","wechat_pay","wero","zip"],"x-stripeBypassValidation":true}},"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","bizum","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","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","sequra","shopeepay","sofort","stripe_balance","sunbit","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 an Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is an 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"]},"bizum":{"title":"param","type":"object","properties":{},"description":"If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method."},"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","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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."},"gopay":{"title":"param","type":"object","properties":{},"description":"If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"id_bank_transfer":{"title":"param","type":"object","properties":{"bank":{"type":"string","description":"Bank where the account is held.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true}},"description":"If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.","x-stripeMostCommon":["bank"]},"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 (Link is also known as Onelink in the UK)."},"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."},"paypay":{"title":"param","type":"object","properties":{},"description":"If this is a `paypay` PaymentMethod, this hash contains details about the PayPay 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."},"qris":{"title":"param","type":"object","properties":{},"description":"If this is a `qris` PaymentMethod, this hash contains details about the QRIS 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"]},"rechnung":{"title":"param","required":["dob"],"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 `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.","x-stripeMostCommon":["dob"]},"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."},"scalapay":{"title":"param","type":"object","properties":{},"description":"If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay 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"]},"sequra":{"title":"param","type":"object","properties":{},"description":"If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method."},"shared_payment_granted_token":{"type":"string","description":"ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent."},"shopeepay":{"title":"param","type":"object","properties":{},"description":"If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method."},"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"]},"stripe_balance":{"title":"param","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment"}},"description":"This hash contains details about the Stripe balance payment method.","x-stripeMostCommon":["account","financial_account"]},"sunbit":{"title":"param","type":"object","properties":{},"description":"If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method."},"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","bizum","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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","verification_method"]},"bizum":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{},"description":"If this is a `bizum` SetupIntent, this sub-hash contains details about the Bizum payment method options.","x-stripeMostCommon":["mandate_options"]},"blik":{"title":"setup_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."},"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"expires_at":{"type":"integer","description":"Expiry date of the mandate.","format":"unix-time"}},"description":"Details of the BLIK mandate","x-stripeMostCommon":["expires_at"]}},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.","x-stripeMostCommon":["code","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},"setup_credential_usage":{"type":"string","description":"Set to indicate the future transaction type usage for the card being set up.","enum":["installment","recurring","unscheduled"],"x-stripeEnum":{"kind":"open","values":[{"description":"Use `installment` if the payment method will be used for future off-session installment payments that you manage. This is distinct from [`payment_method_options.card.installments`](/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments), which is used for issuer installments like [Mexico installments](/payments/meses-sin-intereses/accept-a-payment) and [Japan installments](/payments/jp-installments/accept-a-payment).","value":"installment"},{"description":"Use `recurring` if the payment method will be used for off-session payment that occurs at regularly scheduled intervals.","value":"recurring"},{"description":"Use `unscheduled` if the payment method will be used for off-session payment that does not occur at regular intervals on a scheduled date.","value":"unscheduled"}]}},"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","name_verification","network","network_token","request_name_verification","request_three_d_secure","setup_credential_usage","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 (Link is also known as Onelink in the UK).","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."},"currency":{"type":"string","format":"currency"},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":32,"type":"string"}}},"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"]},"pix":{"title":"setup_intent_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. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"amount_type":{"type":"string","description":"Type of amount. Defaults to `maximum`.","enum":["fixed","maximum"]},"currency":{"type":"string","description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.","format":"currency"},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged. Defaults to `monthly`.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]},"reference":{"maxLength":35,"type":"string","description":"Subscription name displayed to buyers in their bank app. Defaults to the displayable business name."},"start_date":{"maxLength":5000,"type":"string","description":"Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date."}},"description":"Additional fields for mandate creation.","x-stripeMostCommon":["amount","amount_includes_iof","amount_type","currency","end_date","payment_schedule","reference","start_date"]}},"description":"If this is a `pix` SetupIntent, this sub-hash contains details about the Pix 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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"manual_entry":{"title":"linked_account_options_manual_entry_param","required":["mode"],"type":"object","properties":{"mode":{"type":"string","description":"Settings for configuring manual entry of account details.","enum":["automatic","custom"]}},"description":"Customize manual entry behavior","x-stripeMostCommon":["mode"]},"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","inferred_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","pay_by_bank","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 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":{"allowed_payment_method_types":{"style":"deepObject","explode":true},"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},"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"}}}}},"x-stableId":"create_setup_intent"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_setup_intent_via_client_key,retrieve_setup_intent_via_terminal_client,retrieve_setup_intent_via_terminal_merchant"},"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":{"allowed_payment_method_types":{"description":"The list of payment method types to allow for this SetupIntent. Stripe will only use methods in this list when determining the payment methods to offer. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","anyOf":[{"type":"array","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boku_promptpay","boleto","capchase_pay","card","card_present","cashapp","check_scan","click_to_pay","crypto","customer_balance","demo_pay","duitnow","dummy_auth_push","dummy_passthrough_card","edenred","eps","fpx","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","kriya","link","mb_way","mobilepay","momo","mondu","multibanco","naver_pay","netbanking","ng_bank","ng_bank_transfer","ng_card","ng_market","ng_ussd","ng_wallet","nz_bank_account","octopus","oxxo","p24","paper_check","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shop_pay","shopeepay","sofort","south_korea_market","stripe_balance","sunbit","swish","tamara","test_pay","touch_n_go","truemoney","twint","upi","us_bank_account","us_cash_voucher","vipps","wechat_pay","wero","zip"],"x-stripeBypassValidation":true}},{"type":"string","enum":[""]}]},"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","bizum","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","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","sequra","shopeepay","sofort","stripe_balance","sunbit","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 an Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is an 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"]},"bizum":{"title":"param","type":"object","properties":{},"description":"If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method."},"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","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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."},"gopay":{"title":"param","type":"object","properties":{},"description":"If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"id_bank_transfer":{"title":"param","type":"object","properties":{"bank":{"type":"string","description":"Bank where the account is held.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true}},"description":"If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.","x-stripeMostCommon":["bank"]},"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 (Link is also known as Onelink in the UK)."},"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."},"paypay":{"title":"param","type":"object","properties":{},"description":"If this is a `paypay` PaymentMethod, this hash contains details about the PayPay 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."},"qris":{"title":"param","type":"object","properties":{},"description":"If this is a `qris` PaymentMethod, this hash contains details about the QRIS 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"]},"rechnung":{"title":"param","required":["dob"],"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 `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.","x-stripeMostCommon":["dob"]},"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."},"scalapay":{"title":"param","type":"object","properties":{},"description":"If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay 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"]},"sequra":{"title":"param","type":"object","properties":{},"description":"If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method."},"shared_payment_granted_token":{"type":"string","description":"ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent."},"shopeepay":{"title":"param","type":"object","properties":{},"description":"If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method."},"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"]},"stripe_balance":{"title":"param","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment"}},"description":"This hash contains details about the Stripe balance payment method.","x-stripeMostCommon":["account","financial_account"]},"sunbit":{"title":"param","type":"object","properties":{},"description":"If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method."},"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","bizum","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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","verification_method"]},"bizum":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{},"description":"If this is a `bizum` SetupIntent, this sub-hash contains details about the Bizum payment method options.","x-stripeMostCommon":["mandate_options"]},"blik":{"title":"setup_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."},"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"expires_at":{"type":"integer","description":"Expiry date of the mandate.","format":"unix-time"}},"description":"Details of the BLIK mandate","x-stripeMostCommon":["expires_at"]}},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.","x-stripeMostCommon":["code","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},"setup_credential_usage":{"type":"string","description":"Set to indicate the future transaction type usage for the card being set up.","enum":["installment","recurring","unscheduled"],"x-stripeEnum":{"kind":"open","values":[{"description":"Use `installment` if the payment method will be used for future off-session installment payments that you manage. This is distinct from [`payment_method_options.card.installments`](/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments), which is used for issuer installments like [Mexico installments](/payments/meses-sin-intereses/accept-a-payment) and [Japan installments](/payments/jp-installments/accept-a-payment).","value":"installment"},{"description":"Use `recurring` if the payment method will be used for off-session payment that occurs at regularly scheduled intervals.","value":"recurring"},{"description":"Use `unscheduled` if the payment method will be used for off-session payment that does not occur at regular intervals on a scheduled date.","value":"unscheduled"}]}},"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","name_verification","network","network_token","request_name_verification","request_three_d_secure","setup_credential_usage","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 (Link is also known as Onelink in the UK).","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."},"currency":{"type":"string","format":"currency"},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":32,"type":"string"}}},"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"]},"pix":{"title":"setup_intent_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. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"amount_type":{"type":"string","description":"Type of amount. Defaults to `maximum`.","enum":["fixed","maximum"]},"currency":{"type":"string","description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.","format":"currency"},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged. Defaults to `monthly`.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]},"reference":{"maxLength":35,"type":"string","description":"Subscription name displayed to buyers in their bank app. Defaults to the displayable business name."},"start_date":{"maxLength":5000,"type":"string","description":"Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date."}},"description":"Additional fields for mandate creation.","x-stripeMostCommon":["amount","amount_includes_iof","amount_type","currency","end_date","payment_schedule","reference","start_date"]}},"description":"If this is a `pix` SetupIntent, this sub-hash contains details about the Pix 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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"manual_entry":{"title":"linked_account_options_manual_entry_param","required":["mode"],"type":"object","properties":{"mode":{"type":"string","description":"Settings for configuring manual entry of account details.","enum":["automatic","custom"]}},"description":"Customize manual entry behavior","x-stripeMostCommon":["mode"]},"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","inferred_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","pay_by_bank","paypal","payto","pix","sepa_debit","stripe_balance","upi","us_bank_account","wechat_pay"]}},"additionalProperties":false,"x-stripeMostCommon":["customer","customer_account","description","metadata","payment_method"]},"encoding":{"allowed_payment_method_types":{"style":"deepObject","explode":true},"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}}}},"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"}}}}},"x-stableId":"update_setup_intent"}},"/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"}}}}},"x-stableId":"cancel_setup_intent,cancel_setup_intent_via_terminal_merchant,cancel_setup_intent_via_client_merchant"}},"/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":{"allowed_payment_method_types":{"type":"array","description":"The list of payment method types to allow for this SetupIntent. Stripe will only use methods in this list when determining the payment methods to offer. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boku_promptpay","boleto","capchase_pay","card","card_present","cashapp","check_scan","click_to_pay","crypto","customer_balance","demo_pay","duitnow","dummy_auth_push","dummy_passthrough_card","edenred","eps","fpx","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","kriya","link","mb_way","mobilepay","momo","mondu","multibanco","naver_pay","netbanking","ng_bank","ng_bank_transfer","ng_card","ng_market","ng_ussd","ng_wallet","nz_bank_account","octopus","oxxo","p24","paper_check","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shop_pay","shopeepay","sofort","south_korea_market","stripe_balance","sunbit","swish","tamara","test_pay","touch_n_go","truemoney","twint","upi","us_bank_account","us_cash_voucher","vipps","wechat_pay","wero","zip"],"x-stripeBypassValidation":true}},"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 an Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is an 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"]},"bizum":{"title":"param","type":"object","properties":{},"description":"If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method."},"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","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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."},"gopay":{"title":"param","type":"object","properties":{},"description":"If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"id_bank_transfer":{"title":"param","type":"object","properties":{"bank":{"type":"string","description":"Bank where the account is held.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true}},"description":"If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.","x-stripeMostCommon":["bank"]},"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 (Link is also known as Onelink in the UK)."},"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."},"paypay":{"title":"param","type":"object","properties":{},"description":"If this is a `paypay` PaymentMethod, this hash contains details about the PayPay 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."},"qris":{"title":"param","type":"object","properties":{},"description":"If this is a `qris` PaymentMethod, this hash contains details about the QRIS 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"]},"rechnung":{"title":"param","required":["dob"],"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 `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.","x-stripeMostCommon":["dob"]},"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."},"scalapay":{"title":"param","type":"object","properties":{},"description":"If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay 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"]},"sequra":{"title":"param","type":"object","properties":{},"description":"If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method."},"shared_payment_granted_token":{"type":"string","description":"ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent."},"shopeepay":{"title":"param","type":"object","properties":{},"description":"If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method."},"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"]},"stripe_balance":{"title":"param","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment"}},"description":"This hash contains details about the Stripe balance payment method.","x-stripeMostCommon":["account","financial_account"]},"sunbit":{"title":"param","type":"object","properties":{},"description":"If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method."},"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","bizum","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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","verification_method"]},"bizum":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{},"description":"If this is a `bizum` SetupIntent, this sub-hash contains details about the Bizum payment method options.","x-stripeMostCommon":["mandate_options"]},"blik":{"title":"setup_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."},"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"expires_at":{"type":"integer","description":"Expiry date of the mandate.","format":"unix-time"}},"description":"Details of the BLIK mandate","x-stripeMostCommon":["expires_at"]}},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.","x-stripeMostCommon":["code","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},"setup_credential_usage":{"type":"string","description":"Set to indicate the future transaction type usage for the card being set up.","enum":["installment","recurring","unscheduled"],"x-stripeEnum":{"kind":"open","values":[{"description":"Use `installment` if the payment method will be used for future off-session installment payments that you manage. This is distinct from [`payment_method_options.card.installments`](/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments), which is used for issuer installments like [Mexico installments](/payments/meses-sin-intereses/accept-a-payment) and [Japan installments](/payments/jp-installments/accept-a-payment).","value":"installment"},{"description":"Use `recurring` if the payment method will be used for off-session payment that occurs at regularly scheduled intervals.","value":"recurring"},{"description":"Use `unscheduled` if the payment method will be used for off-session payment that does not occur at regular intervals on a scheduled date.","value":"unscheduled"}]}},"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","name_verification","network","network_token","request_name_verification","request_three_d_secure","setup_credential_usage","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 (Link is also known as Onelink in the UK).","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."},"currency":{"type":"string","format":"currency"},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":32,"type":"string"}}},"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"]},"pix":{"title":"setup_intent_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. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"amount_type":{"type":"string","description":"Type of amount. Defaults to `maximum`.","enum":["fixed","maximum"]},"currency":{"type":"string","description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.","format":"currency"},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged. Defaults to `monthly`.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]},"reference":{"maxLength":35,"type":"string","description":"Subscription name displayed to buyers in their bank app. Defaults to the displayable business name."},"start_date":{"maxLength":5000,"type":"string","description":"Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date."}},"description":"Additional fields for mandate creation.","x-stripeMostCommon":["amount","amount_includes_iof","amount_type","currency","end_date","payment_schedule","reference","start_date"]}},"description":"If this is a `pix` SetupIntent, this sub-hash contains details about the Pix 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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"manual_entry":{"title":"linked_account_options_manual_entry_param","required":["mode"],"type":"object","properties":{"mode":{"type":"string","description":"Settings for configuring manual entry of account details.","enum":["automatic","custom"]}},"description":"Customize manual entry behavior","x-stripeMostCommon":["mode"]},"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","inferred_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","pay_by_bank","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":["allowed_payment_method_types","payment_method"]},"encoding":{"allowed_payment_method_types":{"style":"deepObject","explode":true},"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"}}}}},"x-stableId":"confirm_setup_intent_via_secret_key,confirm_setup_intent_via_terminal_merchant,confirm_setup_intent_via_terminal_client"}},"/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"}}}}},"x-stableId":"verify_setup_intent_microdeposits_via_secret_key"}},"/v1/shared_payment/granted_tokens/{shared_payment_granted_token}":{"get":{"summary":"Retrieve a SharedPaymentGrantedToken","description":"

Retrieves an existing SharedPaymentGrantedToken object

","operationId":"GetSharedPaymentGrantedTokensSharedPaymentGrantedToken","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"}},"x-stripeLessCommon":true},{"name":"shared_payment_granted_token","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/shared_payment.granted_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"shared_payment_granted_token_retrieve_method"}},"/v1/shared_payment/issued_tokens":{"post":{"summary":"Create a SharedPaymentIssuedToken","description":"

Creates a new SharedPaymentIssuedToken object

","operationId":"PostSharedPaymentIssuedTokens","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["payment_method","seller_details","usage_limits"],"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":"The PaymentMethod that is going to be shared by the SharedPaymentIssuedToken."},"return_url":{"type":"string","description":"If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion."},"seller_details":{"title":"param","type":"object","properties":{"external_id":{"maxLength":5000,"type":"string","description":"A unique id within a network that identifies a logical seller, usually this would be the unique merchant id."},"network_business_profile":{"maxLength":5000,"type":"string","description":"A string that identifies the network that this SharedToken is being created for."}},"description":"Seller details of the SharedPaymentIssuedToken, including network_id and external_id.","x-stripeMostCommon":["external_id","network_business_profile","network_id"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to save the PaymentMethod of this SharedPaymentToken to a customer later.","enum":["on_session"],"x-stripeBypassValidation":true},"shared_metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to the SharedPaymentIssuedToken. The values here are visible by default with the party that you share this SharedPaymentIssuedToken with."},"usage_limits":{"title":"usage_limits_param","required":["currency","max_amount"],"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"},"expires_at":{"type":"integer","description":"Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.","format":"unix-time"},"max_amount":{"type":"integer","description":"Max amount that can be captured using this SharedPaymentToken"}},"description":"Limits on how this SharedPaymentToken can be used.","x-stripeMostCommon":["currency","expires_at","max_amount","recurring","recurring_interval"]},"use_stripe_sdk":{"type":"boolean","description":"Set to true when using Stripe.js, iOS, or Android client-side SDKs to handle next actions."}},"additionalProperties":false,"x-stripeMostCommon":["payment_method","return_url","seller_details","setup_future_usage","shared_metadata","usage_limits","use_stripe_sdk"]},"encoding":{"expand":{"style":"deepObject","explode":true},"seller_details":{"style":"deepObject","explode":true},"shared_metadata":{"style":"deepObject","explode":true},"usage_limits":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/shared_payment.issued_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"shared_payment_token_create_method"}},"/v1/shared_payment/issued_tokens/{shared_payment_issued_token}":{"get":{"summary":"Retrieve a SharedPaymentIssuedToken","description":"

Retrieves an existing SharedPaymentIssuedToken object

","operationId":"GetSharedPaymentIssuedTokensSharedPaymentIssuedToken","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"}},"x-stripeLessCommon":true},{"name":"shared_payment_issued_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/shared_payment.issued_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"shared_payment_token_retrieve_method"}},"/v1/shared_payment/issued_tokens/{shared_payment_issued_token}/revoke":{"post":{"summary":"Revoke a SharedPaymentIssuedToken","description":"

Revokes a SharedPaymentIssuedToken

","operationId":"PostSharedPaymentIssuedTokensSharedPaymentIssuedTokenRevoke","parameters":[{"name":"shared_payment_issued_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":{"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/shared_payment.issued_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"shared_payment_token_revoke_method"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_shipping_rates"},"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"}}}}},"x-stableId":"create_shipping_rate"}},"/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"}},"x-stripeLessCommon":true},{"name":"shipping_rate_token","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/shipping_rate"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_shipping_rate"},"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"},"x-stripeLessCommon":true}],"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"}}}}},"x-stableId":"update_shipping_rate"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_scheduled_query_runs"}},"/v1/sigma/scheduled_query_runs/{scheduled_query_run}":{"get":{"summary":"Retrieve a scheduled query run","description":"

Retrieves the details of a 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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_scheduled_query_run"}},"/v1/sources":{"post":{"summary":"Create 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"}}}}},"x-stableId":"create_source"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_source"},"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"}}}}},"x-stableId":"update_source"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_billing_subscription_items"},"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":[""]}]},"current_trial":{"title":"current_trial_param","required":["trial_offer"],"type":"object","properties":{"trial_end":{"type":"integer","description":"Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.","format":"unix-time"},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the subscription item."}},"description":"The trial offer to apply to this subscription item.","x-stripeMostCommon":["trial_end","trial_offer"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":"Controls how Stripe handles payment when a subscription update requires payment and `collection_method=charge_automatically`.","enum":["allow_incomplete","default_incomplete","error_if_incomplete","pending_if_incomplete"],"x-stripeEnum":{"kind":"open","values":[{"description":"This is the default behavior since [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails). Transition the subscription to `status=past_due` if payment fails. If you have payment retries configured, Stripe automatically retries the payment. If the payment requires action, you receive an `invoice.payment_action_required` webhook and must manage additional user actions. For example, SCA regulations might 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.","value":"allow_incomplete"},{"description":"When payment is required, transition the subscription to `status=past_due` without attempting payment. You must request explicit confirmation of the Invoice's PaymentIntent. The resulting Invoice has [auto_advance=false](https://docs.stripe.com/api/invoices/object#invoice_object-auto_advance), so Stripe doesn't automatically attempt payment, retry payment, or finalize the subscription.","value":"default_incomplete"},{"description":"If payment fails, return an HTTP `402` status code and don't update the subscription. This behavior doesn't support payments that require user action, such as 3DS authentication, because it returns an error instead of creating a PaymentIntent with `status=requires_action`. To handle payments that require action, use `allow_incomplete` or `default_incomplete` instead. This behavior was the default for API versions before [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails).","value":"error_if_incomplete"},{"description":"If payment fails, Stripe creates a [pending update](https://docs.stripe.com/billing/subscriptions/pending-updates), which applies only if the payment eventually succeeds. This behavior doesn't support all [attributes and payment methods](https://docs.stripe.com/billing/pending-updates-reference#supported-attributes). This option is the simplest way to ensure the customer completes payment before Stripe applies the update.","value":"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":[""]}]},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"Options that configure the trial on the subscription item.","x-stripeMostCommon":["converts_to","type"]}},"additionalProperties":false,"x-stripeMostCommon":["metadata","payment_behavior","price","proration_behavior","quantity","subscription"]},"encoding":{"billing_thresholds":{"style":"deepObject","explode":true},"current_trial":{"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},"trial":{"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"}}}}},"x-stableId":"create_billing_subscription_item"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_billing_subscription_item"},"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":[""]}]},"current_trial":{"title":"current_trial_param","required":["trial_offer"],"type":"object","properties":{"trial_end":{"type":"integer","description":"Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.","format":"unix-time"},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the subscription item."}},"description":"The trial offer to apply to this subscription item.","x-stripeMostCommon":["trial_end","trial_offer"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":"Controls how Stripe handles payment when a subscription update requires payment and `collection_method=charge_automatically`.","enum":["allow_incomplete","default_incomplete","error_if_incomplete","pending_if_incomplete"],"x-stripeEnum":{"kind":"open","values":[{"description":"This is the default behavior since [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails). Transition the subscription to `status=past_due` if payment fails. If you have payment retries configured, Stripe automatically retries the payment. If the payment requires action, you receive an `invoice.payment_action_required` webhook and must manage additional user actions. For example, SCA regulations might 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.","value":"allow_incomplete"},{"description":"When payment is required, transition the subscription to `status=past_due` without attempting payment. You must request explicit confirmation of the Invoice's PaymentIntent. The resulting Invoice has [auto_advance=false](https://docs.stripe.com/api/invoices/object#invoice_object-auto_advance), so Stripe doesn't automatically attempt payment, retry payment, or finalize the subscription.","value":"default_incomplete"},{"description":"If payment fails, return an HTTP `402` status code and don't update the subscription. This behavior doesn't support payments that require user action, such as 3DS authentication, because it returns an error instead of creating a PaymentIntent with `status=requires_action`. To handle payments that require action, use `allow_incomplete` or `default_incomplete` instead. This behavior was the default for API versions before [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails).","value":"error_if_incomplete"},{"description":"If payment fails, Stripe creates a [pending update](https://docs.stripe.com/billing/subscriptions/pending-updates), which applies only if the payment eventually succeeds. This behavior doesn't support all [attributes and payment methods](https://docs.stripe.com/billing/pending-updates-reference#supported-attributes). This option is the simplest way to ensure the customer completes payment before Stripe applies the update.","value":"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. You can use either `price` or `price_data`, but not both, to set or change this item's price. If you're updating an existing item without changing its price, omit both. 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. You can use either `price` or `price_data`, but not both, to set or change this item's price. If you're updating an existing item without changing its price, omit both.","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},"current_trial":{"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"}}}}},"x-stableId":"update_billing_subscription_item"},"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":"Controls how Stripe handles payment when a subscription update requires payment and `collection_method=charge_automatically`.","enum":["allow_incomplete","default_incomplete","error_if_incomplete","pending_if_incomplete"],"x-stripeEnum":{"kind":"open","values":[{"description":"This is the default behavior since [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails). Transition the subscription to `status=past_due` if payment fails. If you have payment retries configured, Stripe automatically retries the payment. If the payment requires action, you receive an `invoice.payment_action_required` webhook and must manage additional user actions. For example, SCA regulations might 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.","value":"allow_incomplete"},{"description":"When payment is required, transition the subscription to `status=past_due` without attempting payment. You must request explicit confirmation of the Invoice's PaymentIntent. The resulting Invoice has [auto_advance=false](https://docs.stripe.com/api/invoices/object#invoice_object-auto_advance), so Stripe doesn't automatically attempt payment, retry payment, or finalize the subscription.","value":"default_incomplete"},{"description":"If payment fails, return an HTTP `402` status code and don't update the subscription. This behavior doesn't support payments that require user action, such as 3DS authentication, because it returns an error instead of creating a PaymentIntent with `status=requires_action`. To handle payments that require action, use `allow_incomplete` or `default_incomplete` instead. This behavior was the default for API versions before [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails).","value":"error_if_incomplete"},{"description":"If payment fails, Stripe creates a [pending update](https://docs.stripe.com/billing/subscriptions/pending-updates), which applies only if the payment eventually succeeds. This behavior doesn't support all [attributes and payment methods](https://docs.stripe.com/billing/pending-updates-reference#supported-attributes). This option is the simplest way to ensure the customer completes payment before Stripe applies the update.","value":"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"}}}}},"x-stableId":"delete_billing_subscription_item"}},"/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"}]},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"name":"customer","in":"query","description":"Only return subscription schedules for the given customer. The response will not include subscription schedules for customers with a test clock attached if this parameter is not set.","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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"name":"scheduled","in":"query","description":"Only return subscription schedules that have not started yet.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_billing_subscription_schedules"},"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_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Amounts are net of discounts, and discount amounts are zero.","value":"included"},{"description":"Amounts are gross of discounts, and discount amounts are accurate.","value":"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":[""]}]},"custom_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":"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`."},"description":{"anyOf":[{"maxLength":1500,"type":"string"},{"type":"string","enum":[""]}]},"footer":{"anyOf":[{"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","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":[""]}]},"pause_schedules":{"type":"array","description":"Configures the subscription's pause behavior and, optionally, its resume behavior. Only one entry is supported.","items":{"title":"pause_schedules_create_params","type":"object","properties":{"key":{"maxLength":40,"type":"string","description":"A unique identifier for this pause schedule entry."},"pause":{"title":"pause_schedule_create_pause_params","required":["pause_at"],"type":"object","properties":{"pause_at":{"title":"pause_at_params","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.","format":"unix-time"},"type":{"type":"string","description":"When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.","enum":["now","timestamp"]}},"description":"When to pause the subscription.","x-stripeMostCommon":["timestamp","type"]},"settings":{"title":"pause_settings_params","type":"object","properties":{"bill_for":{"title":"pause_settings_bill_for_params","type":"object","properties":{"outstanding_usage_through":{"title":"pause_settings_bill_for_outstanding_usage_through_params","type":"object","properties":{"type":{"type":"string","description":"Determines whether to collect metered usage accrued up to the pause date. When adding a pause schedule, defaults to `pause_at`. On updates, the existing value is preserved if not provided.","enum":["none","pause_at"],"x-stripeEnum":{"kind":"open","values":[{"description":"Do not collect outstanding metered usage.","value":"none"},{"description":"Collect metered usage accrued through the pause date.","value":"pause_at"}]}}},"description":"Controls whether to collect metered usage accrued up to the pause date.","x-stripeMostCommon":["type"]},"unused_time_from":{"title":"pause_settings_bill_for_unused_time_from_params","type":"object","properties":{"type":{"type":"string","description":"Determines which point in the billing period unused time is credited from. When adding a pause schedule, defaults to `pause_at`. On updates, the existing value is preserved if not provided.","enum":["item_current_period_start","none","pause_at"],"x-stripeEnum":{"kind":"open","values":[{"description":"Credit unused time from the start of each item's current billing period.","value":"item_current_period_start"},{"description":"Do not credit unused time.","value":"none"},{"description":"Credit unused time from the pause date.","value":"pause_at"}]}}},"description":"Controls how unused time on subscription items is credited when pausing.","x-stripeMostCommon":["type"]}},"description":"Controls what to bill for when pausing the subscription.","x-stripeMostCommon":["outstanding_usage_through","unused_time_from"]},"invoicing_behavior":{"type":"string","description":"Determines whether to generate an invoice for outstanding amounts when pausing. When adding a pause schedule, defaults to `pending_invoice_item`. On updates, the existing value is preserved if not provided.","enum":["invoice","pending_invoice_item"],"x-stripeEnum":{"kind":"open","values":[{"description":"Invoices immediately for debits and credits in the current period. If pausing doesn't create any invoice items, Stripe doesn't generate an invoice.","value":"invoice"},{"description":"Creates pending invoice items for debits and credits in the current period.","value":"pending_invoice_item"}]}},"type":{"type":"string","description":"The pause type. Currently only `subscription` is supported.","enum":["subscription"],"x-stripeEnum":{"kind":"open","values":[{"description":"Pauses collection, billing, and servicing.","value":"subscription"}]}}},"description":"Settings controlling billing behavior during the pause.","x-stripeMostCommon":["bill_for","invoicing_behavior","type"]}},"description":"Configuration for when and how the subscription pauses.","x-stripeMostCommon":["pause_at","settings"]},"resume":{"title":"pause_schedule_create_resume_params","required":["resume_at"],"type":"object","properties":{"resume_at":{"title":"resume_at_params","required":["type"],"type":"object","properties":{"duration":{"title":"resume_at_duration_params","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals after which the subscription resumes."}},"description":"The duration after which to resume the subscription. Required when `type` is `duration`.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.","format":"unix-time"},"type":{"type":"string","description":"When to resume the subscription. Use `now` to resume immediately, `duration` to resume after a set duration, or `timestamp` to resume at a specific time.","enum":["duration","now","timestamp"]}},"description":"When to resume the subscription.","x-stripeMostCommon":["duration","timestamp","type"]},"settings":{"title":"resume_settings_params","type":"object","properties":{"billing_cycle_anchor":{"type":"string","description":"Controls the billing cycle anchor when the subscription resumes. When adding a pause schedule, defaults to `resume_at`. On updates, the existing value is preserved if not provided.","enum":["resume_at","unchanged"],"x-stripeEnum":{"kind":"open","values":[{"description":"Set the billing cycle anchor to the date the subscription resumes.","value":"resume_at"},{"description":"Keep the existing billing cycle anchor.","value":"unchanged"}]}},"payment_behavior":{"type":"string","description":"Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. When adding a pause schedule, defaults to `resume_on_payment_success`. On updates, the existing value is preserved if not provided.","enum":["resume_on_payment_attempt","resume_on_payment_success"],"x-stripeEnum":{"kind":"open","values":[{"description":"If you create a resumption invoice, Stripe finalizes the invoice immediately but doesn't attempt payment. You can then manually attempt payment on the invoice using the [Pay invoice endpoint](/api/invoices/pay). If the payment attempt succeeds, the subscription becomes `active`. If the payment attempt fails, the subscription becomes `past_due`. If the invoice has no payment attempts after 23 hours, Stripe voids the invoice and the subscription remains `paused`.","value":"resume_on_payment_attempt"},{"description":"If you create a resumption invoice, Stripe finalizes and attempts payment on the invoice immediately. If that payment attempt succeeds, the subscription becomes `active`. If that payment attempt fails, the subscription remains `paused`. You can then manually attempt payment on the invoice using the [Pay invoice endpoint](/api/invoices/pay). If the invoice isn't paid successfully within 1 year of its creation, Stripe voids the invoice and the subscription remains `paused`.","value":"resume_on_payment_success"}]}},"proration_behavior":{"type":"string","description":"Determines how to handle prorations when the subscription resumes. When adding a pause schedule, defaults to `create_prorations`. On updates, the existing value is preserved if not provided.","enum":["always_invoice","create_prorations","none"]}},"description":"Settings controlling how the subscription resumes.","x-stripeMostCommon":["billing_cycle_anchor","payment_behavior","proration_behavior"]}},"description":"Configuration for when and how the subscription resumes.","x-stripeMostCommon":["resume_at","settings"]}},"x-stripeMostCommon":["key","pause","resume"]}},"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":{"discountable":{"type":"boolean","description":"Controls whether discounts apply to this invoice item. Defaults to true if no value is provided."},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":"schedule_phase_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":[""]}]},"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":[""]}]},"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`."},"description":{"description":"An arbitrary string attached to the object. Often useful for displaying to users.","anyOf":[{"maxLength":1500,"type":"string"},{"type":"string","enum":[""]}]},"footer":{"description":"Footer to be displayed on the invoice.","anyOf":[{"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","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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":[""]}]},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"Options that configure the trial on the subscription item.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"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."},"pause_collection":{"title":"pause_collection_params","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"void"}]}}},"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).","x-stripeMostCommon":["behavior"]},"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_continuation":{"type":"string","description":"Specify trial behavior when crossing phase boundaries","enum":["continue","none"]},"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"},"trial_settings":{"title":"trial_settings_specs","type":"object","properties":{"end_behavior":{"title":"end_behavior_specs","type":"object","properties":{"prorate_up_front":{"type":"string","description":"Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.","enum":["defer","include"]}},"description":"Defines how the subscription should behave when a trial ends.","x-stripeMostCommon":["prorate_up_front"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"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"]}},"prebilling":{"title":"prebilling_specs","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer","description":"This is used to determine the number of billing cycles to prebill."},"update_behavior":{"type":"string","description":"Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.","enum":["prebill","reset"]}},"description":"If specified, the invoicing for the given billing cycle iterations will be processed now.","x-stripeMostCommon":["iterations","update_behavior"]},"start_date":{"description":"When the subscription schedule starts. We recommend using `now` so that it starts the subscription immediately, and to avoid unexpected behavior due to request delays or clock skew resulting in a slightly backdated or postdated start. 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},"pause_schedules":{"style":"deepObject","explode":true},"phases":{"style":"deepObject","explode":true},"prebilling":{"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"}}}}},"x-stableId":"create_billing_subscription_schedule"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_billing_subscription_schedule"},"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"},"x-stripeLessCommon":true}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"billing_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"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":[""]}]},"custom_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":"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`."},"description":{"anyOf":[{"maxLength":1500,"type":"string"},{"type":"string","enum":[""]}]},"footer":{"anyOf":[{"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","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":[""]}]},"pause_schedules":{"description":"Configures the subscription's pause behavior and, optionally, its resume behavior. Only one entry is supported. Include a key to update an existing entry. Omit to leave an existing pause schedule unchanged, or pass \"\" to clear it.","anyOf":[{"type":"array","items":{"title":"pause_schedules_update_params","type":"object","properties":{"key":{"maxLength":40,"type":"string","description":"A unique identifier for this pause schedule entry."},"pause":{"title":"pause_schedule_update_pause_params","type":"object","properties":{"pause_at":{"title":"pause_at_params","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.","format":"unix-time"},"type":{"type":"string","description":"When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.","enum":["now","timestamp"]}},"description":"When to pause the subscription.","x-stripeMostCommon":["timestamp","type"]},"settings":{"title":"pause_settings_params","type":"object","properties":{"bill_for":{"title":"pause_settings_bill_for_params","type":"object","properties":{"outstanding_usage_through":{"title":"pause_settings_bill_for_outstanding_usage_through_params","type":"object","properties":{"type":{"type":"string","description":"Determines whether to collect metered usage accrued up to the pause date. When adding a pause schedule, defaults to `pause_at`. On updates, the existing value is preserved if not provided.","enum":["none","pause_at"],"x-stripeEnum":{"kind":"open","values":[{"description":"Do not collect outstanding metered usage.","value":"none"},{"description":"Collect metered usage accrued through the pause date.","value":"pause_at"}]}}},"description":"Controls whether to collect metered usage accrued up to the pause date.","x-stripeMostCommon":["type"]},"unused_time_from":{"title":"pause_settings_bill_for_unused_time_from_params","type":"object","properties":{"type":{"type":"string","description":"Determines which point in the billing period unused time is credited from. When adding a pause schedule, defaults to `pause_at`. On updates, the existing value is preserved if not provided.","enum":["item_current_period_start","none","pause_at"],"x-stripeEnum":{"kind":"open","values":[{"description":"Credit unused time from the start of each item's current billing period.","value":"item_current_period_start"},{"description":"Do not credit unused time.","value":"none"},{"description":"Credit unused time from the pause date.","value":"pause_at"}]}}},"description":"Controls how unused time on subscription items is credited when pausing.","x-stripeMostCommon":["type"]}},"description":"Controls what to bill for when pausing the subscription.","x-stripeMostCommon":["outstanding_usage_through","unused_time_from"]},"invoicing_behavior":{"type":"string","description":"Determines whether to generate an invoice for outstanding amounts when pausing. When adding a pause schedule, defaults to `pending_invoice_item`. On updates, the existing value is preserved if not provided.","enum":["invoice","pending_invoice_item"],"x-stripeEnum":{"kind":"open","values":[{"description":"Invoices immediately for debits and credits in the current period. If pausing doesn't create any invoice items, Stripe doesn't generate an invoice.","value":"invoice"},{"description":"Creates pending invoice items for debits and credits in the current period.","value":"pending_invoice_item"}]}},"type":{"type":"string","description":"The pause type. Currently only `subscription` is supported.","enum":["subscription"],"x-stripeEnum":{"kind":"open","values":[{"description":"Pauses collection, billing, and servicing.","value":"subscription"}]}}},"description":"Settings controlling billing behavior during the pause.","x-stripeMostCommon":["bill_for","invoicing_behavior","type"]}},"description":"Configuration for when and how the subscription pauses.","x-stripeMostCommon":["pause_at","settings"]},"resume":{"description":"Configuration for when and how the subscription resumes.","anyOf":[{"title":"pause_schedule_update_resume_params","type":"object","properties":{"resume_at":{"title":"resume_at_params","required":["type"],"type":"object","properties":{"duration":{"title":"resume_at_duration_params","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals after which the subscription resumes."}},"description":"The duration after which to resume the subscription. Required when `type` is `duration`.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.","format":"unix-time"},"type":{"type":"string","description":"When to resume the subscription. Use `now` to resume immediately, `duration` to resume after a set duration, or `timestamp` to resume at a specific time.","enum":["duration","now","timestamp"]}},"description":"When to resume the subscription.","x-stripeMostCommon":["duration","timestamp","type"]},"settings":{"title":"resume_settings_params","type":"object","properties":{"billing_cycle_anchor":{"type":"string","description":"Controls the billing cycle anchor when the subscription resumes. When adding a pause schedule, defaults to `resume_at`. On updates, the existing value is preserved if not provided.","enum":["resume_at","unchanged"],"x-stripeEnum":{"kind":"open","values":[{"description":"Set the billing cycle anchor to the date the subscription resumes.","value":"resume_at"},{"description":"Keep the existing billing cycle anchor.","value":"unchanged"}]}},"payment_behavior":{"type":"string","description":"Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. When adding a pause schedule, defaults to `resume_on_payment_success`. On updates, the existing value is preserved if not provided.","enum":["resume_on_payment_attempt","resume_on_payment_success"],"x-stripeEnum":{"kind":"open","values":[{"description":"If you create a resumption invoice, Stripe finalizes the invoice immediately but doesn't attempt payment. You can then manually attempt payment on the invoice using the [Pay invoice endpoint](/api/invoices/pay). If the payment attempt succeeds, the subscription becomes `active`. If the payment attempt fails, the subscription becomes `past_due`. If the invoice has no payment attempts after 23 hours, Stripe voids the invoice and the subscription remains `paused`.","value":"resume_on_payment_attempt"},{"description":"If you create a resumption invoice, Stripe finalizes and attempts payment on the invoice immediately. If that payment attempt succeeds, the subscription becomes `active`. If that payment attempt fails, the subscription remains `paused`. You can then manually attempt payment on the invoice using the [Pay invoice endpoint](/api/invoices/pay). If the invoice isn't paid successfully within 1 year of its creation, Stripe voids the invoice and the subscription remains `paused`.","value":"resume_on_payment_success"}]}},"proration_behavior":{"type":"string","description":"Determines how to handle prorations when the subscription resumes. When adding a pause schedule, defaults to `create_prorations`. On updates, the existing value is preserved if not provided.","enum":["always_invoice","create_prorations","none"]}},"description":"Settings controlling how the subscription resumes.","x-stripeMostCommon":["billing_cycle_anchor","payment_behavior","proration_behavior"]}},"x-stripeMostCommon":["resume_at","settings"]},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["key","pause","resume"]}},{"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":{"discountable":{"type":"boolean","description":"Controls whether discounts apply to this invoice item. Defaults to true if no value is provided."},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":"schedule_phase_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":[""]}]},"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":[""]}]},"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`."},"description":{"description":"An arbitrary string attached to the object. Often useful for displaying to users.","anyOf":[{"maxLength":1500,"type":"string"},{"type":"string","enum":[""]}]},"footer":{"description":"Footer to be displayed on the invoice.","anyOf":[{"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","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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":[""]}]},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"Options that configure the trial on the subscription item.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"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."},"pause_collection":{"title":"pause_collection_params","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"void"}]}}},"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).","x-stripeMostCommon":["behavior"]},"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. Prefer to specify `now` over an explicit timestamp when appropriate to avoid unexpected behavior due to request delays or clock skew resulting in the phase being slightly backdated or postdated.","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_continuation":{"type":"string","description":"Specify trial behavior when crossing phase boundaries","enum":["continue","none"]},"trial_end":{"description":"Sets the phase to trialing from the start date to this date. Must be within the phase. When combined with `trial=true`, it must match the phase end date.","anyOf":[{"type":"integer","format":"unix-time"},{"maxLength":5000,"type":"string","enum":["now"]}]},"trial_settings":{"title":"trial_settings_specs","type":"object","properties":{"end_behavior":{"title":"end_behavior_specs","type":"object","properties":{"prorate_up_front":{"type":"string","description":"Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.","enum":["defer","include"]}},"description":"Defines how the subscription should behave when a trial ends.","x-stripeMostCommon":["prorate_up_front"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"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"]}},"prebilling":{"title":"prebilling_specs","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer","description":"This is used to determine the number of billing cycles to prebill."},"update_behavior":{"type":"string","description":"Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.","enum":["prebill","reset"]}},"description":"If specified, the invoicing for the given billing cycle iterations will be processed now.","x-stripeMostCommon":["iterations","update_behavior"]},"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},"pause_schedules":{"style":"deepObject","explode":true},"phases":{"style":"deepObject","explode":true},"prebilling":{"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"}}}}},"x-stableId":"update_billing_subscription_schedule"}},"/v1/subscription_schedules/{schedule}/amend":{"post":{"summary":"Amend a schedule","description":"

Amends an existing subscription schedule.

","operationId":"PostSubscriptionSchedulesScheduleAmend","parameters":[{"name":"schedule","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":true}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amendments":{"type":"array","description":"Changes to apply to the phases of the subscription schedule, in the order provided.","items":{"title":"amendment_specs","required":["amendment_start"],"type":"object","properties":{"amendment_end":{"title":"specs","required":["type"],"type":"object","properties":{"discount_end":{"title":"discount_end_specs","required":["discount"],"type":"object","properties":{"discount":{"maxLength":5000,"type":"string","description":"The ID of a specific discount."}},"description":"Use the `end` time of a given discount.","x-stripeMostCommon":["discount"]},"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the amendment starting from the `amendment_start`.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.","format":"unix-time"},"type":{"type":"string","description":"Select one of three ways to pass the `amendment_end`.","enum":["discount_end","duration","schedule_end","timestamp","trial_end","trial_start","upcoming_invoice"]}},"description":"Details to identify the end of the time range modified by the proposed change. If not supplied, the amendment is considered a point-in-time operation that only affects the exact timestamp at `amendment_start`, and a restricted set of attributes is supported on the amendment.","x-stripeMostCommon":["discount_end","duration","timestamp","type"]},"amendment_start":{"title":"specs","required":["type"],"type":"object","properties":{"amendment_end":{"title":"amendment_end_index_specs","required":["index"],"type":"object","properties":{"index":{"type":"integer","description":"The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array."}},"description":"Details of another amendment in the same array, immediately after which this amendment should begin.","x-stripeMostCommon":["index"]},"discount_end":{"title":"discount_end_specs","required":["discount"],"type":"object","properties":{"discount":{"maxLength":5000,"type":"string","description":"The ID of a specific discount."}},"description":"Use the `end` time of a given discount.","x-stripeMostCommon":["discount"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the amendment to start.","format":"unix-time"},"type":{"type":"string","description":"Select one of three ways to pass the `amendment_start`.","enum":["amendment_end","discount_end","now","schedule_end","timestamp","trial_end","trial_start","upcoming_invoice"]}},"description":"Details to identify the earliest timestamp where the proposed change should take effect.","x-stripeMostCommon":["amendment_end","discount_end","timestamp","type"]},"billing_cycle_anchor":{"type":"string","description":"For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp. For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.","enum":["amendment_start","automatic"]},"discount_actions":{"type":"array","description":"Changes to the coupons being redeemed or discounts being applied during the amendment time span.","items":{"title":"specs","required":["type"],"type":"object","properties":{"add":{"title":"add_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to redeem."},"discount":{"maxLength":5000,"type":"string","description":"An ID of an existing discount for a coupon that was already redeemed."},"discount_end":{"title":"amendment_discount_end","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["amendment_end"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["type"]},"index":{"type":"integer","description":"The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array."},"promotion_code":{"maxLength":5000,"type":"string","description":"The promotion code to redeem."}},"description":"Details of the discount to add.","x-stripeMostCommon":["coupon","discount","discount_end","index","promotion_code","settings"]},"remove":{"title":"remove_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to remove from the `discounts` array."},"discount":{"maxLength":5000,"type":"string","description":"The ID of a discount to remove from the `discounts` array."},"promotion_code":{"maxLength":5000,"type":"string","description":"The ID of a promotion code to remove from the `discounts` array."}},"description":"Details of the discount to remove.","x-stripeMostCommon":["coupon","discount","promotion_code"]},"set":{"title":"set_discount_specs","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The coupon code to replace the `discounts` array with."},"discount":{"maxLength":5000,"type":"string","description":"An ID of an existing discount to replace the `discounts` array with."},"promotion_code":{"maxLength":5000,"type":"string","description":"An ID of an existing promotion code to replace the `discounts` array with."}},"description":"Details of the discount to replace the existing discounts with.","x-stripeMostCommon":["coupon","discount","promotion_code","settings"]},"type":{"type":"string","description":"Determines the type of discount action.","enum":["add","remove","set"]}},"x-stripeMostCommon":["add","remove","set","type"]}},"item_actions":{"type":"array","description":"Changes to the subscription items during the amendment time span.","items":{"title":"specs","required":["type"],"type":"object","properties":{"add":{"title":"add_item_specs","required":["price"],"type":"object","properties":{"discounts":{"type":"array","description":"The discounts applied to the item. Subscription item discounts are applied before subscription discounts.","items":{"title":"schedule_amendments_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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},"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 object."},"quantity":{"type":"integer","description":"Quantity for this item."},"tax_rates":{"type":"array","description":"The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.","items":{"maxLength":5000,"type":"string"}},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"Options that configure the trial on the subscription item.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"description":"Details of the subscription item to add. If an item with the same `price` exists, it will be replaced by this new item. Otherwise, it adds the new item.","x-stripeMostCommon":["discounts","metadata","price","quantity","tax_rates","trial","trial_offer"]},"remove":{"title":"remove_item_specs","required":["price"],"type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"ID of a price to remove."}},"description":"Details of the subscription item to remove.","x-stripeMostCommon":["price"]},"set":{"title":"set_item_specs","required":["price"],"type":"object","properties":{"discounts":{"type":"array","description":"If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.","items":{"title":"schedule_amendments_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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"quantity":{"type":"integer","description":"If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`."},"tax_rates":{"type":"array","description":"If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.","items":{"maxLength":5000,"type":"string"}},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.","x-stripeMostCommon":["converts_to","type"]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item."}},"description":"Details of the subscription item to replace the existing items with. If an item with the `set[price]` already exists, the `items` array is not cleared. Instead, all of the other `set` properties that are passed in this request will replace the existing values for the configuration item.","x-stripeMostCommon":["discounts","metadata","price","quantity","tax_rates","trial","trial_offer"]},"type":{"type":"string","description":"Determines the type of item action.","enum":["add","remove","set"]}},"x-stripeMostCommon":["add","remove","set","type"]}},"metadata_actions":{"type":"array","description":"Instructions for how to modify phase metadata","items":{"title":"specs","required":["type"],"type":"object","properties":{"add":{"type":"object","additionalProperties":{"type":"string"},"description":"Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata."},"remove":{"type":"array","description":"Keys to remove from schedule phase metadata.","items":{"maxLength":5000,"type":"string"}},"set":{"description":"Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"type":{"type":"string","description":"Select one of three ways to update phase-level `metadata` on subscription schedules.","enum":["add","remove","set"]}},"x-stripeMostCommon":["add","remove","set","type"]}},"proration_behavior":{"type":"string","description":"Changes to how Stripe handles prorations during the amendment time span. Affects if and how prorations are created when a future phase starts. In cases where the amendment changes the currently active phase, it is used to determine whether or how to prorate now, at the time of the request. Also supported as a point-in-time operation when `amendment_end` is `null`.","enum":["always_invoice","create_prorations","none"]},"set_pause_collection":{"title":"specs","required":["type"],"type":"object","properties":{"set":{"title":"pause_collection_params","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"void"}]}}},"description":"Details of the pause_collection behavior to apply to the amendment.","x-stripeMostCommon":["behavior"]},"type":{"type":"string","description":"Determines the type of the pause_collection amendment.","enum":["remove","set"]}},"description":"Defines how to pause collection for the underlying subscription throughout the duration of the amendment.","x-stripeMostCommon":["set","type"]},"set_schedule_end":{"type":"string","description":"Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.","enum":["amendment_end","amendment_start"]},"trial_settings":{"title":"trial_settings_specs","type":"object","properties":{"end_behavior":{"title":"end_behavior_specs","type":"object","properties":{"prorate_up_front":{"type":"string","description":"Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.","enum":["defer","include"]}},"description":"Defines how the subscription should behave when a trial ends.","x-stripeMostCommon":["prorate_up_front"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"x-stripeMostCommon":["amendment_end","amendment_start","billing_cycle_anchor","billing_schedules_actions","discount_actions","effective_at","item_actions","metadata_actions","proration_behavior","set_pause_collection","set_schedule_end","trial_settings"]}},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"prebilling":{"description":"Provide any time periods to bill in advance.","anyOf":[{"type":"array","items":{"title":"specs","type":"object","properties":{"bill_from":{"title":"specs","required":["type"],"type":"object","properties":{"amendment_start":{"title":"amendment_start_specs","required":["index"],"type":"object","properties":{"index":{"type":"integer","description":"The position of the amendment in the `amendments` array with which prebilling should begin. Indexes start from 0 and must be less than the total number of supplied amendments."}},"description":"Start the prebilled period when a specified amendment begins.","x-stripeMostCommon":["index"]},"timestamp":{"type":"integer","description":"Start the prebilled period at a precise integer timestamp, starting from the Unix epoch.","format":"unix-time"},"type":{"type":"string","description":"Select one of several ways to pass the `bill_from` value.","enum":["amendment_start","now","timestamp"]}},"description":"The beginning of the prebilled time period. The default value is `now`.","x-stripeMostCommon":["amendment_start","timestamp","type"]},"bill_until":{"title":"specs","required":["type"],"type":"object","properties":{"amendment_end":{"title":"amendment_end_specs","required":["index"],"type":"object","properties":{"index":{"type":"integer","description":"The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments."}},"description":"End the prebilled period when a specified amendment ends.","x-stripeMostCommon":["index"]},"duration":{"title":"duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for prebilling, starting from `bill_from`.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"End the prebilled period at a precise integer timestamp, starting from the Unix epoch.","format":"unix-time"},"type":{"type":"string","description":"Select one of several ways to pass the `bill_until` value.","enum":["amendment_end","duration","schedule_end","timestamp"]}},"description":"The end of the prebilled time period.","x-stripeMostCommon":["amendment_end","duration","timestamp","type"]},"invoice_at":{"type":"string","description":"When the prebilling invoice should be created. The default value is `now`.","enum":["now"]},"update_behavior":{"type":"string","description":"Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.","enum":["prebill","reset"]}},"x-stripeMostCommon":["bill_from","bill_until","invoice_at","update_behavior"]}},{"type":"string","enum":[""]}]},"proration_behavior":{"type":"string","description":"In cases where the amendment changes the currently active phase,\n specifies if and how to prorate at the time of the request.","enum":["always_invoice","create_prorations","none"]},"schedule_settings":{"title":"specs","type":"object","properties":{"end_behavior":{"type":"string","description":"Behavior of the subscription schedule and underlying subscription when it ends.","enum":["cancel","release"]}},"description":"Changes to apply to the subscription schedule.","x-stripeMostCommon":["end_behavior"]}},"additionalProperties":false,"x-stripeMostCommon":["amendments","proration_behavior","schedule_settings"]},"encoding":{"amendments":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"prebilling":{"style":"deepObject","explode":true},"schedule_settings":{"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"}}}}},"x-stableId":"amend_billing_subscription_schedule"}},"/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"}}}}},"x-stableId":"cancel_billing_subscription_schedule"}},"/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"}}}}},"x-stableId":"release_billing_subscription_schedule"}},"/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"]},"x-stripeLessCommon":true},{"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"]},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_billing_subscriptions"},"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":{"discountable":{"type":"boolean","description":"Controls whether discounts apply to this invoice item. Defaults to true if no value is provided."},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Amounts are net of discounts, and discount amounts are zero.","value":"included"},{"description":"Amounts are gross of discounts, and discount amounts are accurate.","value":"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_schedules":{"type":"array","description":"An array of billing schedules, which allow you to bill customers in advance for multiple service periods. Requires flexible billing mode and API version 2026-05-27.dahlia or later. Learn more about [prebilling](https://docs.stripe.com/billing/subscriptions/prebilling).","items":{"title":"billing_schedules_create_params","required":["bill_until"],"type":"object","properties":{"applies_to":{"type":"array","description":"Configure billing schedule differently for individual subscription items.","items":{"title":"billing_schedules_applies_to","required":["type"],"type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"type":{"type":"string","description":"Controls which subscription items the billing schedule applies to.","enum":["price"]}},"x-stripeMostCommon":["price","type"]}},"bill_until":{"title":"billing_schedules_bill_until","required":["type"],"type":"object","properties":{"duration":{"title":"billing_schedules_bill_until_duration","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing duration. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The multiplier applied to the interval."}},"description":"Specifies the billing period.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"The end date of the billing schedule.","format":"unix-time"},"type":{"type":"string","description":"Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.","enum":["duration","timestamp"]}},"description":"The end date for the billing schedule. You must not set this earlier than current period end for every applicable subscription item.","x-stripeMostCommon":["duration","timestamp","type"]},"key":{"maxLength":200,"type":"string","description":"Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated."}},"x-stripeMostCommon":["applies_to","bill_until","key"]}},"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_billed_until","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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":[""]}]},"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":[""]}]},"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":"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"]}},"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":[""]}]},"current_trial":{"title":"current_trial_param","required":["trial_offer"],"type":"object","properties":{"trial_end":{"type":"integer","description":"Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.","format":"unix-time"},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the subscription item."}},"description":"The trial offer to apply to this subscription item.","x-stripeMostCommon":["trial_end","trial_offer"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":[""]}]},"trial":{"title":"trial_specs","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"Define options to configure the trial on the subscription item.","x-stripeMostCommon":["converts_to","type"]}},"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":"Controls how Stripe handles the first invoice when payment is required and `collection_method=charge_automatically`. Subscriptions 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"],"x-stripeEnum":{"kind":"open","values":[{"description":"This is the default behavior since [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails). If payment fails, the Subscription is created with `status=incomplete`, otherwise `status=active`. This behavior allows you to manage scenarios where additional customer actions are needed to pay the Invoice. For example, SCA regulations might 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.","value":"allow_incomplete"},{"description":"When the first invoice requires payment, creates a Subscription with `status=incomplete` without attempting payment, otherwise `status=active`. You must request explicit confirmation of the Invoice's PaymentIntent to activate the subscription. The resulting Invoice has [auto_advance=false](https://docs.stripe.com/api/invoices/object#invoice_object-auto_advance), so Stripe doesn't automatically attempt payment, retry payment, or finalize the subscription.","value":"default_incomplete"},{"description":"If payment fails, return an HTTP `402` status code and don't create the subscription. This behavior doesn't support payments that require user action, such as 3DS authentication, because it returns an error instead of creating a PaymentIntent with `status=requires_action`. To handle payments that require action, use `allow_incomplete` or `default_incomplete` instead. This behavior was the default for API versions before [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails).","value":"error_if_incomplete"},{"description":"This behavior is exclusive to Subscription updates and cannot be used for creation.","value":"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":[""]}]},"billie":{"description":"This sub-hash contains details about the Billie payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"subscription_payment_method_options_param","type":"object","properties":{"company_details":{"description":"Registration details about the buyer's organization.","anyOf":[{"title":"company_details_param","type":"object","properties":{"registered_address":{"description":"The address the company or entity is registered with.","anyOf":[{"title":"registered_address_param","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."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (for example, street, PO Box, or company name)."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (for example, 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."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name."},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type."},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["","ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"]},"vat":{"maxLength":5000,"type":"string","description":"VAT ID number."}},"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["company_details","extra_merchant_data_blob"]},{"type":"string","enum":[""]}]},"blik":{"description":"This sub-hash contains details about the Blik payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"subscription_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"subscription_payment_method_options_mandate_options_param","type":"object","properties":{"expires_at":{"type":"integer","description":"Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.","format":"unix-time"}},"description":"Configuration options for setting up a mandate","x-stripeMostCommon":["expires_at"]}},"x-stripeMostCommon":["mandate_options"]},{"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","mcc","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":[""]}]},"id_bank_transfer":{"description":"This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"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":[""]}]},"pix":{"description":"This sub-hash contains details about the Pix payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"subscription_payment_method_options_param","type":"object","properties":{"expires_after_seconds":{"type":"integer","description":"The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds."},"mandate_options":{"title":"subscription_payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments. If not provided, defaults to 40000."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged. Defaults to the subscription servicing interval.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]}},"description":"Configuration options for setting up a mandate","x-stripeMostCommon":["amount","amount_includes_iof","end_date","payment_schedule"]}},"x-stripeMostCommon":["expires_after_seconds","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":[""]}]},"upi":{"description":"This sub-hash contains details about the UPI payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"invoice_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"]}},"x-stripeMostCommon":["mandate_options"]},{"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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"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","inferred_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","bacs_debit","bancontact","billie","bizum","blik","card","check_scan","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account","wechat_pay"]},"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","alipay","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","id_bank_transfer","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","mb_way","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_balance","swish","twint","upi","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":[""]}]},"prebilling":{"title":"prebilling_specs","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer","description":"This is used to determine the number of billing cycles to prebill."},"update_behavior":{"type":"string","description":"Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.","enum":["prebill","reset"]}},"description":"If specified, the invoicing for the given billing cycle iterations will be processed now.","x-stripeMostCommon":["iterations","update_behavior"]},"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/free-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/free-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/free-trials) to learn more."},"trial_settings":{"title":"trial_settings_config","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"title":"end_behavior","type":"object","properties":{"billing_cycle_anchor":{"type":"string","description":"Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.","enum":["now","unchanged"],"x-stripeEnum":{"kind":"open","values":[{"description":"Reset the subscription's billing cycle anchor to the end of the trial.","value":"now"},{"description":"Keep the subscription's existing billing cycle anchor unchanged. This value is unsupported for trials initiated through `trial_end`, `trial_period_days`, or a plan trial.","value":"unchanged"}]}},"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_schedules":{"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},"prebilling":{"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"}}}}},"x-stableId":"create_subscription"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"search_billing_subscription"}},"/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"}},"x-stripeLessCommon":true},{"name":"subscription_exposed_id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/subscription"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_billing_subscription"},"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. You can also use scripts to prorate your billing. To learn more, see Prorations.

\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"},"x-stripeLessCommon":true}],"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":{"discountable":{"type":"boolean","description":"Controls whether discounts apply to this invoice item. Defaults to true if no value is provided."},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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":{"title":"billing_cycle_anchor_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Determines how the billing cycle anchor changes when the subscription is updated.","enum":["now","unchanged"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Reset the subscription's billing cycle anchor to the current time (in UTC) and start a new billing period.","value":"now"},{"description":"Keep the subscription's existing billing cycle anchor unchanged.","value":"unchanged"}]}}},"description":"Controls how the subscription's billing cycle anchor changes. Set `type` to `now` to reset the billing cycle anchor to the current time (in UTC), or `unchanged` to preserve it. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).","x-stripeMostCommon":["timestamp","type"]},"billing_schedules":{"description":"An array of billing schedules, which allow you to bill customers in advance for multiple service periods. Requires flexible billing mode and API version 2026-05-27.dahlia or later. Learn more about [prebilling](https://docs.stripe.com/billing/subscriptions/prebilling).","anyOf":[{"type":"array","items":{"title":"billing_schedules_update_params","type":"object","properties":{"applies_to":{"type":"array","description":"Configure billing schedule differently for individual subscription items.","items":{"title":"billing_schedules_applies_to","required":["type"],"type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"type":{"type":"string","description":"Controls which subscription items the billing schedule applies to.","enum":["price"]}},"x-stripeMostCommon":["price","type"]}},"bill_until":{"title":"billing_schedules_bill_until","required":["type"],"type":"object","properties":{"duration":{"title":"billing_schedules_bill_until_duration","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing duration. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The multiplier applied to the interval."}},"description":"Specifies the billing period.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"The end date of the billing schedule.","format":"unix-time"},"type":{"type":"string","description":"Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.","enum":["duration","timestamp"]}},"description":"The end date for the billing schedule. You must not set this earlier than current period end for every applicable subscription item.","x-stripeMostCommon":["duration","timestamp","type"]},"key":{"maxLength":200,"type":"string","description":"Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated."}},"x-stripeMostCommon":["applies_to","bill_until","key"]}},{"type":"string","enum":[""]}]},"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_billed_until","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`)."},"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"]},"feedback_option":{"maxLength":5000,"type":"string","description":"Customized feedback options that provide deeper insight into why the subscription was canceled, if the subscription was canceled explicitly by the user."}},"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. A populated array overwrites the existing discounts on the subscription. If not specified or empty array, it leaves the subscription's discounts unchanged. If empty string, it clears the subscription's 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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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_update_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":[""]}]},"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":[""]}]},"description":{"description":"An arbitrary string attached to the object. Often useful for displaying to users.","anyOf":[{"maxLength":1500,"type":"string"},{"type":"string","enum":[""]}]},"footer":{"description":"Footer to be displayed on the invoice.","anyOf":[{"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."},"current_trial":{"title":"current_trial_param","required":["trial_offer"],"type":"object","properties":{"trial_end":{"type":"integer","description":"Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.","format":"unix-time"},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the subscription item."}},"description":"The trial offer to apply to this subscription item.","x-stripeMostCommon":["trial_end","trial_offer"]},"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."},"discount_end":{"title":"discount_end","required":["type"],"type":"object","properties":{"duration":{"title":"discount_end_duration_specs","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"Time span for the redeemed discount.","x-stripeMostCommon":["interval","interval_count"]},"timestamp":{"type":"integer","description":"A precise Unix timestamp for the discount to end. Must be in the future.","format":"unix-time"},"type":{"type":"string","description":"The type of calculation made to determine when the discount ends.","enum":["duration","timestamp"]}},"description":"Details to determine how long the discount should be applied for.","x-stripeMostCommon":["duration","timestamp","type"]},"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. If you omit `id`, the API adds a new subscription item rather than updating the existing one. See [Changing a subscription's price](https://docs.stripe.com/billing/subscriptions/change-price#changing)."},"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. You can use either `price` or `price_data`, but not both, to set or change this item's price. If you're updating an existing item without changing its price, omit both. 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. You can use either `price` or `price_data`, but not both, to set or change this item's price. If you're updating an existing item without changing its price, omit both.","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","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"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":"Controls how Stripe handles payment when a subscription update requires payment and `collection_method=charge_automatically`.","enum":["allow_incomplete","default_incomplete","error_if_incomplete","pending_if_incomplete"],"x-stripeEnum":{"kind":"open","values":[{"description":"This is the default behavior since [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails). Transition the subscription to `status=past_due` if payment fails. If you have payment retries configured, Stripe automatically retries the payment. If the payment requires action, you receive an `invoice.payment_action_required` webhook and must manage additional user actions. For example, SCA regulations might 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.","value":"allow_incomplete"},{"description":"When payment is required, transition the subscription to `status=past_due` without attempting payment. You must request explicit confirmation of the Invoice's PaymentIntent. The resulting Invoice has [auto_advance=false](https://docs.stripe.com/api/invoices/object#invoice_object-auto_advance), so Stripe doesn't automatically attempt payment, retry payment, or finalize the subscription.","value":"default_incomplete"},{"description":"If payment fails, return an HTTP `402` status code and don't update the subscription. This behavior doesn't support payments that require user action, such as 3DS authentication, because it returns an error instead of creating a PaymentIntent with `status=requires_action`. To handle payments that require action, use `allow_incomplete` or `default_incomplete` instead. This behavior was the default for API versions before [2019-03-14](changelog/2019-03-14/subscriptions-successfully-created-first-payment-fails).","value":"error_if_incomplete"},{"description":"If payment fails, Stripe creates a [pending update](https://docs.stripe.com/billing/subscriptions/pending-updates), which applies only if the payment eventually succeeds. This behavior doesn't support all [attributes and payment methods](https://docs.stripe.com/billing/pending-updates-reference#supported-attributes). This option is the simplest way to ensure the customer completes payment before Stripe applies the update.","value":"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":[""]}]},"billie":{"description":"This sub-hash contains details about the Billie payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"subscription_payment_method_options_param","type":"object","properties":{"company_details":{"description":"Registration details about the buyer's organization.","anyOf":[{"title":"company_details_param","type":"object","properties":{"registered_address":{"description":"The address the company or entity is registered with.","anyOf":[{"title":"registered_address_param","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."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (for example, street, PO Box, or company name)."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (for example, 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."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name."},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type."},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["","ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"]},"vat":{"maxLength":5000,"type":"string","description":"VAT ID number."}},"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["company_details","extra_merchant_data_blob"]},{"type":"string","enum":[""]}]},"blik":{"description":"This sub-hash contains details about the Blik payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"subscription_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"subscription_payment_method_options_mandate_options_param","type":"object","properties":{"expires_at":{"type":"integer","description":"Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.","format":"unix-time"}},"description":"Configuration options for setting up a mandate","x-stripeMostCommon":["expires_at"]}},"x-stripeMostCommon":["mandate_options"]},{"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","mcc","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":[""]}]},"id_bank_transfer":{"description":"This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"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":[""]}]},"pix":{"description":"This sub-hash contains details about the Pix payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"subscription_payment_method_options_param","type":"object","properties":{"expires_after_seconds":{"type":"integer","description":"The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds."},"mandate_options":{"title":"subscription_payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments. If not provided, defaults to 40000."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged. Defaults to the subscription servicing interval.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]}},"description":"Configuration options for setting up a mandate","x-stripeMostCommon":["amount","amount_includes_iof","end_date","payment_schedule"]}},"x-stripeMostCommon":["expires_after_seconds","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":[""]}]},"upi":{"description":"This sub-hash contains details about the UPI payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"invoice_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"]}},"x-stripeMostCommon":["mandate_options"]},{"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"]}},"institution":{"maxLength":5000,"type":"string","description":"ID of the institution to use to filter for selectable accounts."}},"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","inferred_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","bacs_debit","bancontact","billie","bizum","blik","card","check_scan","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account","wechat_pay"]},"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","alipay","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","id_bank_transfer","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","mb_way","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_balance","swish","twint","upi","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":[""]}]},"prebilling":{"title":"prebilling_specs","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer","description":"This is used to determine the number of billing cycles to prebill."},"update_behavior":{"type":"string","description":"Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.","enum":["prebill","reset"]}},"description":"If specified, the invoicing for the given billing cycle iterations will be processed now.","x-stripeMostCommon":["iterations","update_behavior"]},"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/free-trials) to learn more."},"trial_settings":{"title":"trial_settings_config","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"title":"end_behavior","type":"object","properties":{"billing_cycle_anchor":{"type":"string","description":"Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.","enum":["now","unchanged"],"x-stripeEnum":{"kind":"open","values":[{"description":"Reset the subscription's billing cycle anchor to the end of the trial.","value":"now"},{"description":"Keep the subscription's existing billing cycle anchor unchanged. This value is unsupported for trials initiated through `trial_end`, `trial_period_days`, or a plan trial.","value":"unchanged"}]}},"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_cycle_anchor":{"style":"deepObject","explode":true},"billing_schedules":{"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},"prebilling":{"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"}}}}},"x-stableId":"update_billing_subscription"},"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, the subscription is largely immutable. You can still update its metadata and cancellation_details.

\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 false.

\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"},"x-stripeLessCommon":true}],"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"]},"feedback_option":{"maxLength":5000,"type":"string","description":"Customized feedback options that provide deeper insight into why the subscription was canceled, if the subscription was canceled explicitly by the user."}},"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"}}}}},"x-stableId":"cancel_billing_subscription"}},"/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"},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/deleted_discount"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"delete_subscription_discount"}},"/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"},"x-stripeLessCommon":true}],"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Amounts are net of discounts, and discount amounts are zero.","value":"included"},{"description":"Amounts are gross of discounts, and discount amounts are accurate.","value":"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"}}}}},"x-stableId":"migrate_subscription"}},"/v1/subscriptions/{subscription}/pause":{"post":{"summary":"Pause a subscription","description":"

Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.

","operationId":"PostSubscriptionsSubscriptionPause","parameters":[{"name":"subscription","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":true}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"bill_for":{"title":"bill_for_param","type":"object","properties":{"outstanding_usage_through":{"title":"outstanding_usage_through_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"When to bill metered usage in the current period.","enum":["none","now"],"x-stripeEnum":{"kind":"open","values":[{"description":"Don't bill for metered usage in the current period.","value":"none"},{"description":"Bill for metered usage in the current period, from current period start to pause time (default).","value":"now"}]}}},"description":"Controls when to bill for metered usage in the current period. Defaults to `{ type: \"now\" }`.","x-stripeMostCommon":["type"]},"unused_time_from":{"title":"unused_time_from_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"When to credit for unused time.","enum":["item_current_period_start","none","now"],"x-stripeEnum":{"kind":"open","values":[{"description":"Credit unused time from each item's current period start to period end.","value":"item_current_period_start"},{"description":"Don't credit for unused time.","value":"none"},{"description":"Credit unused time from pause time to period end (default).","value":"now"}]}}},"description":"Controls when to credit for unused time on licensed items. Defaults to `{ type: \"now\" }`.","x-stripeMostCommon":["type"]}},"description":"Controls what to bill for when pausing the subscription.","x-stripeMostCommon":["outstanding_usage_through","unused_time_from"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoicing_behavior":{"type":"string","description":"Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.","enum":["invoice","pending_invoice_item"],"x-stripeEnum":{"kind":"open","values":[{"description":"Invoices immediately for debits and credits in the current period. If pausing doesn't create any invoice items, Stripe doesn't generate an invoice.","value":"invoice"},{"description":"Creates pending invoice items for debits and credits in the current period.","value":"pending_invoice_item"}]}},"type":{"type":"string","description":"The type of pause to apply. Defaults to `subscription`.","enum":["subscription"],"x-stripeEnum":{"kind":"open","values":[{"description":"Pauses collection, billing, and servicing.","value":"subscription"}]}}},"additionalProperties":false,"x-stripeMostCommon":["bill_for","invoicing_behavior","type"]},"encoding":{"bill_for":{"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"}}}}},"x-stableId":"pause_billing_subscription"}},"/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. Resume is only available for subscriptions that use charge_automatically collection. If Stripe doesn’t generate a resumption invoice, the subscription becomes active immediately. When a resumption invoice is generated, Stripe finalizes it immediately. If the invoice is paid or marked uncollectible, the subscription becomes active. If the invoice is manually voided, the subscription stays paused. If there is no payment attempt within 23 hours, Stripe voids the invoice and the subscription stays paused. Learn more about resuming subscriptions.

","operationId":"PostSubscriptionsSubscriptionResume","parameters":[{"name":"subscription","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"},"x-stripeLessCommon":true}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"billing_cycle_anchor":{"title":"billing_cycle_anchor_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Determines how the billing cycle anchor changes when the subscription resumes.","enum":["now","unchanged"],"x-stripeBypassValidation":true}},"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).","x-stripeMostCommon":["timestamp","type"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"payment_behavior":{"type":"string","description":"Controls whether Stripe attempts payment on the resumption invoice in the resume request, and how payment on that invoice affects the subscription's status. The default is `resume_on_payment_attempt`.","enum":["resume_on_payment_attempt","resume_on_payment_success"],"x-stripeEnum":{"kind":"open","values":[{"description":"If you create a resumption invoice, Stripe finalizes the invoice immediately but doesn't attempt payment. You can then manually attempt payment on the invoice using the [Pay invoice endpoint](/api/invoices/pay). If the payment attempt succeeds, the subscription becomes `active`. If the payment attempt fails, the subscription becomes `past_due`. If the invoice has no payment attempts after 23 hours, Stripe voids the invoice and the subscription remains `paused`.","value":"resume_on_payment_attempt"},{"description":"If you create a resumption invoice, Stripe finalizes and attempts payment on the invoice immediately. If that payment attempt succeeds, the subscription becomes `active`. If that payment attempt fails, the subscription remains `paused`. You can then manually attempt payment on the invoice using the [Pay invoice endpoint](/api/invoices/pay). If the invoice isn't paid successfully within 1 year of its creation, Stripe voids the invoice and the subscription remains `paused`.","value":"resume_on_payment_success"}]}},"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":{"billing_cycle_anchor":{"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"}}}}},"x-stableId":"resume_billing_subscription"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"find_tax_association"}},"/v1/tax/calculations":{"post":{"summary":"Create a 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`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `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`, `py_ruc`, `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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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. You can pass up to 100 line items, or 1,000 if your account has an increased limit.","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."},"performance_location":{"maxLength":5000,"type":"string","description":"A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported."},"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","performance_location_details","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":"The calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window."}},"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"}}}}},"x-stableId":"create_tax_calculation"}},"/v1/tax/calculations/{calculation}":{"get":{"summary":"Retrieve a 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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/tax.calculation"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_tax_calculation"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_tax_calculation_line_items"}},"/v1/tax/forms":{"get":{"summary":"List all tax forms","description":"

Returns a list of tax forms which were previously created. The tax forms are returned in sorted order, with the oldest tax forms appearing first.

","operationId":"GetTaxForms","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"name":"payee","in":"query","description":"The payee whose volume is represented on the tax form.","required":true,"style":"deepObject","explode":true,"schema":{"title":"payee_params","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The ID of the Stripe account whose forms will be retrieved."},"external_reference":{"maxLength":5000,"type":"string","description":"The external reference to the payee whose forms will be retrieved."},"type":{"type":"string","description":"Specifies the payee type.","enum":["account","external_reference"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["account","external_reference","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"},"x-stripeLessCommon":true},{"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 tax form types. If your integration expects only one type of tax form in the response, make sure to provide a type value in the request.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["au_serr","ca_mrdp","eu_dac7","gb_mrdp","nz_mrdp","us_1099_k","us_1099_misc","us_1099_nec"],"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":"TaxReportingResourceTaxFormList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/tax.form"}},"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"}}}}},"x-stableId":"list_tax_forms"}},"/v1/tax/forms/{id}":{"get":{"summary":"Retrieve a tax form","description":"

Retrieves the details of a tax form that has previously been created. Supply the unique tax form ID that was returned from your previous request, and Stripe will return the corresponding tax form information.

","operationId":"GetTaxFormsId","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"}},"x-stripeLessCommon":true},{"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.form"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_tax_form"}},"/v1/tax/forms/{id}/pdf":{"get":{"summary":"Download tax form PDF","description":"

Download the PDF for a tax form.

","operationId":"GetTaxFormsIdPdf","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"}},"x-stripeLessCommon":true},{"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/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"servers":[{"url":"https://files.stripe.com/"}],"x-stableId":"download_pdf_tax_form"}},"/v1/tax/locations":{"get":{"summary":"List tax locations","description":"

Retrieve a list of all tax locations. Tax locations can represent the venues for services, tickets, or other product types.

\n\n

The response includes detailed information for each tax location, such as its address, type, and description.

\n\n

You can paginate through the list by using the limit parameter to control the number of results returned in each request.

","operationId":"GetTaxLocations","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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"type","in":"query","description":"Type of the tax location. Currently the only option is `performance`.","required":true,"style":"form","explode":true,"schema":{"type":"string","enum":["performance"]}}],"requestBody":{"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":"TaxLocationList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/tax.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/tax/locations","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stableId":"tax_location_list","x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"list_tax_location"},"post":{"summary":"Create a tax location","description":"

Create a tax location to use in calculating taxes for a service, ticket, or other type of product. The resulting object contains the ID, address, type, and description of the tax location.

","operationId":"PostTaxLocations","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["address","type"],"type":"object","properties":{"address":{"title":"tax_location_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 physical address of the tax location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"description":{"maxLength":5000,"type":"string","description":"Details to identify the tax location by its venue, types of events held, or available services, such as \"A spacious auditorium suitable for large concerts and events.\"."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"The type of tax location. The only supported value is \"performance\".","enum":["performance"]}},"additionalProperties":false,"x-stripeMostCommon":["address","description","type"]},"encoding":{"address":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.location"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"create_tax_location"}},"/v1/tax/locations/{location}":{"get":{"summary":"Retrieve a tax location","description":"

Fetch the details of a specific tax location using its unique identifier. Use a tax location to calculate taxes based on the location of the end product, such as a performance, instead of the customer address. For more details, check the integration guide.

","operationId":"GetTaxLocationsLocation","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"}},"x-stripeLessCommon":true},{"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/tax.location"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_tax_location"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_tax_registrations"},"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":"spain","required":["type"],"type":"object","properties":{"igic":{"title":"igic","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an IGIC registration.","enum":["inbound_goods","standard"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Inbound goods place of supply scheme in which the tax is collected at destination for inbound physical goods.","value":"inbound_goods"},{"description":"Standard place of supply scheme in which tax is applied to sales in this country only.","value":"standard"}]}}},"description":"Options for the IGIC registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"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 ES.","enum":["igic","ioss","oss_non_union","oss_union","standard"],"x-stripeEnum":{"kind":"open","values":[{"description":"Impuesto General Indirecto Canario. For businesses selling goods and services in the Canary Islands.","value":"igic"},{"description":"Common for businesses shipping goods below EUR 150 from non-EU countries to EU customers.","value":"ioss"},{"description":"Common for businesses established outside of the EU selling services to customers in the EU.","value":"oss_non_union"},{"description":"Common for businesses established in the EU selling goods and services to customers in the EU.","value":"oss_union"},{"description":"Common for businesses selling goods and services to customers in this country.","value":"standard"}]}}},"description":"Options for the registration in ES.","x-stripeMostCommon":["igic","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,"x-stripeEnum":{"kind":"open","values":[{"description":"A simplified Tax Registration in Thailand to collect VAT.","value":"simplified"}]}}},"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":{"admissions_tax":{"title":"admissions_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=admissions_tax#registration-types)."}},"description":"Options for the admission tax registration.","x-stripeMostCommon":["jurisdiction"]},"attendance_tax":{"title":"attendance_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=attendance_tax#registration-types)."}},"description":"Options for the attendance tax registration.","x-stripeMostCommon":["jurisdiction"]},"entertainment_tax":{"title":"entertainment_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=entertainment_tax#registration-types)."}},"description":"Options for the entertainment tax registration.","x-stripeMostCommon":["jurisdiction"]},"gross_receipts_tax":{"title":"gross_receipts_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=gross_receipts_tax#registration-types)."}},"description":"Options for the gross receipts tax registration.","x-stripeMostCommon":["jurisdiction"]},"hospitality_tax":{"title":"hospitality_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=hospitality_tax#registration-types)."}},"description":"Options for the hospitality tax registration.","x-stripeMostCommon":["jurisdiction"]},"local_amusement_tax":{"title":"local_amusement_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=amusement_tax#registration-types)."}},"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"]},"luxury_tax":{"title":"luxury_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=luxury_tax#registration-types)."}},"description":"Options for the luxury tax registration.","x-stripeMostCommon":["jurisdiction"]},"mass_transit_parking_tax":{"title":"mass_transit_parking_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=mass_transit_parking_tax#registration-types)."}},"description":"Options for the mass transit parking tax registration.","x-stripeMostCommon":["jurisdiction"]},"parking_tax":{"title":"parking_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=parking_tax#registration-types)."}},"description":"Options for the parking tax registration.","x-stripeMostCommon":["jurisdiction"]},"resort_tax":{"title":"resort_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=resort_tax#registration-types)."}},"description":"Options for the resort 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"]},"tourism_tax":{"title":"tourism_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A jurisdiction code representing the [local jurisdiction](/tax/registering?type=tourism_tax#registration-types)."}},"description":"Options for the tourism tax registration.","x-stripeMostCommon":["jurisdiction"]},"type":{"type":"string","description":"Type of registration to be created in the US.","enum":["admissions_tax","attendance_tax","entertainment_tax","gross_receipts_tax","hospitality_tax","local_amusement_tax","local_lease_tax","luxury_tax","mass_transit_parking_tax","parking_tax","resort_tax","state_communications_tax","state_retail_delivery_fee","state_sales_tax","tourism_tax"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"A Tax Registration in the specified US state to collect admissions tax.","value":"admissions_tax"},{"description":"A Tax Registration in the specified US state to collect attendance tax.","value":"attendance_tax"},{"description":"A Tax Registration in the specified US state to collect entertainment tax.","value":"entertainment_tax"},{"description":"A Tax Registration in the specified US state to collect gross receipts tax.","value":"gross_receipts_tax"},{"description":"A Tax Registration in the specified US state to collect hospitality tax.","value":"hospitality_tax"},{"description":"A Tax Registration in the specified US state to collect local amusement tax.","value":"local_amusement_tax"},{"description":"A Tax Registration in the specified US state to collect local lease tax.","value":"local_lease_tax"},{"description":"A Tax Registration in the specified US state to collect luxury tax.","value":"luxury_tax"},{"description":"A Tax Registration in the specified US state to collect mass transit parking tax.","value":"mass_transit_parking_tax"},{"description":"A Tax Registration in the specified US state to collect parking tax.","value":"parking_tax"},{"description":"A Tax Registration in the specified US state to collect resort tax.","value":"resort_tax"},{"description":"A Tax Registration in the specified US state to collect communications tax.","value":"state_communications_tax"},{"description":"A Tax Registration in the specified US state to collect state retail delivery fee.","value":"state_retail_delivery_fee"},{"description":"A Tax Registration in the specified US state to collect sales tax.","value":"state_sales_tax"},{"description":"A Tax Registration in the specified US state to collect tourism tax.","value":"tourism_tax"}]}}},"description":"Options for the registration in US.","x-stripeMostCommon":["admissions_tax","attendance_tax","entertainment_tax","gross_receipts_tax","home_rule_tax","hospitality_tax","local_amusement_tax","local_lease_tax","luxury_tax","mass_transit_parking_tax","parking_tax","resort_tax","state","state_sales_tax","tourism_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"}}}}},"x-stableId":"create_tax_registration"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_tax_registration"},"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"}}}}},"x-stableId":"update_tax_registration"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/tax.settings"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_tax_settings"},"post":{"summary":"Update settings","description":"

Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set. Check the returned Tax Settings object and validate that its status is active.

","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"}}}}},"x-stableId":"update_tax_settings"}},"/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"}}}}},"x-stableId":"create_tax_transaction"}},"/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"}}}}},"x-stableId":"create_tax_transaction_reversal"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_tax_transaction"}},"/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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_tax_transaction_line_items"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":{"type":"string"},"x-stripeLessCommon":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":"TaxProductResourceTaxCodeList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","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"}}}}},"x-stableId":"list_tax_codes"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_tax_code"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"unified_list_tax_ids"},"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`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `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`, `py_ruc`, `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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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"}}}}},"x-stableId":"unified_create_tax_id"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"unified_retrieve_tax_id"},"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"}}}}},"x-stableId":"unified_delete_tax_id"}},"/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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_tax_rates"},"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","digital_excise_tax","gst","hst","igst","jct","lease_tax","mass_transit_parking_tax","parking_tax","pst","qst","retail_delivery_fee","rst","sales_tax","service_tax","utility_users_tax","vat"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Amusement Tax","value":"amusement_tax"},{"description":"Communications Tax","value":"communications_tax"},{"description":"Digital Excise Tax","value":"digital_excise_tax"},{"description":"Goods and Services Tax","value":"gst"},{"description":"Harmonized Sales Tax","value":"hst"},{"description":"Integrated Goods and Services Tax","value":"igst"},{"description":"Japanese Consumption Tax","value":"jct"},{"description":"Chicago Lease Tax","value":"lease_tax"},{"description":"Mass Transit Parking Tax","value":"mass_transit_parking_tax"},{"description":"Parking Tax","value":"parking_tax"},{"description":"Provincial Sales Tax","value":"pst"},{"description":"Quebec Sales Tax","value":"qst"},{"description":"Retail Delivery Fee","value":"retail_delivery_fee"},{"description":"Retail Sales Tax","value":"rst"},{"description":"Sales Tax","value":"sales_tax"},{"description":"Service Tax","value":"service_tax"},{"description":"Utility Users Tax","value":"utility_users_tax"},{"description":"Value-Added Tax","value":"vat"}]}}},"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"}}}}},"x-stableId":"create_tax_rate"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_tax_rate"},"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","digital_excise_tax","gst","hst","igst","jct","lease_tax","mass_transit_parking_tax","parking_tax","pst","qst","retail_delivery_fee","rst","sales_tax","service_tax","utility_users_tax","vat"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Amusement Tax","value":"amusement_tax"},{"description":"Communications Tax","value":"communications_tax"},{"description":"Digital Excise Tax","value":"digital_excise_tax"},{"description":"Goods and Services Tax","value":"gst"},{"description":"Harmonized Sales Tax","value":"hst"},{"description":"Integrated Goods and Services Tax","value":"igst"},{"description":"Japanese Consumption Tax","value":"jct"},{"description":"Chicago Lease Tax","value":"lease_tax"},{"description":"Mass Transit Parking Tax","value":"mass_transit_parking_tax"},{"description":"Parking Tax","value":"parking_tax"},{"description":"Provincial Sales Tax","value":"pst"},{"description":"Quebec Sales Tax","value":"qst"},{"description":"Retail Delivery Fee","value":"retail_delivery_fee"},{"description":"Retail Sales Tax","value":"rst"},{"description":"Sales Tax","value":"sales_tax"},{"description":"Service Tax","value":"service_tax"},{"description":"Utility Users Tax","value":"utility_users_tax"},{"description":"Value-Added Tax","value":"vat"}]}}},"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"}}}}},"x-stableId":"update_tax_rate"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_terminal_configurations"},"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."}},"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."}},"x-stripeMostCommon":["enabled"]},{"type":"string","enum":[""]}]},"reader_security":{"description":"Configurations for reader security settings.","anyOf":[{"title":"reader_security","type":"object","properties":{"admin_menu_passcode":{"description":"Passcode used to access a reader's admin menu.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["admin_menu_passcode"]},{"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_m425":{"title":"verifone_m425","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 M425 readers.","x-stripeMostCommon":["splashscreen"]},"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"]},"verifone_p630":{"title":"verifone_p630","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 P630 readers.","x-stripeMostCommon":["splashscreen"]},"verifone_ux700":{"title":"verifone_ux700","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 UX700 readers.","x-stripeMostCommon":["splashscreen"]},"verifone_v660p":{"title":"verifone_v660p","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 V660p 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},"reader_security":{"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_m425":{"style":"deepObject","explode":true},"verifone_p400":{"style":"deepObject","explode":true},"verifone_p630":{"style":"deepObject","explode":true},"verifone_ux700":{"style":"deepObject","explode":true},"verifone_v660p":{"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"}}}}},"x-stableId":"create_terminal_configuration"}},"/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"}},"x-stripeLessCommon":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":{"anyOf":[{"$ref":"#/components/schemas/terminal.configuration"},{"$ref":"#/components/schemas/deleted_terminal.configuration"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_terminal_configuration"},"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."}},"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."}},"x-stripeMostCommon":["enabled"]},{"type":"string","enum":[""]}]},"reader_security":{"description":"Configurations for reader security settings.","anyOf":[{"title":"reader_security","type":"object","properties":{"admin_menu_passcode":{"description":"Passcode used to access a reader's admin menu.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["admin_menu_passcode"]},{"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_m425":{"description":"An object containing device type specific settings for Verifone M425 readers.","anyOf":[{"title":"verifone_m425","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":[""]}]},"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":[""]}]},"verifone_p630":{"description":"An object containing device type specific settings for Verifone P630 readers.","anyOf":[{"title":"verifone_p630","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":[""]}]},"verifone_ux700":{"description":"An object containing device type specific settings for Verifone UX700 readers.","anyOf":[{"title":"verifone_ux700","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":[""]}]},"verifone_v660p":{"description":"An object containing device type specific settings for Verifone V660p readers.","anyOf":[{"title":"verifone_v660p","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},"reader_security":{"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_m425":{"style":"deepObject","explode":true},"verifone_p400":{"style":"deepObject","explode":true},"verifone_p630":{"style":"deepObject","explode":true},"verifone_ux700":{"style":"deepObject","explode":true},"verifone_v660p":{"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"}}}}},"x-stableId":"update_terminal_configuration"},"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"}}}}},"x-stableId":"delete_terminal_configuration"}},"/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"}}}}},"x-stableId":"create_terminal_connection_token"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_terminal_locations"},"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","line3","line4","postal_code","state","town"]},"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"}}}}},"x-stableId":"create_terminal_location"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_terminal_location"},"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":"update_location_address_param","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","line3","line4","postal_code","state","town"]},"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"}}}}},"x-stableId":"update_terminal_location"},"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"}}}}},"x-stableId":"delete_terminal_location"}},"/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"}}}}},"x-stableId":"create_terminal_onboarding_link"}},"/v1/terminal/reader_collected_data/{reader_collected_data}":{"get":{"summary":"Retrieve ReaderCollectedData","description":"

Retrieve data collected using Reader hardware.

","operationId":"GetTerminalReaderCollectedDataReaderCollectedData","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"}},"x-stripeLessCommon":true},{"name":"reader_collected_data","in":"path","description":"The ID of the ReaderCollectedData to retrieve.","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/terminal.reader_collected_data"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_reader_collected_data"}},"/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_verifone_m425","simulated_verifone_p630","simulated_verifone_ux700","simulated_verifone_v660p","simulated_wisepos_e","stripe_m2","stripe_s700","stripe_s710","verifone_P400","verifone_m425","verifone_p630","verifone_ux700","verifone_v660p"],"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_terminal_readers"},"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"}}}}},"x-stableId":"create_terminal_reader"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_terminal_reader"},"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"}}}}},"x-stableId":"update_terminal_reader"},"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"}}}}},"x-stableId":"delete_terminal_reader"}},"/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":{"anyOf":[{"$ref":"#/components/schemas/terminal.reader"},{"$ref":"#/components/schemas/deleted_terminal.reader"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"cancel_terminal_reader_action"}},"/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"}}}}},"x-stableId":"collect_terminal_reader_inputs"}},"/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","gift_card_brand","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"}}}}},"x-stableId":"collect_terminal_payment_method"}},"/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"}}}}},"x-stableId":"confirm_terminal_payment_intent"}},"/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","gift_card_brand","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"}}}}},"x-stableId":"process_terminal_payment_intent"}},"/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"}}}}},"x-stableId":"process_terminal_setup_intent"}},"/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"}}}}},"x-stableId":"refund_terminal_payment"}},"/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"}}}}},"x-stableId":"set_terminal_reader_display"}},"/v1/test/payment_intents/{intent}/trigger_action":{"post":{"summary":"Trigger an external action on a PaymentIntent.","description":"

Trigger an external action on a PaymentIntent.

","operationId":"PostTestPaymentIntentsIntentTriggerAction","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":["type"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"scan_qr_code":{"title":"scan_qr_code_params","type":"object","properties":{"result":{"type":"string","description":"Whether the QR Code scan's payment should succeed or fail.","enum":["failure","success"]}},"description":"True to simulate success, false to simulate failure.","x-stripeMostCommon":["result"]},"type":{"type":"string","description":"The type of action to be simulated.","enum":["expire","fund"],"x-stripeBypassValidation":true}},"additionalProperties":false,"x-stripeMostCommon":["scan_qr_code","type"]},"encoding":{"expand":{"style":"deepObject","explode":true},"scan_qr_code":{"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/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 an Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is an 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"]},"bizum":{"title":"param","type":"object","properties":{},"description":"If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method."},"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","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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."},"gopay":{"title":"param","type":"object","properties":{},"description":"If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"id_bank_transfer":{"title":"param","type":"object","properties":{"bank":{"type":"string","description":"Bank where the account is held.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true}},"description":"If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.","x-stripeMostCommon":["bank"]},"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 (Link is also known as Onelink in the UK)."},"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."},"paypay":{"title":"param","type":"object","properties":{},"description":"If this is a `paypay` PaymentMethod, this hash contains details about the PayPay 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."},"qris":{"title":"param","type":"object","properties":{},"description":"If this is a `qris` PaymentMethod, this hash contains details about the QRIS 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"]},"rechnung":{"title":"param","required":["dob"],"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 `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.","x-stripeMostCommon":["dob"]},"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."},"scalapay":{"title":"param","type":"object","properties":{},"description":"If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay 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"]},"sequra":{"title":"param","type":"object","properties":{},"description":"If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method."},"shared_payment_granted_token":{"type":"string","description":"ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent."},"shopeepay":{"title":"param","type":"object","properties":{},"description":"If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method."},"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"]},"stripe_balance":{"title":"param","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment"}},"description":"This hash contains details about the Stripe balance payment method.","x-stripeMostCommon":["account","financial_account"]},"sunbit":{"title":"param","type":"object","properties":{},"description":"If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method."},"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","bizum","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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"}}}}},"x-stableId":"create_test_confirmation_token"}},"/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"}}}}},"x-stableId":"fund_test_mode_cash_balance_transaction"}},"/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 multiplied 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","payment_facilitator_id","postal_code","state","sub_merchant_id","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"}}}}},"x-stableId":"create_test_mode_issuing_authorization"}},"/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 multiplied 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","healthcare","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"}}}}},"x-stableId":"capture_test_mode_issuing_authorization"}},"/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"}}}}},"x-stableId":"expire_test_mode_issuing_authorization"}},"/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 multiplied 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"}}}}},"x-stableId":"finalize_amount_on_test_mode_issuing_authorization"}},"/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"}}}}},"x-stableId":"respond_to_fraud_challenge_test_mode_issuing_authorization"}},"/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"}}}}},"x-stableId":"increment_test_mode_issuing_authorization"}},"/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"}}}}},"x-stableId":"reverse_test_mode_issuing_authorization"}},"/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"}}}}},"x-stableId":"testmode_deliver_issuing_card"}},"/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"}}}}},"x-stableId":"testmode_fail_issuing_card"}},"/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"}}}}},"x-stableId":"testmode_return_issuing_card"}},"/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"}}}}},"x-stableId":"testmode_ship_issuing_card"}},"/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"}}}}},"x-stableId":"testmode_submit_issuing_card"}},"/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"}}}}},"x-stableId":"testmode_activate_issuing_personalization_design"}},"/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"}}}}},"x-stableId":"testmode_deactivate_issuing_personalization_design"}},"/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"}}}}},"x-stableId":"reject_testmode_personalization_design"}},"/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","payment_facilitator_id","postal_code","state","sub_merchant_id","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 multiplied 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","healthcare","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"}}}}},"x-stableId":"create_test_mode_force_capture"}},"/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","payment_facilitator_id","postal_code","state","sub_merchant_id","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 multiplied 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","healthcare","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"}}}}},"x-stableId":"create_test_mode_unlinked_refund"}},"/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"}}}}},"x-stableId":"refund_test_mode_issuing_transaction"}},"/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"},"x-stripeLessCommon":true}],"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/shared_payment/granted_tokens":{"post":{"summary":"Create a test SharedPaymentGrantedToken","description":"

Creates a new test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to create SharedPaymentGrantedTokens for testing their integration

","operationId":"PostTestHelpersSharedPaymentGrantedTokens","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["payment_method","usage_limits"],"type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The Customer that the SharedPaymentGrantedToken belongs to. Should match the Customer that the PaymentMethod is attached to if any."},"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":"The PaymentMethod that is going to be shared by the SharedPaymentGrantedToken."},"shared_metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to the SharedPaymentGrantedToken.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"usage_limits":{"title":"usage_limits_param","required":["currency","max_amount"],"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"},"expires_at":{"type":"integer","description":"Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.","format":"unix-time"},"max_amount":{"type":"integer","description":"Max amount that can be captured using this SharedPaymentToken"}},"description":"Limits on how this SharedPaymentGrantedToken can be used.","x-stripeMostCommon":["currency","expires_at","max_amount","recurring","recurring_interval"]}},"additionalProperties":false,"x-stripeMostCommon":["customer","payment_method","shared_metadata","usage_limits"]},"encoding":{"expand":{"style":"deepObject","explode":true},"shared_metadata":{"style":"deepObject","explode":true},"usage_limits":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/shared_payment.granted_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"shared_payment_granted_token_test_create_method"}},"/v1/test_helpers/shared_payment/granted_tokens/{shared_payment_granted_token}/revoke":{"post":{"summary":"Revoke a test SharedPaymentGrantedToken","description":"

Revokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration

","operationId":"PostTestHelpersSharedPaymentGrantedTokensSharedPaymentGrantedTokenRevoke","parameters":[{"name":"shared_payment_granted_token","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/shared_payment.granted_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"shared_payment_granted_token_test_revoke_method"}},"/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"],"x-stripeBypassValidation":true}},"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"}}}}},"x-stableId":"present_terminal_payment_method"}},"/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"}}}}},"x-stableId":"succeed_terminal_input_collection"}},"/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"}}}}},"x-stableId":"timeout_terminal_input_collection"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_test_clocks"},"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":{"customer":{"maxLength":5000,"type":"string","description":"Existing customer this test clock will be attached to. Once attached, customers can't be removed from a test clock."},"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"}}}}},"x-stableId":"create_test_clock"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_test_clock"},"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"}}}}},"x-stableId":"delete_test_clock"}},"/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"}}}}},"x-stableId":"advance_test_clock"}},"/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"}}}}},"x-stableId":"testmode_fail_treasury_inbound_transfer"}},"/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"}}}}},"x-stableId":"testmode_return_treasury_inbound_transfer"}},"/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"}}}}},"x-stableId":"testmode_succeed_treasury_inbound_transfer"}},"/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"}}}}},"x-stableId":"testmode_update_treasury_outbound_payment"}},"/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"}}}}},"x-stableId":"testmode_fail_treasury_outbound_payment"}},"/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"}}}}},"x-stableId":"testmode_post_treasury_outbound_payment"}},"/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"}}}}},"x-stableId":"testmode_return_treasury_outbound_payment"}},"/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"}}}}},"x-stableId":"testmode_update_treasury_outbound_transfer"}},"/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"}}}}},"x-stableId":"testmode_fail_treasury_outbound_transfer"}},"/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"}}}}},"x-stableId":"testmode_post_treasury_outbound_transfer"}},"/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"}}}}},"x-stableId":"testmode_return_treasury_outbound_transfer"}},"/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","rtp","us_domestic_wire"]},"network_details":{"title":"network_details_source","required":["type"],"type":"object","properties":{"ach":{"title":"ach_network_details_source","type":"object","properties":{"addenda":{"maxLength":5000,"type":"string","description":"ACH Addenda record"}},"description":"Optional fields for `ach`.","x-stripeMostCommon":["addenda"]},"type":{"type":"string","description":"The type of flow that originated the ReceivedCredit.","enum":["ach"]}},"description":"Details about the network used for the ReceivedCredit.","x-stripeMostCommon":["ach","type"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","financial_account","initiating_payment_method_details","network","network_details"]},"encoding":{"expand":{"style":"deepObject","explode":true},"initiating_payment_method_details":{"style":"deepObject","explode":true},"network_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"}}}}},"x-stableId":"testmode_create_treasury_received_credit"}},"/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"]},"network_details":{"title":"network_details_source","required":["type"],"type":"object","properties":{"ach":{"title":"ach_network_details_source","type":"object","properties":{"addenda":{"maxLength":5000,"type":"string","description":"Addenda record data associated with this ReceivedDebit."}},"description":"Optional fields for `ach`.","x-stripeMostCommon":["addenda"]},"type":{"type":"string","description":"The type of flow that originated the ReceivedDebit.","enum":["ach"]}},"description":"Details about the network used for the ReceivedDebit.","x-stripeMostCommon":["ach","type"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","financial_account","initiating_payment_method_details","network","network_details"]},"encoding":{"expand":{"style":"deepObject","explode":true},"initiating_payment_method_details":{"style":"deepObject","explode":true},"network_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"}}}}},"x-stableId":"testmode_create_treasury_received_debit"}},"/v1/three_d_secure/authentications":{"get":{"summary":"List all 3D Secure Authentications","description":"

Returns a list of 3D Secure Authentications.

","operationId":"GetThreeDSecureAuthentications","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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"name":"status","in":"query","description":"Only return 3D Secure Authentications for specified status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["canceled","error","failed","requires_challenge","requires_submission","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":"ThreeDSecureStandaloneResourceThreeDSecureAuthenticationList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/three_d_secure.authentication"}},"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/three_d_secure/authentications","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"}}}}},"x-stableId":"three_d_secure_authentication_all"},"post":{"summary":"Create a 3DS Authentication","description":"

This endpoint creates a 3DS Authentication. Refer to the Create a 3DS Authentication object section of the Standalone 3DS guide for more information.

\n\n

You can pass the submit parameter to automatically submit the 3DS Authentication object when you create it. Refer to the Submit at creation section of the Standalone 3DS guide for more information.

","operationId":"PostThreeDSecureAuthentications","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["channel","message_category"],"type":"object","properties":{"acquirer_details":{"title":"acquirer_details","required":["acquirer_bin","acquirer_country","acquirer_merchant_id"],"type":"object","properties":{"acquirer_bin":{"maxLength":11,"type":"string","description":"The Acquirer BIN (specific to the directory_server)."},"acquirer_country":{"maxLength":5000,"type":"string","description":"The two-letter country code of the acquirer ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"acquirer_merchant_id":{"maxLength":35,"type":"string","description":"The Merchant ID (or Card Acceptor ID) that your acquirer assigned you (specific to the directory_server)."},"mcc":{"maxLength":5000,"type":"string","description":"The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) as defined by each payment system or directory server."},"merchant_name":{"maxLength":40,"type":"string","description":"The merchant name assigned by the acquirer or payment system. Same name used in the authorization message as defined in [ISO 8583](https://en.wikipedia.org/wiki/ISO_8583)."},"requestor_id":{"maxLength":35,"type":"string","description":"Requestor ID if you’re enrolled in the card network’s 3DS program. Otherwise, you can omit this field because Stripe assigns a Requestor ID with the card networks."}},"description":"Contains additional details about the acquirer for this 3DS Authentication.\n\nRefer to the [Pass acquirer details and directory server section of the standalone 3DS guide](/payments/3d-secure/standalone-3d-secure#pass-acquirer-details-and-directory-server) for more information.","x-stripeMostCommon":["acquirer_bin","acquirer_country","acquirer_merchant_id","mcc","merchant_name","requestor_id"]},"amount":{"type":"integer","description":"A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). You can't include this parameter if `message_category` is `non_payment_authentication`"},"channel":{"title":"channel","required":["type"],"type":"object","properties":{"browser":{"title":"browser","required":["accept_header","ip_address","javascript_enabled","language","user_agent"],"type":"object","properties":{"accept_header":{"maxLength":2048,"type":"string","description":"The HTTP accept headers from the cardholder's browser. Collected server-side."},"color_depth":{"type":"integer","description":"The color depth of the cardholder’s screen.\n\nReturned from the `screen.colorDepth` property."},"device_id":{"maxLength":64,"type":"string","description":"Unique and immutable identifier linked to a device that is consistent across 3DS transactions for the specific user device. For example: hardware device ID or a platform-calculated device fingerprint."},"ip_address":{"maxLength":45,"type":"string","description":"The IP address of the browser. Included in the HTTP request to your server before you create the 3DS Authentication.\n\nCollected server-side."},"java_enabled":{"type":"boolean","description":"The cardholder browser’s ability to execute Java. Returned from the navigator.javaEnabled property."},"javascript_enabled":{"type":"boolean","description":"The cardholder browser’s ability to execute JavaScript."},"language":{"maxLength":35,"type":"string","description":"An IETF BCP 47 language tag representing the browser language. Typically returned from the `navigator.language` property, but might also be returned from `navigator.languages` or `navigator.browserLanguage`.\n\n In some cases, this value might be an array. To cast it to a string or null value, you can use the `getBrowserLanguage()` [example function](/payments/3d-secure/standalone-3d-secure#pass-client-side-collected-channel-information)."},"screen_height":{"type":"integer","description":"The total height of the cardholder’s screen in pixels.\n\nReturned from the `screen.height` property."},"screen_width":{"type":"integer","description":"The total width of the cardholder’s screen in pixels.\n\nReturned from the `screen.width` property."},"timezone_offset":{"type":"integer","description":"The time difference between UTC time and the local time of the cardholder’s browser, in minutes.\n\nReturned by `new Date().getTimezoneOffset()`"},"user_agent":{"maxLength":2048,"type":"string","description":"The browser user agent. You can retrieve this value on the client side using the `navigator.userAgent` property, or in the HTTP request to your server before you create the 3DS Authentication."}},"description":"Contains additional details about the browser details you collected.","x-stripeMostCommon":["accept_header","color_depth","device_id","ip_address","java_enabled","javascript_enabled","language","screen_height","screen_width","timezone_offset","user_agent"]},"three_r_i":{"title":"three_ri","required":["previous_authentication","type"],"type":"object","properties":{"previous_authentication":{"maxLength":5000,"type":"string","description":"ID of a prior `Authentication`. For example, the first recurring transaction that was authenticated by the cardholder."},"type":{"type":"string","description":"It provides additional information to the ACS to determine the best approach for handling a 3RI request.","enum":["delayed_shipment","other_payment","recurring","split_shipment"]}},"description":"Contains additional details about the 3DS Requestor Initiated (3RI) channel.","x-stripeMostCommon":["previous_authentication","type"]},"type":{"type":"string","description":"Type of channel you would prefer to use for this 3DS Authentication.","enum":["browser","three_r_i"]}},"description":"Contains additional details on the channel used for this 3DS Authentication.","x-stripeMostCommon":["browser","three_r_i","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"},"directory_server":{"type":"string","description":"The 3DS directory server with which this 3DS Authentication was processed.","enum":["american_express","cartes_bancaires","discover","mastercard","visa"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"flow_preference":{"title":"flow_preference","required":["type"],"type":"object","properties":{"challenge":{"title":"challenge","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of challenge flow you requested for this 3DS Authentication.","enum":["mandated","preferred"]}},"description":"Contains additional details about your challenge flow preference for this 3DS Authentication.","x-stripeMostCommon":["type"]},"data_share":{"title":"data_share","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of data share only flow you requested for this 3DS Authentication.","enum":["ds_specific","emv_standard"]}},"description":"Contains additional details about your data share only flow preference for this 3DS Authentication.","x-stripeMostCommon":["type"]},"frictionless":{"title":"frictionless","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of frictionless flow you requested for this 3DS Authentication.","enum":["low_risk","none"]}},"description":"Contains additional details about your frictionless flow preference for this 3DS Authentication.","x-stripeMostCommon":["type"]},"type":{"type":"string","description":"Type of flow you requested for this 3DS Authentication.","enum":["challenge","data_share","frictionless"]}},"description":"Contains additional details on your flow preference for this 3DS Authentication.\n\nRefer to the [Specify a flow preference section of the standalone 3DS guide](/payments/3d-secure/standalone-3d-secure#specify-a-flow-preference) for more information.","x-stripeMostCommon":["challenge","data_share","frictionless","type"]},"future_usage":{"title":"future_usage","required":["type"],"type":"object","properties":{"installment":{"title":"installment","required":["amount","expiry","number"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing the future authorizations' amount in the [smallest currency unit](/currencies#zero-decimal)."},"expiry":{"title":"expiry","required":["type"],"type":"object","properties":{"date":{"maxLength":5000,"type":"string","description":"The date before which the last authorization related to this authentication will occur."},"type":{"type":"string","description":"The type of expiry for the future use of this authentication.","enum":["date","never"]}},"description":"Information about the expiry of the future usage of this authentication.","x-stripeMostCommon":["date","type"]},"interval":{"type":"string","description":"The unit of time for `interval_count`.","enum":["day"]},"interval_count":{"type":"integer","description":"The minimum number of time intervals between authorizations. Must be greater than 0, and defaults to 1."},"number":{"type":"integer","description":"The maximum number of installments. Must be greater than 1."}},"description":"Parameters related to an installment payment.","x-stripeMostCommon":["amount","expiry","interval","interval_count","number"]},"recurring":{"title":"recurring","required":["amount","expiry"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing the future authorizations' amount in the [smallest currency unit](/currencies#zero-decimal)."},"expiry":{"title":"expiry","required":["type"],"type":"object","properties":{"date":{"maxLength":5000,"type":"string","description":"The date before which the last authorization related to this authentication will occur."},"type":{"type":"string","description":"The type of expiry for the future use of this authentication.","enum":["date","never"]}},"description":"Information about the expiry of the future usage of this authentication.","x-stripeMostCommon":["date","type"]},"interval":{"type":"string","description":"The unit of time for `interval_count`.","enum":["day"]},"interval_count":{"type":"integer","description":"The minimum number of time intervals between authorizations. Must be greater than 0, and defaults to 1."}},"description":"Parameters related to a recurring payment.","x-stripeMostCommon":["amount","expiry","interval","interval_count"]},"type":{"type":"string","description":"The type of future usage declared for this 3DS Authentication","enum":["card_on_file","installment","recurring"]}},"description":"Contains information about future usage of this 3DS Authentication","x-stripeMostCommon":["installment","recurring","type"]},"message_category":{"type":"string","description":"Indicates whether this 3DS Authentication is being performed for a payment or non-payment use case.","enum":["non_payment_authentication","payment_authentication"]},"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":255,"type":"string","description":"ID of the payment method (a PaymentMethod object) to attach to this 3DS Authentication."},"payment_method_data":{"title":"payment_method_data","required":["card","type"],"type":"object","properties":{"billing_details":{"title":"billing_details","type":"object","properties":{"address":{"title":"address","type":"object","properties":{"city":{"maxLength":50,"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":50,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":50,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":16,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":3,"type":"string","description":"Country subdivision code defined in 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 PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone"]},"card":{"anyOf":[{"title":"card","required":["exp_month","exp_year","number"],"type":"object","properties":{"cvc":{"maxLength":5000,"type":"string"},"exp_month":{"type":"integer"},"exp_year":{"type":"integer"},"number":{"maxLength":5000,"type":"string"}},"x-stripeMostCommon":["cvc","exp_month","exp_year","number"],"x-stripeParam":{"class_name":"CardDetails"}},{"title":"card_token","required":["token"],"type":"object","properties":{"token":{"maxLength":5000,"type":"string"}},"x-stripeMostCommon":["token"],"x-stripeParam":{"class_name":"Token"}}]},"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":["card"]}},"description":"Hash used to generate the PaymentMethod to be used for this Authentication. This is mutually exclusive with the `payment_method` parameter.","x-stripeMostCommon":["billing_details","card","encrypted","type"]},"reason":{"type":"string","description":"The reason for invoking standalone 3DS. This is tailored specifically for cases when you want Stripe to help determine the standalone 3DS flow to fit your use case instead of needing to select a specific 3DS flow.\n\nThis parameter is exclusive with `flow_preference`. You can either use `reason` for controlling 3DS according to your business requirements, or use `flow_preference` for having fine-grained control over your 3DS flow preference.","enum":["cardholder_authentication","issuer_requested","liability_shift","processing_costs","regulatory_compliance"],"x-stripeEnum":{"kind":"open","values":[{"description":"The authentication is performed to attempt to require the cardholder to actively complete a challenge.","value":"cardholder_authentication"},{"description":"The authentication is performed when the issuer soft declines the transaction. This option should be used when you have tried authorization without 3DS authentication and the bank responded in a soft decline. Stripe will then trigger 3DS, post which you can retry authorization with the issuer.","value":"issuer_requested"},{"description":"The authentication is performed to try to shift liability away from the merchant and onto the issuer to reduce the cost implications from disputes.\n\n**Note**: If you don't select `liability_shift` as your reason, the 3DS flow won't prioritize liability shift as a desired outcome. And even when `liability_shift` is selected, liability shift is not guaranteed, since that decision is made by the network and not Stripe([source](/payments/3d-secure/authentication-flow#disputed-payments)).","value":"liability_shift"},{"description":"The authentication is performed to optimize payments processing cost.","value":"processing_costs"},{"description":"The authentication is performed solely to enable compliance with local regulations such as SCA (Strong Customer Authentication). Use this option when your sole requirement is compliance with local regulations, such as SCA or other 3DS-related mandates. The authentication will be performed only as necessary for compliance purposes.\n\n**Note:** This `reason` parameter value will always apply even when you do not choose this value explicitly.","value":"regulatory_compliance"}]}},"shipping_address":{"title":"address","type":"object","properties":{"city":{"maxLength":50,"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":50,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":50,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":16,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":3,"type":"string","description":"Country subdivision code defined in ISO 3166-2."}},"description":"The shipping address requested by the cardholder. You should try to include as complete address information as possible.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"submit":{"type":"string","description":"Set to `always` to skip the fingerprinting step and submit this Authentication immediately or `if_fingerprinting_not_supported` to submit this Authentication only if fingerprinting is not available. This parameter defaults to `never`.\n\nRefer to the [Submit at creation section of the standalone 3DS guide](/payments/3d-secure/standalone-3d-secure#submit-at-creation) for more information.","enum":["always","if_fingerprinting_not_supported","never"]}},"additionalProperties":false,"x-stripeMostCommon":["acquirer_details","amount","channel","currency","directory_server","flow_preference","future_usage","message_category","metadata","payment_method","payment_method_data","reason","shipping_address","submit"]},"encoding":{"acquirer_details":{"style":"deepObject","explode":true},"channel":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"flow_preference":{"style":"deepObject","explode":true},"future_usage":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_method_data":{"style":"deepObject","explode":true},"shipping_address":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/three_d_secure.authentication"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"three_d_secure_authentication_create"}},"/v1/three_d_secure/authentications/{authentication}":{"get":{"summary":"Retrieve a 3DS Authentication","description":"

This endpoint retrieves a 3DS Authentication.

","operationId":"GetThreeDSecureAuthenticationsAuthentication","parameters":[{"name":"authentication","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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/three_d_secure.authentication"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"three_d_secure_authentication_retrieve"}},"/v1/three_d_secure/authentications/{authentication}/cancel":{"post":{"summary":"Cancel a 3DS Authentication","description":"

This endpoint cancels a 3DS Authentication. You can cancel a 3DS Authentication object when it’s in a non-final status:\nrequires_submission or requires_challenge.

","operationId":"PostThreeDSecureAuthenticationsAuthenticationCancel","parameters":[{"name":"authentication","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/three_d_secure.authentication"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"three_d_secure_authentication_cancel"}},"/v1/three_d_secure/authentications/{authentication}/submit":{"post":{"summary":"Submit a 3DS Authentication","description":"

This endpoint submits a 3DS Authentication. You can submit a 3DS Authentication object when it has status requires_submission. Refer to the Submit the 3DS Authentication object section of the Standalone 3DS guide for more information.

","operationId":"PostThreeDSecureAuthenticationsAuthenticationSubmit","parameters":[{"name":"authentication","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"}},"fingerprinting_result":{"maxLength":5000,"type":"string","description":"The fingerprinting result of the issuer fingerprinting step.\n\nRefer to the [Issuer fingerprinting section of the Standalone 3DS guide](/payments/3d-secure/standalone-3d-secure#issuer-fingerprinting) for more information."},"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":["fingerprinting_result","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/three_d_secure.authentication"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"three_d_secure_authentication_submit"}},"/v1/tokens":{"post":{"summary":"Create a bank account 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"]},"administrative_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 location where the business is administered.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"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":200,"type":"string","description":"The company's legal name."},"name_kana":{"maxLength":200,"type":"string","description":"The Kana variation of the company's legal name (Japan only)."},"name_kanji":{"maxLength":200,"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)."},"principal_place_of_business":{"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 primary location where the business conducts operations.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"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.)\n\nChanging this value requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of a document returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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","administrative_address","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","physical_address","principal_place_of_business","registered_email","registration_date","registration_number","representative_declaration","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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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_address","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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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).\n\nChanging this value for the account's representative requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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).\n\nChanging this value for the account's representative requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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).\n\nChanging this value for the account's representative requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance)."},"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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size."}},"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"}}}}},"x-stableId":"create_bank_account_token,create_card_token,create_pii_token,create_account_token,create_person_token,create_cvc_update_token"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_token"}},"/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"}]},"x-stripeLessCommon":true},{"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"}]},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_connect_topups"},"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":[""]}]},"payment_method":{"maxLength":5000,"type":"string","description":"The ID of a PaymentMethod representing the payment method to be used for the top-up. A PaymentMethod of type `us_bank_account` can be used."},"payment_method_options":{"title":"payment_method_options_param","type":"object","properties":{"us_bank_account":{"title":"us_bank_account_param","required":["network"],"type":"object","properties":{"network":{"type":"string","enum":["ach"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["network"]}},"description":"Payment method-specific configuration for this top-up.","x-stripeMostCommon":["us_bank_account"]},"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. While testing, 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},"payment_method_options":{"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"}}}}},"x-stableId":"create_connect_topup"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_connect_topup"},"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"}}}}},"x-stableId":"update_connect_topup"}},"/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"}}}}},"x-stableId":"cancel_connect_topup"}},"/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"}]},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_transfers"},"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"}},"fx_quote":{"maxLength":5000,"type":"string","description":"The FX rate in the quote is validated and used to convert the transfer amount to the destination currency."},"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"}}}}},"x-stableId":"create_connect_transfer"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_connect_transfer_reversals"},"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"}}}}},"x-stableId":"create_connect_transfer_reversal"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_connect_transfer"},"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"}}}}},"x-stableId":"update_connect_transfer"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_connect_transfer_reversal"},"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"}}}}},"x-stableId":"update_connect_transfer_reversal"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_treasury_credit_reversals"},"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"}}}}},"x-stableId":"create_treasury_credit_reversal"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/treasury.credit_reversal"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_treasury_credit_reversal"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_treasury_debit_reversals"},"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"}}}}},"x-stableId":"create_treasury_debit_reversal"}},"/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"}},"x-stripeLessCommon":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":{"$ref":"#/components/schemas/treasury.debit_reversal"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"x-stableId":"retrieve_treasury_debit_reversal"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"name":"limit","in":"query","description":"A limit ranging from 1 to 100 (defaults to 10).","required":false,"style":"form","explode":true,"schema":{"type":"integer"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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},"x-stripeLessCommon":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"}}}}},"x-stableId":"list_treasury_financial_accounts"},"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":{"display_name":{"description":"The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.","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"}},"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":{"bank":{"type":"string","description":"Requested bank partner","enum":["evolve","fifth_third","goldman_sachs"]},"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":["display_name","features","metadata","nickname","platform_restrictions","supported_currencies"]},"encoding":{"display_name":{"style":"deepObject","explode":true},"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"}}}}},"x-stableId":"create_treasury_financial_account"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_treasury_financial_account"},"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":{"display_name":{"description":"The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.","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"}},"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":{"bank":{"type":"string","description":"Requested bank partner","enum":["evolve","fifth_third","goldman_sachs"]},"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":["display_name","features","forwarding_settings","metadata","nickname","platform_restrictions"]},"encoding":{"display_name":{"style":"deepObject","explode":true},"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"}}}}},"x-stableId":"update_treasury_financial_account"}},"/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"}}}}},"x-stableId":"close_treasury_financial_account"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_treasury_financial_account_features"},"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":{"bank":{"type":"string","description":"Requested bank partner","enum":["evolve","fifth_third","goldman_sachs"]},"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"}}}}},"x-stableId":"update_treasury_financial_account_features"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_treasury_inbound_transfers"},"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"}}}}},"x-stableId":"create_treasury_inbound_transfer"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_treasury_inbound_transfer"}},"/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"}}}}},"x-stableId":"cancel_treasury_inbound_transfer"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_treasury_outbound_payments"},"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`."},"purpose":{"type":"string","description":"The purpose of the OutboundPayment, if applicable. This list is not exhaustive, do not specify this parameter if your purpose does not match any that are provided.","enum":["payroll"]},"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","purpose","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"}}}}},"x-stableId":"create_treasury_outbound_payment"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_treasury_outbound_payment"}},"/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"}}}}},"x-stableId":"cancel_treasury_outbound_payment"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_treasury_outbound_transfers"},"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`."},"network_details":{"title":"network_details_source","required":["type"],"type":"object","properties":{"ach":{"title":"ach_network_details_source","type":"object","properties":{"addenda":{"maxLength":5000,"type":"string","description":"Addenda record data associated with this OutboundTransfer."}},"description":"Optional fields for `ach`.","x-stripeMostCommon":["addenda"]},"type":{"type":"string","description":"The type of flow that originated the OutboundTransfer.","enum":["ach"]}},"description":"Details about the network used for the OutboundTransfer.","x-stripeMostCommon":["ach","type"]},"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","network_details","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},"network_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"}}}}},"x-stableId":"create_treasury_outbound_transfer"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_treasury_outbound_transfer"}},"/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"}}}}},"x-stableId":"cancel_treasury_outbound_transfer"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_treasury_received_credits"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_treasury_received_credit"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_treasury_received_debits"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_treasury_received_debit"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_treasury_transaction_entries"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_treasury_transaction_entry"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"list_treasury_transactions"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_treasury_transaction"}},"/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"},"x-stripeLessCommon":true},{"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"}},"x-stripeLessCommon":true},{"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"},"x-stripeLessCommon":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"},"x-stripeLessCommon":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":"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"}}}}},"x-stableId":"list_webhook_endpoints"},"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","2026-04-22.dahlia","2026-05-27.dahlia","2026-06-24.dahlia","2026-07-29.dahlia","2026-08-26.dahlia","2026-09-30.endive"],"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","account_notice.created","account_notice.updated","application_fee.created","application_fee.refund.updated","application_fee.refunded","apps.install.created","apps.install.deleted","apps.install.updated","balance.available","balance_settings.updated","billing.alert.triggered","billing.credit_balance_transaction.created","billing.credit_grant.created","billing.credit_grant.updated","billing.meter.created","billing.meter.deactivated","billing.meter.reactivated","billing.meter.updated","billing_portal.configuration.created","billing_portal.configuration.updated","billing_portal.session.created","capability.updated","capital.financing_offer.accepted","capital.financing_offer.accepted_other_offer","capital.financing_offer.canceled","capital.financing_offer.created","capital.financing_offer.expired","capital.financing_offer.fully_repaid","capital.financing_offer.paid_out","capital.financing_offer.rejected","capital.financing_offer.replacement_created","capital.financing_summary.line_of_credit_update","capital.financing_transaction.created","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.collection_paused","customer.subscription.collection_resumed","customer.subscription.created","customer.subscription.custom_event","customer.subscription.deleted","customer.subscription.paused","customer.subscription.pending_update_applied","customer.subscription.pending_update_expired","customer.subscription.price_migration_failed","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.expected_deactivation_date_updated","financial_connections.account.reactivated","financial_connections.account.refreshed_balance","financial_connections.account.refreshed_inferred_balances","financial_connections.account.refreshed_ownership","financial_connections.account.refreshed_transactions","financial_connections.account.supported_payment_method_types_updated","financial_connections.account.upcoming_account_number_expiry","financial_connections.account.upcoming_deactivation","financial_connections.authorization.expected_deactivation_date_updated","financial_connections.authorization.upcoming_deactivation","financial_connections.session.updated","fx_quote.expired","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.overpaid","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_dispute_settlement_detail.created","issuing_dispute_settlement_detail.updated","issuing_fraud_liability_debit.created","issuing_personalization_design.activated","issuing_personalization_design.deactivated","issuing_personalization_design.rejected","issuing_personalization_design.updated","issuing_settlement.created","issuing_settlement.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","privacy.redaction_job.canceled","privacy.redaction_job.created","privacy.redaction_job.ready","privacy.redaction_job.succeeded","privacy.redaction_job.validation_error","product.created","product.deleted","product.updated","promotion_code.created","promotion_code.updated","quote.accept_failed","quote.accepted","quote.accepting","quote.canceled","quote.created","quote.draft","quote.finalized","quote.reestimate_failed","quote.reestimated","quote.stale","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.price_migration_failed","subscription_schedule.released","subscription_schedule.updated","tax.form.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"}}}}},"x-stableId":"create_webhook_endpoint"}},"/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"}},"x-stripeLessCommon":true},{"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"}}}}},"x-stableId":"retrieve_webhook_endpoint"},"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","account_notice.created","account_notice.updated","application_fee.created","application_fee.refund.updated","application_fee.refunded","apps.install.created","apps.install.deleted","apps.install.updated","balance.available","balance_settings.updated","billing.alert.triggered","billing.credit_balance_transaction.created","billing.credit_grant.created","billing.credit_grant.updated","billing.meter.created","billing.meter.deactivated","billing.meter.reactivated","billing.meter.updated","billing_portal.configuration.created","billing_portal.configuration.updated","billing_portal.session.created","capability.updated","capital.financing_offer.accepted","capital.financing_offer.accepted_other_offer","capital.financing_offer.canceled","capital.financing_offer.created","capital.financing_offer.expired","capital.financing_offer.fully_repaid","capital.financing_offer.paid_out","capital.financing_offer.rejected","capital.financing_offer.replacement_created","capital.financing_summary.line_of_credit_update","capital.financing_transaction.created","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.collection_paused","customer.subscription.collection_resumed","customer.subscription.created","customer.subscription.custom_event","customer.subscription.deleted","customer.subscription.paused","customer.subscription.pending_update_applied","customer.subscription.pending_update_expired","customer.subscription.price_migration_failed","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.expected_deactivation_date_updated","financial_connections.account.reactivated","financial_connections.account.refreshed_balance","financial_connections.account.refreshed_inferred_balances","financial_connections.account.refreshed_ownership","financial_connections.account.refreshed_transactions","financial_connections.account.supported_payment_method_types_updated","financial_connections.account.upcoming_account_number_expiry","financial_connections.account.upcoming_deactivation","financial_connections.authorization.expected_deactivation_date_updated","financial_connections.authorization.upcoming_deactivation","financial_connections.session.updated","fx_quote.expired","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.overpaid","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_dispute_settlement_detail.created","issuing_dispute_settlement_detail.updated","issuing_fraud_liability_debit.created","issuing_personalization_design.activated","issuing_personalization_design.deactivated","issuing_personalization_design.rejected","issuing_personalization_design.updated","issuing_settlement.created","issuing_settlement.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","privacy.redaction_job.canceled","privacy.redaction_job.created","privacy.redaction_job.ready","privacy.redaction_job.succeeded","privacy.redaction_job.validation_error","product.created","product.deleted","product.updated","promotion_code.created","promotion_code.updated","quote.accept_failed","quote.accepted","quote.accepting","quote.canceled","quote.created","quote.draft","quote.finalized","quote.reestimate_failed","quote.reestimated","quote.stale","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.price_migration_failed","subscription_schedule.released","subscription_schedule.updated","tax.form.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"}}}}},"x-stableId":"update_webhook_endpoint"},"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"}}}}},"x-stableId":"delete_webhook_endpoint"}},"/v2/billing/bill_settings":{"get":{"summary":"List Bill Settings","description":"List all BillSetting objects.","operationId":"GetV2BillingBillSettings","parameters":[{"name":"limit","in":"query","description":"Optionally set the maximum number of results per page. Defaults to 20.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"lookup_keys","in":"query","description":"Only return the settings with these lookup_keys, if any exist.\nYou can specify up to 10 lookup_keys.","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":"The list of retrieved Bill Settings.","items":{"$ref":"#/components/schemas/v2.billing.bill_setting"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}]}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_bill_settings","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{},"gated":true},"response":{"data":[{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}]}}],"x-stripeErrors":[],"x-stripeNotPublic":true},"post":{"summary":"Create a Bill Setting","description":"Create a BillSetting object.","operationId":"PostV2BillingBillSettings","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"calculation":{"type":"object","properties":{"tax":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to \"manual\".","enum":["automatic","manual"],"x-stripeEnum":{"kind":"open","values":[{"description":"Tax is calculated automatically based on a PTC.","value":"automatic"},{"description":"Tax is calculated based on rules defined by the business.","value":"manual"}]}}},"description":"Settings for calculating tax."}},"description":"Settings related to calculating a bill."},"display_name":{"type":"string","description":"An optional customer-facing display name for the CollectionSetting object.\nMaximum length of 250 characters."},"invoice":{"type":"object","properties":{"time_until_due":{"required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"The interval unit for the time until due.","enum":["day","month","week","year"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Daily interval.","value":"day"},{"description":"Monthly interval.","value":"month"},{"description":"Weekly interval.","value":"week"},{"description":"Yearly interval.","value":"year"}]}},"interval_count":{"type":"integer","description":"The number of interval units. For example, if interval=day and interval_count=30,\nthe invoice is due in 30 days."}},"description":"The amount of time until the invoice is overdue for payment."}},"description":"Settings related to invoice behavior."},"invoice_rendering_template":{"type":"string","description":"The ID of the invoice rendering template to be used when generating invoices."},"lookup_key":{"type":"string","description":"A lookup key used to retrieve settings dynamically from a static string.\nThis may be up to 200 characters."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"display_name":"Automatic tax settings","calculation":{"tax":{"type":"automatic"}}},"gated":true}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.bill_setting"},"examples":{"example":{"value":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.automatic_tax_no_merchant_location"},{"$ref":"#/components/schemas/v2.error.invalid_bill_setting_time_until_due"},{"$ref":"#/components/schemas/v2.error.invalid_invoice_rendering_template_for_bill_setting"},{"$ref":"#/components/schemas/v2.error.invoice_rendering_template_not_found_for_bill_setting"},{"$ref":"#/components/schemas/v2.error.lookup_key_already_used_for_bill_setting"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_bill_setting","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"display_name":"Automatic tax settings","calculation":{"tax":{"type":"automatic"}}},"gated":true},"response":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}],"x-stripeErrors":[{"code":"automatic_tax_no_merchant_location","description":"Returned when the merchant doesn't have a valid origin address.","httpStatusCode":400},{"code":"invalid_bill_setting_time_until_due","description":"Returned when the time until due is outside the supported range.","httpStatusCode":400},{"code":"invalid_invoice_rendering_template_for_bill_setting","description":"Returned when the invoice rendering template is archived.","httpStatusCode":400},{"code":"invoice_rendering_template_not_found_for_bill_setting","description":"Returned when the invoice rendering template cannot be found.","httpStatusCode":400},{"code":"lookup_key_already_used_for_bill_setting","description":"Returned when the lookup key is already used for a bill setting.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/billing/bill_settings/{bill_setting_id}/versions":{"get":{"summary":"List Bill Setting Versions","description":"List all BillSettingVersions by BillSetting ID.","operationId":"GetV2BillingBillSettingsBillSettingIdVersions","parameters":[{"name":"bill_setting_id","in":"path","description":"ID of the BillSettings to retrieve versions for.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.billing.bill_setting"}}}},{"name":"limit","in":"query","description":"Optionally set the maximum number of results per page. Defaults to 20.","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":"The list of retrieved Bill Setting Versions.","items":{"$ref":"#/components/schemas/v2.billing.bill_setting_version"}},"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}}},"examples":{"example":{"value":{"data":[{"calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T00:00:00.000Z","id":"bblsetv_test_61T2gNXz4yci3XdEH16Sg5eV2tSQs27bdBltKwQGm4k4","invoice":{"time_until_due":{"interval":"day","interval_count":1}},"invoice_rendering_template":"inrtem_test_1RYqt9H5wvQ9UC0Vtppz2bSj","object":"v2.billing.bill_setting_version","livemode":true}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.bill_setting_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_bill_setting_versions","x-stripeDocsSamples":[{"request":{"pathParams":{"bill_setting_id":"bblset_test_61T2gNXemFgqleYpd16Sg5eV2tSQs27bdBltKwQGm6qO"},"requestBody":{}},"response":{"data":[{"calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T00:00:00.000Z","id":"bblsetv_test_61T2gNXz4yci3XdEH16Sg5eV2tSQs27bdBltKwQGm4k4","invoice":{"time_until_due":{"interval":"day","interval_count":1}},"invoice_rendering_template":"inrtem_test_1RYqt9H5wvQ9UC0Vtppz2bSj","object":"v2.billing.bill_setting_version","livemode":true}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"bill_setting_not_found","description":"Returned when the bill setting cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/billing/bill_settings/{bill_setting_id}/versions/{id}":{"get":{"summary":"Retrieve a Bill Setting Version","description":"Retrieve a BillSettingVersion by ID.","operationId":"GetV2BillingBillSettingsBillSettingIdVersionsId","parameters":[{"name":"bill_setting_id","in":"path","description":"The ID of the BillSetting object to retrieve the version from.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.billing.bill_setting"}}}},{"name":"id","in":"path","description":"The ID of the BillSettingVersion object to retrieve.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.billing.bill_setting_version"}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.bill_setting_version"},"examples":{"example":{"value":{"calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T00:00:00.000Z","id":"bblsetv_test_61T2gNXz4yci3XdEH16Sg5eV2tSQs27bdBltKwQGm4k4","invoice":{"time_until_due":{"interval":"day","interval_count":1}},"invoice_rendering_template":"inrtem_test_1RYqt9H5wvQ9UC0Vtppz2bSj","object":"v2.billing.bill_setting_version","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.bill_setting_not_found"},{"$ref":"#/components/schemas/v2.error.bill_setting_version_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_bill_setting_version","x-stripeDocsSamples":[{"request":{"pathParams":{"bill_setting_id":"bblset_test_61T2gNXemFgqleYpd16Sg5eV2tSQs27bdBltKwQGm6qO","id":"bblsetv_test_61T2gNXz4yci3XdEH16Sg5eV2tSQs27bdBltKwQGm4k4"},"requestBody":{}},"response":{"calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T00:00:00.000Z","id":"bblsetv_test_61T2gNXz4yci3XdEH16Sg5eV2tSQs27bdBltKwQGm4k4","invoice":{"time_until_due":{"interval":"day","interval_count":1}},"invoice_rendering_template":"inrtem_test_1RYqt9H5wvQ9UC0Vtppz2bSj","object":"v2.billing.bill_setting_version","livemode":true}}],"x-stripeErrors":[{"code":"bill_setting_not_found","description":"Returned when the bill setting cannot be found.","httpStatusCode":404},{"code":"bill_setting_version_not_found","description":"Returned when the bill setting version cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/billing/bill_settings/{id}":{"get":{"summary":"Retrieve a Bill Setting","description":"Retrieve a BillSetting object by ID.","operationId":"GetV2BillingBillSettingsId","parameters":[{"name":"id","in":"path","description":"The ID of the BillSetting object to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.bill_setting"},"examples":{"example":{"value":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.bill_setting_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_bill_setting","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI"},"requestBody":{},"gated":true},"response":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}],"x-stripeErrors":[{"code":"bill_setting_not_found","description":"Returned when the bill setting cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Update a Bill Setting","description":"Update fields on an existing BillSetting object.","operationId":"PostV2BillingBillSettingsId","parameters":[{"name":"id","in":"path","description":"The ID of the BillSetting object to update.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"calculation":{"type":"object","properties":{"tax":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to \"manual\".","enum":["automatic","manual"],"x-stripeEnum":{"kind":"open","values":[{"description":"Tax is calculated automatically based on a PTC.","value":"automatic"},{"description":"Tax is calculated based on rules defined by the business.","value":"manual"}]}}},"description":"Settings for calculating tax."}},"description":"Settings related to calculating a bill."},"display_name":{"type":"string","description":"An optional customer-facing display name for the BillSetting object.\nTo remove the display name, set it to an empty string in the request.\nMaximum length of 250 characters."},"invoice":{"type":"object","properties":{"time_until_due":{"required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"The interval unit for the time until due.","enum":["day","month","week","year"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Daily interval.","value":"day"},{"description":"Monthly interval.","value":"month"},{"description":"Weekly interval.","value":"week"},{"description":"Yearly interval.","value":"year"}]}},"interval_count":{"type":"integer","description":"The number of interval units. For example, if interval=day and interval_count=30,\nthe invoice is due in 30 days."}},"description":"The amount of time until the invoice is overdue for payment."}},"description":"Settings related to invoice behavior."},"invoice_rendering_template":{"type":"string","description":"The ID of the invoice rendering template to be used when generating invoices."},"live_version":{"type":"string","description":"Optionally change the live version of the BillSetting. Providing `live_version = \"latest\"` sets the\nBillSetting' `live_version` to its latest version."},"lookup_key":{"type":"string","description":"A lookup key used to retrieve settings dynamically from a static string.\nThis may be up to 200 characters."}}},"examples":{"example":{"value":{"pathParams":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI"},"requestBody":{"display_name":"New name"},"gated":true}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.bill_setting"},"examples":{"example":{"value":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"New name","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.automatic_tax_no_merchant_location"},{"$ref":"#/components/schemas/v2.error.bill_setting_not_found"},{"$ref":"#/components/schemas/v2.error.invalid_bill_setting_time_until_due"},{"$ref":"#/components/schemas/v2.error.invalid_invoice_rendering_template_for_bill_setting"},{"$ref":"#/components/schemas/v2.error.invoice_rendering_template_not_found_for_bill_setting"},{"$ref":"#/components/schemas/v2.error.lookup_key_already_used_for_bill_setting"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_bill_setting","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI"},"requestBody":{"display_name":"New name"},"gated":true},"response":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"New name","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}],"x-stripeErrors":[{"code":"automatic_tax_no_merchant_location","description":"Returned when the merchant doesn't have a valid origin address.","httpStatusCode":400},{"code":"bill_setting_not_found","description":"Returned when the bill setting cannot be found.","httpStatusCode":404},{"code":"invalid_bill_setting_time_until_due","description":"Returned when the time until due is outside the supported range.","httpStatusCode":400},{"code":"invalid_invoice_rendering_template_for_bill_setting","description":"Returned when the invoice rendering template is archived.","httpStatusCode":400},{"code":"invoice_rendering_template_not_found_for_bill_setting","description":"Returned when the invoice rendering template cannot be found.","httpStatusCode":400},{"code":"lookup_key_already_used_for_bill_setting","description":"Returned when the lookup key is already used for a bill setting.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/billing/cadences":{"get":{"summary":"List billing cadences","description":"List Billing Cadences.","operationId":"GetV2BillingCadences","parameters":[{"name":"include","in":"query","description":"Additional resource to include in the response.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["settings_data"],"x-stripeEnum":{"kind":"open","values":[{"description":"Include parameter to expose expanded settings data on the cadence.","value":"settings_data"}]}}}},{"name":"limit","in":"query","description":"Optionally set the maximum number of results per page. Defaults to 20.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"lookup_keys","in":"query","description":"Only return the cadences with these lookup_keys, if any exist. You can specify up to 10 lookup_keys.\nMutually exclusive with `test_clock` and `payer`.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string"}}},{"name":"payer","in":"query","description":"If provided, only cadences that specifically reference the payer will be returned. Mutually exclusive with `test_clock` and `lookup_keys`.","required":false,"style":"deepObject","schema":{"required":["type"],"type":"object","properties":{"customer":{"type":"string","description":"The ID of the Customer object. If provided, only cadences that specifically reference the provided customer ID will be returned."},"type":{"type":"string","description":"A string identifying the type of the payer. Currently the only supported value is `customer`.","enum":["customer"],"x-stripeEnum":{"kind":"open","values":[{"description":"The payer is associated with a Customer.","value":"customer"}]}}}}},{"name":"test_clock","in":"query","description":"If provided, only cadences that specifically reference the provided test clock ID (via the\ncustomer's test clock) will be returned.\nMutually exclusive with `payer`.","required":false,"style":"form","schema":{"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":"The retrieved cadences.","items":{"$ref":"#/components/schemas/v2.billing.cadence"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":0,"minute":0}}},"metadata":{},"status":"active","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":true}]}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.customer_not_found"},{"$ref":"#/components/schemas/v2.error.invalid_billing_cadence_filters"},{"$ref":"#/components/schemas/v2.error.test_clock_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_cadences","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":0,"minute":0}}},"metadata":{},"status":"active","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":true}]}}],"x-stripeErrors":[{"code":"customer_not_found","description":"Returned when the customer for the provided ID cannot be found.","httpStatusCode":404},{"code":"invalid_billing_cadence_filters","description":"Returned when incorrect filters are set when retrieving billing cadences.","httpStatusCode":400},{"code":"test_clock_not_found","description":"Returned when the TestClock for the provided ID cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Create a Billing Cadence","description":"Create a Billing Cadence object.","operationId":"PostV2BillingCadences","requestBody":{"content":{"application/json":{"schema":{"required":["billing_cycle","payer"],"type":"object","properties":{"billing_cycle":{"required":["type"],"type":"object","properties":{"day":{"type":"object","properties":{"time":{"required":["hour","minute","second"],"type":"object","properties":{"hour":{"type":"integer","description":"The hour at which the billing cycle ends.\nThis must be an integer between 0 and 23, inclusive.\n0 represents midnight, and 23 represents 11 PM."},"minute":{"type":"integer","description":"The minute at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."},"second":{"type":"integer","description":"The second at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."}},"description":"The time at which the billing cycle ends.\nThis field is optional, and if not provided, it defaults to\nthe time at which the cadence was created in UTC timezone."}},"description":"Specific configuration for determining billing dates when type=day."},"interval_count":{"type":"integer","description":"The number of intervals (specified in the interval attribute) between\ncadence billings. For example, type=month and interval_count=3 bills every\n3 months. If not provided, this defaults to 1."},"month":{"required":["day_of_month"],"type":"object","properties":{"day_of_month":{"type":"integer","description":"The day to anchor the billing on for a type=\"month\" billing cycle from\n1-31. If this number is greater than the number of days in the month being\nbilled, this anchors to the last day of the month. If not provided,\nthis defaults to the day the cadence was created."},"month_of_year":{"type":"integer","description":"The month to anchor the billing on for a type=\"month\" billing cycle from\n1-12. If not provided, this defaults to the month the cadence was created.\nThis setting can only be used for monthly billing cycles with `interval_count` of 2, 3, 4 or 6.\nAll occurrences are calculated from the month provided."},"time":{"required":["hour","minute","second"],"type":"object","properties":{"hour":{"type":"integer","description":"The hour at which the billing cycle ends.\nThis must be an integer between 0 and 23, inclusive.\n0 represents midnight, and 23 represents 11 PM."},"minute":{"type":"integer","description":"The minute at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."},"second":{"type":"integer","description":"The second at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."}},"description":"The time at which the billing cycle ends.\nThis field is optional, and if not provided, it defaults to\nthe time at which the cadence was created in UTC timezone."}},"description":"Specific configuration for determining billing dates when type=month."},"type":{"type":"string","description":"The frequency at which a cadence bills.","enum":["day","month","week","year"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bill the payer daily.","value":"day"},{"description":"Bill the payer monthly.","value":"month"},{"description":"Bill the payer weekly.","value":"week"},{"description":"Bill the payer yearly.","value":"year"}]}},"week":{"required":["day_of_week"],"type":"object","properties":{"day_of_week":{"type":"integer","description":"The day of the week to bill the type=week billing cycle on.\nNumbered from 1-7 for Monday to Sunday respectively, based on the ISO-8601\nweek day numbering. If not provided, this defaults to the day the\ncadence was created."},"time":{"required":["hour","minute","second"],"type":"object","properties":{"hour":{"type":"integer","description":"The hour at which the billing cycle ends.\nThis must be an integer between 0 and 23, inclusive.\n0 represents midnight, and 23 represents 11 PM."},"minute":{"type":"integer","description":"The minute at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."},"second":{"type":"integer","description":"The second at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."}},"description":"The time at which the billing cycle ends.\nThis field is optional, and if not provided, it defaults to\nthe time at which the cadence was created in UTC timezone."}},"description":"Specific configuration for determining billing dates when type=week."},"year":{"type":"object","properties":{"day_of_month":{"type":"integer","description":"The day to anchor the billing on for a type=\"month\" billing cycle from\n1-31. If this number is greater than the number of days in the month being\nbilled, this anchors to the last day of the month. If not provided,\nthis defaults to the day the cadence was created."},"month_of_year":{"type":"integer","description":"The month to bill on from 1-12. If not provided, this defaults to the\nmonth the cadence was created."},"time":{"required":["hour","minute","second"],"type":"object","properties":{"hour":{"type":"integer","description":"The hour at which the billing cycle ends.\nThis must be an integer between 0 and 23, inclusive.\n0 represents midnight, and 23 represents 11 PM."},"minute":{"type":"integer","description":"The minute at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."},"second":{"type":"integer","description":"The second at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."}},"description":"The time at which the billing cycle ends.\nThis field is optional, and if not provided, it defaults to\nthe time at which the cadence was created in UTC timezone."}},"description":"Specific configuration for determining billing dates when type=year."}},"description":"The billing cycle is the object that defines future billing cycle dates."},"lookup_key":{"type":"string","description":"A lookup key used to retrieve cadences dynamically from a static string. Maximum length of 200 characters."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"payer":{"required":["billing_profile"],"type":"object","properties":{"billing_profile":{"type":"string","description":"The ID of the Billing Profile object which determines how a bill is paid.","x-stripeNotPublic":true,"x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.billing.profile"}}}},"description":"The payer determines the entity financially responsible for the bill."},"settings":{"type":"object","properties":{"bill":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the referenced settings object.","x-stripeNotPublic":true},"version":{"type":"string","description":"An optional field to specify the version of the Settings to use.\nIf not provided, this defaults to the live version any time the settings are used.","x-stripeNotPublic":true}},"description":"Settings that configure bill generation, which includes calculating totals, tax, and presenting invoices.\nIf no setting is provided here, the settings from the customer referenced on the payer will be used.\nIf no customer settings are present, the merchant default settings will be used.","x-stripeNotPublic":true},"collection":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the referenced settings object.","x-stripeNotPublic":true},"version":{"type":"string","description":"An optional field to specify the version of the Settings to use.\nIf not provided, this defaults to the live version any time the settings are used.","x-stripeNotPublic":true}},"description":"Settings that configure and manage the behavior of collecting payments.\nIf no setting is provided here, the settings from the customer referenced from the payer will be used if they exist.\nIf no customer settings are present, the merchant default settings will be used.","x-stripeNotPublic":true}},"description":"The settings associated with the cadence.","x-stripeNotPublic":true}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"payer":{"billing_profile":"bilp_test_61Rc0IonJY96mpyHA16RM8VQ"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.cadence"},"examples":{"example":{"value":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","billing_profile":"bilp_test_61Rc0IonJY96mpyHA16RM8VQ","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":0,"minute":0}}},"metadata":{},"status":"active","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.bill_settings_not_found"},{"$ref":"#/components/schemas/v2.error.bill_settings_version_not_found"},{"$ref":"#/components/schemas/v2.error.billing_profile_not_found_for_cadence"},{"$ref":"#/components/schemas/v2.error.collection_settings_not_found"},{"$ref":"#/components/schemas/v2.error.collection_settings_version_not_found"},{"$ref":"#/components/schemas/v2.error.customer_not_found"},{"$ref":"#/components/schemas/v2.error.customer_tax_location_invalid"},{"$ref":"#/components/schemas/v2.error.invalid_billing_cycle_dates"},{"$ref":"#/components/schemas/v2.error.invalid_customer"},{"$ref":"#/components/schemas/v2.error.lookup_key_already_used"},{"$ref":"#/components/schemas/v2.error.month_of_year_not_supported_for_interval_count"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_cadence","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"payer":{"billing_profile":"bilp_test_61Rc0IonJY96mpyHA16RM8VQ"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3}}}},"response":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","billing_profile":"bilp_test_61Rc0IonJY96mpyHA16RM8VQ","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":0,"minute":0}}},"metadata":{},"status":"active","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":true}}],"x-stripeErrors":[{"code":"bill_settings_not_found","description":"Returned when the bill settings ID cannot be found.","httpStatusCode":404},{"code":"bill_settings_version_not_found","description":"Returned when the provided bill settings version ID cannot be found.","httpStatusCode":404},{"code":"billing_profile_not_found_for_cadence","description":"Returned when the provided billing profile ID cannot be found.","httpStatusCode":400},{"code":"collection_settings_not_found","description":"Returned when the collection settings ID cannot be found.","httpStatusCode":404},{"code":"collection_settings_version_not_found","description":"Returned when the provided collection settings version ID cannot be found.","httpStatusCode":404},{"code":"customer_not_found","description":"Returned when the customer for the provided ID cannot be found.","httpStatusCode":404},{"code":"customer_tax_location_invalid","description":"Returned when creating or updating a cadence with a customer whose tax location isn't recognized.","httpStatusCode":400},{"code":"invalid_billing_cycle_dates","description":"Returned by billing cadences when invalid dates for a billing cycle are set.","httpStatusCode":400},{"code":"invalid_customer","description":"Returned when creating or updating a cadence with a deleted customer.","httpStatusCode":400},{"code":"lookup_key_already_used","description":"Returned when another object of the same type already has the given lookup key.","httpStatusCode":400},{"code":"month_of_year_not_supported_for_interval_count","description":"Returned by billing cadences when billing_cycle.month.month_of_year is used with an invalid `interval_count`.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/billing/cadences/{id}":{"get":{"summary":"Retrieve a Billing Cadence","description":"Retrieve a Billing Cadence object.","operationId":"GetV2BillingCadencesId","parameters":[{"name":"id","in":"path","description":"The ID of the billing cadence to retrieve.","required":true,"style":"simple","schema":{"type":"string"}},{"name":"include","in":"query","description":"Additional resource to include in the response.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["settings_data"],"x-stripeEnum":{"kind":"open","values":[{"description":"Include parameter to expose expanded settings data on the cadence.","value":"settings_data"}]}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.cadence"},"examples":{"example":{"value":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":0,"minute":0}}},"metadata":{},"status":"active","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.billing_cadence_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_cadence","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie"},"requestBody":{}},"response":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":0,"minute":0}}},"metadata":{},"status":"active","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":true}}],"x-stripeErrors":[{"code":"billing_cadence_not_found","description":"Returned when the provided billing_cadence ID cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Update a Billing Cadence","description":"Update a Billing Cadence object.","operationId":"PostV2BillingCadencesId","parameters":[{"name":"id","in":"path","description":"The ID of the billing Cadence object to update.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"lookup_key":{"type":"string","description":"A lookup key used to retrieve cadences dynamically from a static string. Maximum length of 200 characters."},"metadata":{"type":"object","additionalProperties":{"type":"string","nullable":true},"description":"Set of [key-value pairs](/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"payer":{"type":"object","properties":{"billing_profile":{"type":"string","description":"The ID of the Billing Profile object which determines how a bill is paid.","x-stripeNotPublic":true,"x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.billing.profile"}}}},"description":"The payer determines the entity financially responsible for the bill.","x-stripeNotPublic":true},"settings":{"type":"object","properties":{"bill":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the referenced settings object.","x-stripeNotPublic":true},"version":{"type":"string","description":"An optional field to specify the version of Settings to use.\nIf not provided, this defaults to the `live_version` specified on the setting, any time the settings are used.\nUsing a specific version here prevents the settings from updating, and is discouraged for cadences.\nTo clear a pinned version, set the version to null.","x-stripeNotPublic":true}},"description":"Settings that configure bills generation, which includes calculating totals, tax, and presenting invoices. If null is provided, the current bill settings will be removed from the billing cadence.","x-stripeNotPublic":true},"collection":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the referenced settings object.","x-stripeNotPublic":true},"version":{"type":"string","description":"An optional field to specify the version of Settings to use.\nIf not provided, this defaults to the `live_version` specified on the setting, any time the settings are used.\nUsing a specific version here prevents the settings from updating, and is discouraged for cadences.\nTo clear a pinned version, set the version to null.","x-stripeNotPublic":true}},"description":"Settings that configure and manage the behavior of collecting payments. If null is provided, the current collection settings will be removed from the billing cadence.","x-stripeNotPublic":true}},"description":"The settings associated with the cadence.","x-stripeNotPublic":true}}},"examples":{"example":{"value":{"pathParams":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie"},"requestBody":{"metadata":{"key":"value"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.cadence"},"examples":{"example":{"value":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":1,"minute":0}}},"metadata":{"key":"value"},"status":"active","next_billing_date":"2025-01-03T01:00:00.000Z","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.bill_settings_not_found"},{"$ref":"#/components/schemas/v2.error.bill_settings_version_not_found"},{"$ref":"#/components/schemas/v2.error.billing_cadence_not_found"},{"$ref":"#/components/schemas/v2.error.billing_profile_not_found_for_cadence"},{"$ref":"#/components/schemas/v2.error.collection_settings_not_found"},{"$ref":"#/components/schemas/v2.error.collection_settings_version_not_found"},{"$ref":"#/components/schemas/v2.error.customer_not_found"},{"$ref":"#/components/schemas/v2.error.customer_tax_location_invalid"},{"$ref":"#/components/schemas/v2.error.invalid_customer"},{"$ref":"#/components/schemas/v2.error.invalid_test_clock_on_payer"},{"$ref":"#/components/schemas/v2.error.lookup_key_already_used"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_cadence","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie"},"requestBody":{"metadata":{"key":"value"}}},"response":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":1,"minute":0}}},"metadata":{"key":"value"},"status":"active","next_billing_date":"2025-01-03T01:00:00.000Z","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":false}}],"x-stripeErrors":[{"code":"bill_settings_not_found","description":"Returned when the bill settings ID cannot be found.","httpStatusCode":404},{"code":"bill_settings_version_not_found","description":"Returned when the provided bill settings version ID cannot be found.","httpStatusCode":404},{"code":"billing_cadence_not_found","description":"Returned when the provided billing_cadence ID cannot be found.","httpStatusCode":404},{"code":"billing_profile_not_found_for_cadence","description":"Returned when the provided billing profile ID cannot be found.","httpStatusCode":400},{"code":"collection_settings_not_found","description":"Returned when the collection settings ID cannot be found.","httpStatusCode":404},{"code":"collection_settings_version_not_found","description":"Returned when the provided collection settings version ID cannot be found.","httpStatusCode":404},{"code":"customer_not_found","description":"Returned when the customer for the provided ID cannot be found.","httpStatusCode":404},{"code":"customer_tax_location_invalid","description":"Returned when creating or updating a cadence with a customer whose tax location isn't recognized.","httpStatusCode":400},{"code":"invalid_customer","description":"Returned when creating or updating a cadence with a deleted customer.","httpStatusCode":400},{"code":"invalid_test_clock_on_payer","description":"Returned when the payer that is being updated on a billing cadence has a test_clock that conflicts with the current test_clock.","httpStatusCode":400},{"code":"lookup_key_already_used","description":"Returned when another object of the same type already has the given lookup key.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/billing/cadences/{id}/cancel":{"post":{"summary":"Cancel a Billing Cadence","description":"Cancel the Billing Cadence.","operationId":"PostV2BillingCadencesIdCancel","parameters":[{"name":"id","in":"path","description":"The ID of the billing Cadence to cancel.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.cadence"},"examples":{"example":{"value":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":0,"minute":0}}},"metadata":{},"status":"canceled","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.billing_cadence_active"},{"$ref":"#/components/schemas/v2.error.billing_cadence_canceled"},{"$ref":"#/components/schemas/v2.error.billing_cadence_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_cancel_cadence","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie"},"requestBody":{}},"response":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3,"time":{"hour":0,"minute":0}}},"metadata":{},"status":"canceled","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":true}}],"x-stripeErrors":[{"code":"billing_cadence_active","description":"Returned when trying to cancel a billing cadence that has active and/or unbilled subscriptions.","httpStatusCode":400},{"code":"billing_cadence_canceled","description":"Returned when trying to cancel a billing cadence that has already been canceled.","httpStatusCode":400},{"code":"billing_cadence_not_found","description":"Returned when the provided billing_cadence ID cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/billing/collection_settings":{"get":{"summary":"List Collection Settings","description":"List all CollectionSetting objects.","operationId":"GetV2BillingCollectionSettings","parameters":[{"name":"limit","in":"query","description":"Optionally set the maximum number of results per page. Defaults to 20.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"lookup_keys","in":"query","description":"Only return the settings with these lookup_keys, if any exist.\nYou can specify up to 10 lookup_keys.","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":"The list of retrieved CollectionSetting.","items":{"$ref":"#/components/schemas/v2.billing.collection_setting"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"automatic","created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}]}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_collection_settings","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{},"gated":true},"response":{"data":[{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"automatic","created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}]}}],"x-stripeErrors":[],"x-stripeNotPublic":true},"post":{"summary":"Create a Collection Setting","description":"Create a CollectionSetting object.","operationId":"PostV2BillingCollectionSettings","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"collection_method":{"type":"string","description":"Either automatic, or send_invoice. When charging automatically, Stripe attempts to pay this\nbill at the end of the period using the payment method attached to the billing profile. When sending an invoice,\nStripe emails your billing profile an invoice with payment instructions.\nDefaults to automatic.","enum":["automatic","send_invoice"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Automatically charge for collection.","value":"automatic"},{"description":"Send invoice for collection.","value":"send_invoice"}]}},"display_name":{"type":"string","description":"An optional customer-facing display name for the CollectionSetting object.\nMaximum length of 250 characters."},"email_delivery":{"type":"object","properties":{"payment_due":{"required":["enabled","include_payment_link"],"type":"object","properties":{"enabled":{"type":"boolean","description":"If true an email for the invoice would be generated and sent out."},"include_payment_link":{"type":"boolean","description":"If true the payment link to hosted invoice page would be included in email and PDF of the invoice."}},"description":"Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state."}},"description":"Email delivery setting."},"lookup_key":{"type":"string","description":"A lookup key used to retrieve settings dynamically from a static string.\nThis may be up to 200 characters."},"payment_method_configuration":{"type":"string","description":"The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers."},"payment_method_options":{"type":"object","properties":{"acss_debit":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"],"x-stripeEnum":{"kind":"open","values":[{"description":"Transactions are made for business reasons.","value":"business"},{"description":"Transactions are made for personal reasons.","value":"personal"}]}}},"description":"Additional fields for Mandate creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification.","value":"instant"},{"description":"Microdeposits.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the Canadian pre-authorized debit payment method options."},"bancontact":{"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-stripeEnum":{"kind":"open","values":[{"description":"German.","value":"de"},{"description":"English.","value":"en"},{"description":"French.","value":"fr"},{"description":"Dutch.","value":"nl"}]}}},"description":"This sub-hash contains details about the Bancontact payment method."},"card":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"amount":{"type":"string","description":"Amount to be charged for future payments.","format":"int64"},"amount_type":{"type":"string","description":"The AmountType for the mandate. One of `fixed` or `maximum`.","enum":["fixed","maximum"],"x-stripeEnum":{"kind":"open","values":[{"description":"If `fixed`, the `amount` param refers to the exact amount to be charged in future payments.","value":"fixed"},{"description":"If `maximum`, the amount charged can be up to the value passed for the `amount` param.","value":"maximum"}]}},"description":{"type":"string","description":"A description of the mandate that is meant to be displayed to the customer."}},"description":"Configuration options for setting up an eMandate for cards issued in India."},"network":{"type":"string","description":"Selected network to process the payment on. Depends on the available networks of the card."},"request_three_d_secure":{"type":"string","description":"An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers\nfor authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication).\nHowever, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option.\nRead 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-stripeEnum":{"kind":"open","values":[{"description":"Use any to manually request 3DS with a preference for a frictionless flow, increasing the likelihood of the authentication being completed without any\nadditional input from the customer. 3DS is always attempted if supported for the card, but Stripe can't guarantee your preference because\nthe issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"any"},{"description":"Our SCA Engine automatically prompts your customers for authentication based on risk level and other requirements. This is the default option.","value":"automatic"},{"description":"Use challenge to request 3DS with a preference for a challenge flow, where the customer must respond to a prompt for active authentication. Stripe can't\nguarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"challenge"}]}}},"description":"This sub-hash contains details about the Card payment method options."},"customer_balance":{"type":"object","properties":{"bank_transfer":{"type":"object","properties":{"eu_bank_transfer":{"required":["country"],"type":"object","properties":{"country":{"type":"string","description":"The desired country code of the bank account information.","enum":["BE","DE","ES","FR","IE","NL"],"x-stripeEnum":{"kind":"open","values":[{"description":"Belgium.","value":"BE"},{"description":"Germany.","value":"DE"},{"description":"Spain.","value":"ES"},{"description":"France.","value":"FR"},{"description":"Ireland.","value":"IE"},{"description":"Netherlands.","value":"NL"}]}}},"description":"Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`."},"type":{"type":"string","description":"The bank transfer type that can be used for funding.","enum":["eu_bank_transfer","gb_bank_transfer","jp_bank_transfer","mx_bank_transfer","us_bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"EU Bank Transfer.","value":"eu_bank_transfer"},{"description":"GB Bank Transfer.","value":"gb_bank_transfer"},{"description":"JP Bank Transfer.","value":"jp_bank_transfer"},{"description":"MX Bank Transfer.","value":"mx_bank_transfer"},{"description":"US Bank Transfer.","value":"us_bank_transfer"}]}}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`."},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`.","enum":["bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank Transfer funding type.","value":"bank_transfer"}]}}},"description":"This sub-hash contains details about the Bank transfer payment method options."},"konbini":{"type":"object","properties":{},"description":"This sub-hash contains details about the Konbini payment method options."},"sepa_debit":{"type":"object","properties":{},"description":"This sub-hash contains details about the SEPA Direct Debit payment method options."},"us_bank_account":{"required":["financial_connections","verification_method"],"type":"object","properties":{"financial_connections":{"type":"object","properties":{"filters":{"type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts.","items":{"type":"string","enum":["checking","savings"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank account subcategory is checking.","value":"checking"},{"description":"Bank account subcategory is savings.","value":"savings"}]}}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method."},"permissions":{"type":"array","description":"The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included.","items":{"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeEnum":{"kind":"open","values":[{"description":"Balances permission.","value":"balances"},{"description":"Ownership permission.","value":"ownership"},{"description":"Payment method permission.","value":"payment_method"},{"description":"Transactions permission.","value":"transactions"}]}}},"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-stripeEnum":{"kind":"open","values":[{"description":"Requests to prefetch balance data on accounts collected in this session.","value":"balances"},{"description":"Requests to prefetch ownership data on accounts collected in this session.","value":"ownership"},{"description":"Requests to prefetch transaction data on accounts collected in this session.","value":"transactions"}]}}}},"description":"Additional fields for Financial Connections Session creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification only.","value":"instant"},{"description":"Verification using microdeposits. Cannot be used with Stripe Checkout, Hosted Invoices, or Payment Element.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the ACH direct debit payment method options."}},"description":"Payment Method specific configuration to be stored on the object."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"collection_method":"automatic","display_name":"Automatic collection settings"},"gated":true}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.collection_setting"},"examples":{"example":{"value":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"automatic","created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.email_delivery_incompatible_with_collection_method"},{"$ref":"#/components/schemas/v2.error.invalid_payment_method_configuration_for_collection_setting"},{"$ref":"#/components/schemas/v2.error.lookup_key_already_used_for_collection_setting"},{"$ref":"#/components/schemas/v2.error.payment_method_configuration_not_found_for_collection_setting"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_collection_setting","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"collection_method":"automatic","display_name":"Automatic collection settings"},"gated":true},"response":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"automatic","created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}],"x-stripeErrors":[{"code":"email_delivery_incompatible_with_collection_method","description":"Returned when the email delivery is incompatible with the collection method.","httpStatusCode":400},{"code":"invalid_payment_method_configuration_for_collection_setting","description":"Returned when the payment method configuration is not active.","httpStatusCode":400},{"code":"lookup_key_already_used_for_collection_setting","description":"Returned when the lookup key is already used for a collection setting.","httpStatusCode":400},{"code":"payment_method_configuration_not_found_for_collection_setting","description":"Returned when the payment method configuration cannot be found.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/billing/collection_settings/{collection_setting_id}/versions":{"get":{"summary":"List Collection Setting Versions","description":"List all CollectionSettingVersions by CollectionSetting ID.","operationId":"GetV2BillingCollectionSettingsCollectionSettingIdVersions","parameters":[{"name":"collection_setting_id","in":"path","description":"ID of the CollectionSettings to retrieve versions for.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.billing.collection_setting"}}}},{"name":"limit","in":"query","description":"Optionally set the maximum number of results per page. Defaults to 20.","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":"The list of retrieved CollectionSettingVersions.","items":{"$ref":"#/components/schemas/v2.billing.collection_setting_version"}},"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}}},"examples":{"example":{"value":{"data":[{"collection_method":"automatic","created":"2025-01-01T00:00:00.000Z","id":"bclsetv_test_61T2gtFFCeOrTS7PB16Sg5eV2tSQs27bdBltKwQGm1No","object":"v2.billing.collection_setting_version","payment_method_configuration":"pmc_234","payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"business"},"verification_method":"automatic"},"bancontact":{"preferred_language":"de"},"card":{"mandate_options":{"amount":1000,"amount_type":"maximum","description":"Test mandate"},"network":"visa","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"BE"},"type":"eu_bank_transfer"},"funding_type":"bank_transfer"},"konbini":{},"sepa_debit":{},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"]},"permissions":["balances"],"prefetch":["balances"]},"verification_method":"automatic"}},"livemode":true}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.collection_setting_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_collection_setting_versions","x-stripeDocsSamples":[{"request":{"pathParams":{"collection_setting_id":"bclset_test_61T2gtFM6pBAo30oj16Sg5eV2tSQs27bdBltKwQGmSI4"},"requestBody":{}},"response":{"data":[{"collection_method":"automatic","created":"2025-01-01T00:00:00.000Z","id":"bclsetv_test_61T2gtFFCeOrTS7PB16Sg5eV2tSQs27bdBltKwQGm1No","object":"v2.billing.collection_setting_version","payment_method_configuration":"pmc_234","payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"business"},"verification_method":"automatic"},"bancontact":{"preferred_language":"de"},"card":{"mandate_options":{"amount":1000,"amount_type":"maximum","description":"Test mandate"},"network":"visa","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"BE"},"type":"eu_bank_transfer"},"funding_type":"bank_transfer"},"konbini":{},"sepa_debit":{},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"]},"permissions":["balances"],"prefetch":["balances"]},"verification_method":"automatic"}},"livemode":true}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"collection_setting_not_found","description":"Returned when the collection setting cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/billing/collection_settings/{collection_setting_id}/versions/{id}":{"get":{"summary":"Retrieve a Collection Setting Version","description":"Retrieve a CollectionSetting Version by ID.","operationId":"GetV2BillingCollectionSettingsCollectionSettingIdVersionsId","parameters":[{"name":"collection_setting_id","in":"path","description":"The ID of the CollectionSetting that has the version.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.billing.collection_setting"}}}},{"name":"id","in":"path","description":"The ID of the CollectionSettingVersion.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.billing.collection_setting_version"}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.collection_setting_version"},"examples":{"example":{"value":{"collection_method":"automatic","created":"2025-01-01T00:00:00.000Z","id":"bclsetv_test_61T2gtFFCeOrTS7PB16Sg5eV2tSQs27bdBltKwQGm1No","object":"v2.billing.collection_setting_version","payment_method_configuration":"pmc_234","payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"business"},"verification_method":"automatic"},"bancontact":{"preferred_language":"de"},"card":{"mandate_options":{"amount":1000,"amount_type":"maximum","description":"Test mandate"},"network":"visa","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"BE"},"type":"eu_bank_transfer"},"funding_type":"bank_transfer"},"konbini":{},"sepa_debit":{},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"]},"permissions":["balances"],"prefetch":["balances"]},"verification_method":"automatic"}},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.collection_setting_not_found"},{"$ref":"#/components/schemas/v2.error.collection_setting_version_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_collection_setting_version","x-stripeDocsSamples":[{"request":{"pathParams":{"collection_setting_id":"bclset_test_61T2gtFM6pBAo30oj16Sg5eV2tSQs27bdBltKwQGmSI4","id":"bclsetv_test_61T2gtFFCeOrTS7PB16Sg5eV2tSQs27bdBltKwQGm1No"},"requestBody":{}},"response":{"collection_method":"automatic","created":"2025-01-01T00:00:00.000Z","id":"bclsetv_test_61T2gtFFCeOrTS7PB16Sg5eV2tSQs27bdBltKwQGm1No","object":"v2.billing.collection_setting_version","payment_method_configuration":"pmc_234","payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"business"},"verification_method":"automatic"},"bancontact":{"preferred_language":"de"},"card":{"mandate_options":{"amount":1000,"amount_type":"maximum","description":"Test mandate"},"network":"visa","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"BE"},"type":"eu_bank_transfer"},"funding_type":"bank_transfer"},"konbini":{},"sepa_debit":{},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"]},"permissions":["balances"],"prefetch":["balances"]},"verification_method":"automatic"}},"livemode":true}}],"x-stripeErrors":[{"code":"collection_setting_not_found","description":"Returned when the collection setting cannot be found.","httpStatusCode":404},{"code":"collection_setting_version_not_found","description":"Returned when the collection setting version cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/billing/collection_settings/{id}":{"get":{"summary":"Retrieve a Collection Setting","description":"Retrieve a CollectionSetting by ID.","operationId":"GetV2BillingCollectionSettingsId","parameters":[{"name":"id","in":"path","description":"The ID of the CollectionSetting.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.collection_setting"},"examples":{"example":{"value":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"automatic","created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.collection_setting_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_collection_setting","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI"},"requestBody":{},"gated":true},"response":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"automatic","created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}],"x-stripeErrors":[{"code":"collection_setting_not_found","description":"Returned when the collection setting cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Update a Collection Setting","description":"Update fields on an existing CollectionSetting.","operationId":"PostV2BillingCollectionSettingsId","parameters":[{"name":"id","in":"path","description":"The ID of the CollectionSetting.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"collection_method":{"type":"string","description":"Either automatic, or send_invoice. When charging automatically, Stripe attempts to pay this\nbill at the end of the period using the payment method attached to the billing profile. When sending an invoice,\nStripe emails your billing profile an invoice with payment instructions.","enum":["automatic","send_invoice"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Automatically charge for collection.","value":"automatic"},{"description":"Send invoice for collection.","value":"send_invoice"}]}},"display_name":{"type":"string","description":"An optional customer-facing display name for the CollectionSetting object.\nTo remove the display name, set it to an empty string in the request.\nMaximum length of 250 characters."},"email_delivery":{"type":"object","properties":{"payment_due":{"required":["enabled","include_payment_link"],"type":"object","properties":{"enabled":{"type":"boolean","description":"If true an email for the invoice would be generated and sent out."},"include_payment_link":{"type":"boolean","description":"If true the payment link to hosted invoice page would be included in email and PDF of the invoice."}},"description":"Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state."}},"description":"Email delivery settings."},"live_version":{"type":"string","description":"Optionally change the live version of the CollectionSetting. Billing Cadences and other objects that refer to this\nCollectionSetting uses this version when no overrides are set. Providing `live_version = \"latest\"` sets the\nCollectionSetting's `live_version` to its latest version."},"lookup_key":{"type":"string","description":"A lookup key used to retrieve settings dynamically from a static string.\nThis may be up to 200 characters."},"payment_method_configuration":{"type":"string","description":"The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers."},"payment_method_options":{"type":"object","properties":{"acss_debit":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"],"x-stripeEnum":{"kind":"open","values":[{"description":"Transactions are made for business reasons.","value":"business"},{"description":"Transactions are made for personal reasons.","value":"personal"}]}}},"description":"Additional fields for Mandate creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification.","value":"instant"},{"description":"Microdeposits.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the Canadian pre-authorized debit payment method options."},"bancontact":{"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-stripeEnum":{"kind":"open","values":[{"description":"German.","value":"de"},{"description":"English.","value":"en"},{"description":"French.","value":"fr"},{"description":"Dutch.","value":"nl"}]}}},"description":"This sub-hash contains details about the Bancontact payment method."},"card":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"amount":{"type":"string","description":"Amount to be charged for future payments.","format":"int64"},"amount_type":{"type":"string","description":"The AmountType for the mandate. One of `fixed` or `maximum`.","enum":["fixed","maximum"],"x-stripeEnum":{"kind":"open","values":[{"description":"If `fixed`, the `amount` param refers to the exact amount to be charged in future payments.","value":"fixed"},{"description":"If `maximum`, the amount charged can be up to the value passed for the `amount` param.","value":"maximum"}]}},"description":{"type":"string","description":"A description of the mandate that is meant to be displayed to the customer."}},"description":"Configuration options for setting up an eMandate for cards issued in India."},"network":{"type":"string","description":"Selected network to process the payment on. Depends on the available networks of the card."},"request_three_d_secure":{"type":"string","description":"An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers\nfor authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication).\nHowever, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option.\nRead 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-stripeEnum":{"kind":"open","values":[{"description":"Use any to manually request 3DS with a preference for a frictionless flow, increasing the likelihood of the authentication being completed without any\nadditional input from the customer. 3DS is always attempted if supported for the card, but Stripe can't guarantee your preference because\nthe issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"any"},{"description":"Our SCA Engine automatically prompts your customers for authentication based on risk level and other requirements. This is the default option.","value":"automatic"},{"description":"Use challenge to request 3DS with a preference for a challenge flow, where the customer must respond to a prompt for active authentication. Stripe can't\nguarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"challenge"}]}}},"description":"This sub-hash contains details about the Card payment method options."},"customer_balance":{"type":"object","properties":{"bank_transfer":{"type":"object","properties":{"eu_bank_transfer":{"required":["country"],"type":"object","properties":{"country":{"type":"string","description":"The desired country code of the bank account information.","enum":["BE","DE","ES","FR","IE","NL"],"x-stripeEnum":{"kind":"open","values":[{"description":"Belgium.","value":"BE"},{"description":"Germany.","value":"DE"},{"description":"Spain.","value":"ES"},{"description":"France.","value":"FR"},{"description":"Ireland.","value":"IE"},{"description":"Netherlands.","value":"NL"}]}}},"description":"Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`."},"type":{"type":"string","description":"The bank transfer type that can be used for funding.","enum":["eu_bank_transfer","gb_bank_transfer","jp_bank_transfer","mx_bank_transfer","us_bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"EU Bank Transfer.","value":"eu_bank_transfer"},{"description":"GB Bank Transfer.","value":"gb_bank_transfer"},{"description":"JP Bank Transfer.","value":"jp_bank_transfer"},{"description":"MX Bank Transfer.","value":"mx_bank_transfer"},{"description":"US Bank Transfer.","value":"us_bank_transfer"}]}}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`."},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`.","enum":["bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank Transfer funding type.","value":"bank_transfer"}]}}},"description":"This sub-hash contains details about the Bank transfer payment method options."},"konbini":{"type":"object","properties":{},"description":"This sub-hash contains details about the Konbini payment method options."},"sepa_debit":{"type":"object","properties":{},"description":"This sub-hash contains details about the SEPA Direct Debit payment method options."},"us_bank_account":{"required":["financial_connections","verification_method"],"type":"object","properties":{"financial_connections":{"type":"object","properties":{"filters":{"type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts.","items":{"type":"string","enum":["checking","savings"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank account subcategory is checking.","value":"checking"},{"description":"Bank account subcategory is savings.","value":"savings"}]}}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method."},"permissions":{"type":"array","description":"The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included.","items":{"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeEnum":{"kind":"open","values":[{"description":"Balances permission.","value":"balances"},{"description":"Ownership permission.","value":"ownership"},{"description":"Payment method permission.","value":"payment_method"},{"description":"Transactions permission.","value":"transactions"}]}}},"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-stripeEnum":{"kind":"open","values":[{"description":"Requests to prefetch balance data on accounts collected in this session.","value":"balances"},{"description":"Requests to prefetch ownership data on accounts collected in this session.","value":"ownership"},{"description":"Requests to prefetch transaction data on accounts collected in this session.","value":"transactions"}]}}}},"description":"Additional fields for Financial Connections Session creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification only.","value":"instant"},{"description":"Verification using microdeposits. Cannot be used with Stripe Checkout, Hosted Invoices, or Payment Element.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the ACH direct debit payment method options."}},"description":"Payment Method specific configuration to be stored on the object."}}},"examples":{"example":{"value":{"pathParams":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI"},"requestBody":{"display_name":"New name","collection_method":"send_invoice"},"gated":true}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.collection_setting"},"examples":{"example":{"value":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"send_invoice","created":"2025-01-01T10:00:00.000Z","display_name":"New name","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.collection_method_incompatible_with_email_delivery"},{"$ref":"#/components/schemas/v2.error.collection_setting_not_found"},{"$ref":"#/components/schemas/v2.error.email_delivery_incompatible_with_collection_method"},{"$ref":"#/components/schemas/v2.error.invalid_payment_method_configuration_for_collection_setting"},{"$ref":"#/components/schemas/v2.error.lookup_key_already_used_for_collection_setting"},{"$ref":"#/components/schemas/v2.error.payment_method_configuration_not_found_for_collection_setting"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_collection_setting","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI"},"requestBody":{"display_name":"New name","collection_method":"send_invoice"},"gated":true},"response":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"send_invoice","created":"2025-01-01T10:00:00.000Z","display_name":"New name","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","livemode":true}}],"x-stripeErrors":[{"code":"collection_method_incompatible_with_email_delivery","description":"Returned when the collection method is incompatible with the email delivery.","httpStatusCode":400},{"code":"collection_setting_not_found","description":"Returned when the collection setting cannot be found.","httpStatusCode":404},{"code":"email_delivery_incompatible_with_collection_method","description":"Returned when the email delivery is incompatible with the collection method.","httpStatusCode":400},{"code":"invalid_payment_method_configuration_for_collection_setting","description":"Returned when the payment method configuration is not active.","httpStatusCode":400},{"code":"lookup_key_already_used_for_collection_setting","description":"Returned when the lookup key is already used for a collection setting.","httpStatusCode":400},{"code":"payment_method_configuration_not_found_for_collection_setting","description":"Returned when the payment method configuration cannot be found.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/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":"The identifier that was originally assigned to the meter 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 the type of cancellation. Currently supports canceling a single event.","enum":["cancel"],"x-stripeEnum":{"kind":"open","values":[{"description":"Cancel a single meter event by identifier.","value":"cancel"}]}}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"event_name":"ai_search_api","type":"cancel","cancel":{"identifier":"idmp_12345678"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.meter_event_adjustment"},"examples":{"example":{"value":{"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"}}}}}}},"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 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"},"examples":{"example":{"value":{"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"}}}}}},"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"}}}}}},"examples":{"example":{"value":{"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"}}]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"examples":{"example":{"value":{}}}}}},"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"}}},"examples":{"example":{"value":{"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"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.meter_event"},"examples":{"example":{"value":{"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"}}}}}}},"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/billing/profiles":{"get":{"summary":"List Billing Profiles","description":"List Billing Profiles.","operationId":"GetV2BillingProfiles","parameters":[{"name":"customer","in":"query","description":"Filter billing profiles by a customer. Mutually exclusive\nwith `lookup_keys` and `default_payment_method`.","required":false,"style":"form","schema":{"type":"string"}},{"name":"default_payment_method","in":"query","description":"Filter billing profiles by a default payment method. Mutually exclusive\nwith `customer` and `lookup_keys`.","required":false,"style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","description":"Optionally set the maximum number of results per page. Defaults to 10.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"lookup_keys","in":"query","description":"Filter billing profiles by lookup keys. Mutually exclusive\nwith `customer` and `default_payment_method`.\nYou can specify up to 10 lookup_keys.","required":true,"style":"deepObject","schema":{"type":"array","items":{"type":"string"}}},{"name":"status","in":"query","description":"Filter billing profiles by status. Can be combined\nwith all other filters. If not provided, all billing profiles are returned.","required":false,"style":"form","schema":{"type":"string","enum":["active","inactive"],"x-stripeEnum":{"kind":"open","values":[{"description":"The billing profile is active.","value":"active"},{"description":"The billing profile is inactive and cannot be used.","value":"inactive"}]}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"The retrieved Profile objects.","items":{"$ref":"#/components/schemas/v2.billing.profile"}},"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}}},"examples":{"example":{"value":{"data":[{"created":"2025-01-01T00:00:00.000Z","customer":"cus_123","default_payment_method":"pm_123","display_name":"Display Name","id":"bilp_123","lookup_key":"billing_profile_cus_123","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true}]}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.customer_not_found_for_billing_profile"},{"$ref":"#/components/schemas/v2.error.payment_method_not_found_for_billing_profile"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_billing_profiles","x-stripeDocsSamples":[{"request":{"gated":true,"pathParams":{},"requestBody":{"default_payment_method":"pm_123","lookup_keys":[]}},"response":{"data":[{"created":"2025-01-01T00:00:00.000Z","customer":"cus_123","default_payment_method":"pm_123","display_name":"Display Name","id":"bilp_123","lookup_key":"billing_profile_cus_123","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true}]}}],"x-stripeErrors":[{"code":"customer_not_found_for_billing_profile","description":"Returned when the customer for the provided ID cannot be found.","httpStatusCode":400},{"code":"payment_method_not_found_for_billing_profile","description":"Returned when the payment method for the provided ID cannot be found.","httpStatusCode":400}],"x-stripeNotPublic":true},"post":{"summary":"Create a Billing Profile","description":"Create a BillingProfile object.","operationId":"PostV2BillingProfiles","requestBody":{"content":{"application/json":{"schema":{"required":["customer"],"type":"object","properties":{"customer":{"type":"string","description":"The ID of the customer object."},"default_payment_method":{"type":"string","description":"The ID of the payment method object."},"display_name":{"type":"string","description":"A customer-facing name for the billing profile.\nMaximum length of 250 characters."},"lookup_key":{"type":"string","description":"An internal key you can use to search for a particular billing profile. It must be unique among billing profiles for a given customer.\nMaximum length of 200 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."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"customer":"cus_123","default_payment_method":"pm_123","display_name":"Display Name","lookup_key":"billing_profile_cus_123","metadata":{"test":"data"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.profile"},"examples":{"example":{"value":{"created":"2025-01-01T00:00:00.000Z","customer":"cus_123","default_payment_method":"pm_123","display_name":"Display Name","id":"bilp_123","lookup_key":"billing_profile_cus_123","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.customer_not_found_for_billing_profile"},{"$ref":"#/components/schemas/v2.error.invalid_customer_for_billing_profile"},{"$ref":"#/components/schemas/v2.error.lookup_key_already_exists_for_billing_profile"},{"$ref":"#/components/schemas/v2.error.payment_method_customer_mismatch_for_billing_profile"},{"$ref":"#/components/schemas/v2.error.payment_method_not_found_for_billing_profile"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_billing_profile","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"customer":"cus_123","default_payment_method":"pm_123","display_name":"Display Name","lookup_key":"billing_profile_cus_123","metadata":{"test":"data"}}},"response":{"created":"2025-01-01T00:00:00.000Z","customer":"cus_123","default_payment_method":"pm_123","display_name":"Display Name","id":"bilp_123","lookup_key":"billing_profile_cus_123","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true}}],"x-stripeErrors":[{"code":"customer_not_found_for_billing_profile","description":"Returned when the customer for the provided ID cannot be found.","httpStatusCode":400},{"code":"invalid_customer_for_billing_profile","description":"Returned when associating a billing profile with a deleted customer.","httpStatusCode":400},{"code":"lookup_key_already_exists_for_billing_profile","description":"Returned when the Lookup Key already exists for another billing profile for this customer.","httpStatusCode":400},{"code":"payment_method_customer_mismatch_for_billing_profile","description":"Returned when the payment method belongs to a different customer.","httpStatusCode":400},{"code":"payment_method_not_found_for_billing_profile","description":"Returned when the payment method for the provided ID cannot be found.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/billing/profiles/{id}":{"get":{"summary":"Retrieve a billing profile","description":"Retrieve a BillingProfile object.","operationId":"GetV2BillingProfilesId","parameters":[{"name":"id","in":"path","description":"The ID of the billing profile to Retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.profile"},"examples":{"example":{"value":{"created":"2025-01-01T00:00:00.000Z","customer":"cus_123","default_payment_method":"pm_123","display_name":"Display Name","id":"bilp_123","lookup_key":"billing_profile_cus_123","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.billing_profile_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_billing_profile","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"bilp_123"},"requestBody":{}},"response":{"created":"2025-01-01T00:00:00.000Z","customer":"cus_123","default_payment_method":"pm_123","display_name":"Display Name","id":"bilp_123","lookup_key":"billing_profile_cus_123","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true}}],"x-stripeErrors":[{"code":"billing_profile_not_found","description":"Returned when the Billing Profile for the provided ID cannot be found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Update a Billing Profile","description":"Update a BillingProfile object.","operationId":"PostV2BillingProfilesId","parameters":[{"name":"id","in":"path","description":"The ID of the billing profile to update.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"default_payment_method":{"type":"string","description":"The ID of the payment method object."},"display_name":{"type":"string","description":"A customer-facing name for the billing profile.\nMaximum length of 250 characters.\nTo remove the display_name from the object, set it to null in the request."},"lookup_key":{"type":"string","description":"An internal key you can use to search for a particular billing profile. It must be unique among billing profiles for a given customer.\nMaximum length of 200 characters.\nTo remove the lookup_key from the object, set it to null in the request."},"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."}}},"examples":{"example":{"value":{"pathParams":{"id":"bilp_123"},"requestBody":{"lookup_key":"business_profile_cus_123","display_name":"Business Profile"}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.profile"},"examples":{"example":{"value":{"created":"2025-01-01T00:00:00.000Z","customer":"cus_123","default_payment_method":"pm_123","display_name":"Business Profile","id":"bilp_123","lookup_key":"business_profile_cus_123","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.billing_profile_not_found"},{"$ref":"#/components/schemas/v2.error.lookup_key_already_exists_for_billing_profile"},{"$ref":"#/components/schemas/v2.error.payment_method_customer_mismatch_for_billing_profile"},{"$ref":"#/components/schemas/v2.error.payment_method_not_found_for_billing_profile"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_billing_profile","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"bilp_123"},"requestBody":{"lookup_key":"business_profile_cus_123","display_name":"Business Profile"}},"response":{"created":"2025-01-01T00:00:00.000Z","customer":"cus_123","default_payment_method":"pm_123","display_name":"Business Profile","id":"bilp_123","lookup_key":"business_profile_cus_123","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true}}],"x-stripeErrors":[{"code":"billing_profile_not_found","description":"Returned when the Billing Profile for the provided ID cannot be found.","httpStatusCode":404},{"code":"lookup_key_already_exists_for_billing_profile","description":"Returned when the Lookup Key already exists for another billing profile for this customer.","httpStatusCode":400},{"code":"payment_method_customer_mismatch_for_billing_profile","description":"Returned when the payment method belongs to a different customer.","httpStatusCode":400},{"code":"payment_method_not_found_for_billing_profile","description":"Returned when the payment method for the provided ID cannot be found.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/commerce/product_catalog/imports":{"get":{"summary":"List Product Catalog Imports","description":"Returns a list of ProductCatalogImport objects.","operationId":"GetV2CommerceProductCatalogImports","parameters":[{"name":"created","in":"query","description":"Filter for objects created at the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_gt","in":"query","description":"Filter for objects created after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_gte","in":"query","description":"Filter for objects created on or after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_lt","in":"query","description":"Filter for objects created before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_lte","in":"query","description":"Filter for objects created on or before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"feed_type","in":"query","description":"Filter by the type of feed data being imported.","required":false,"style":"form","schema":{"type":"string","enum":["inventory","pricing","product","promotion"],"x-stripeEnum":{"kind":"open","values":[{"description":"Inventory levels and stock availability feed.","value":"inventory"},{"description":"Pricing information feed including costs and currency data.","value":"pricing"},{"description":"Product information feed including SKUs, descriptions, and attributes.","value":"product"},{"description":"Promotional data feed including discounts and offers.","value":"promotion"}]}}},{"name":"limit","in":"query","description":"The maximum number of results per page.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"status","in":"query","description":"Filter by import status.","required":false,"style":"form","schema":{"type":"string","enum":["awaiting_upload","failed","processing","succeeded","succeeded_with_errors"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The import is waiting for the file to be uploaded.","value":"awaiting_upload"},{"description":"The import failed and no records were processed.","value":"failed"},{"description":"The import is processing the uploaded file.","value":"processing"},{"description":"The import completed successfully with all records processed.","value":"succeeded"},{"description":"The import completed but some records failed to process.","value":"succeeded_with_errors"}]}}}],"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 ProductCatalogImport objects.","items":{"$ref":"#/components/schemas/v2.commerce.product_catalog_import"}},"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}}},"examples":{"example":{"value":{"object":"v2.list","data":[{"id":"pcimprt_test_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","object":"v2.commerce.product_catalog_import","status":"awaiting_upload","created":"2026-01-01T00:00:00.000Z","status_details":{"awaiting_upload":{"upload_url":{"url":"https://stripeusercontent.com/files/us-west-2/upload/wksp_b1H","expires_at":"2026-01-01T01:00:00.000Z"}}},"metadata":{"file_name":"march_11_2026_product_upload.csv"}}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_product_catalog_imports","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"object":"v2.list","data":[{"id":"pcimprt_test_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","object":"v2.commerce.product_catalog_import","status":"awaiting_upload","created":"2026-01-01T00:00:00.000Z","status_details":{"awaiting_upload":{"upload_url":{"url":"https://stripeusercontent.com/files/us-west-2/upload/wksp_b1H","expires_at":"2026-01-01T01:00:00.000Z"}}},"metadata":{"file_name":"march_11_2026_product_upload.csv"}}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[]},"post":{"summary":"Create a Product Catalog Import","description":"Creates a ProductCatalogImport.","operationId":"PostV2CommerceProductCatalogImports","requestBody":{"content":{"application/json":{"schema":{"required":["feed_type","metadata","mode"],"type":"object","properties":{"feed_type":{"type":"string","description":"The type of catalog data to import.","enum":["inventory","pricing","product","promotion"],"x-stripeEnum":{"kind":"open","values":[{"description":"Inventory levels and stock availability feed.","value":"inventory"},{"description":"Pricing information feed including costs and currency data.","value":"pricing"},{"description":"Product information feed including SKUs, descriptions, and attributes.","value":"product"},{"description":"Promotional data feed including discounts and offers.","value":"promotion"}]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Additional information about the import in a structured format."},"mode":{"type":"string","description":"The strategy for handling existing catalog data during import.","enum":["replace","upsert"],"x-stripeEnum":{"kind":"open","values":[{"description":"Replace all existing catalog data with the imported data.","value":"replace"},{"description":"Update existing records and insert new ones.","value":"upsert"}]}}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"feed_type":"product","mode":"upsert","metadata":{"order_id":"12345","source":"api"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.commerce.product_catalog_import"},"examples":{"example":{"value":{"id":"pcimprt_test_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","object":"v2.commerce.product_catalog_import","status":"awaiting_upload","created":"2025-01-01T00:00:00.000Z","status_details":{"awaiting_upload":{"upload_url":{"url":"https://stripeusercontent.com/files/us-west-2/upload/wksp_hb7cNA","expires_at":"2025-01-01T01:00:00.000Z"}}},"metadata":{"file_name":"march_11_2026_product_upload.csv"}}}}}}},"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_create_product_catalog_import","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"feed_type":"product","mode":"upsert","metadata":{"order_id":"12345","source":"api"}}},"response":{"id":"pcimprt_test_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","object":"v2.commerce.product_catalog_import","status":"awaiting_upload","created":"2025-01-01T00:00:00.000Z","status_details":{"awaiting_upload":{"upload_url":{"url":"https://stripeusercontent.com/files/us-west-2/upload/wksp_hb7cNA","expires_at":"2025-01-01T01:00:00.000Z"}}},"metadata":{"file_name":"march_11_2026_product_upload.csv"}}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/commerce/product_catalog/imports/{id}":{"get":{"summary":"Retrieve a Product Catalog Import","description":"Retrieves a ProductCatalogImport by ID.","operationId":"GetV2CommerceProductCatalogImportsId","parameters":[{"name":"id","in":"path","description":"The ID of the ProductCatalogImport to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.commerce.product_catalog_import"},"examples":{"example":{"value":{"id":"pcimprt_test_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","object":"v2.commerce.product_catalog_import","status":"succeeded","created":"2025-01-01T00:00:00.000Z","status_details":{"succeeded":{"success_count":150}},"metadata":{"file_name":"march_11_2026_product_upload.csv"}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.resource_missing"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_product_catalog_import","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"pcimprt_test_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"},"requestBody":{}},"response":{"id":"pcimprt_test_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","object":"v2.commerce.product_catalog_import","status":"succeeded","created":"2025-01-01T00:00:00.000Z","status_details":{"succeeded":{"success_count":150}},"metadata":{"file_name":"march_11_2026_product_upload.csv"}}}],"x-stripeErrors":[{"code":"resource_missing","description":"Returned when looking up a non-existent product catalog import.","httpStatusCode":404}]}},"/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":["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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."},"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":["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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."},"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":{"kind":"open","values":[{"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":"Specifies the Stripe-hosted flow for this Account Link. Set `type` and the matching options hash—for example,\n`account_onboarding`—to configure the flow, including which Account configurations to collect information for and\nany flow-specific collection or redirect options."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"account":"acct_1Nv0FGQ9RKHgCVdK","use_case":{"type":"account_onboarding","account_onboarding":{"return_url":"https://example.com/return","refresh_url":"https://example.com/reauth"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_link"},"examples":{"example":{"value":{"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"}}}}}}},"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":{"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 merchant.","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":"Create an account token with a publishable key and pass it to the Accounts v2 API to\ncreate or update an account without its data touching your server.\nLearn more about [account tokens](https://docs.stripe.com/connect/account-tokens).\nIn live mode, you can only create account tokens with your application's publishable key.\nIn test mode, you can create account tokens with your secret key or publishable key.","operationId":"PostV2CoreAccountTokens","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"contact_email":{"type":"string","description":"The primary contact email address for the Account."},"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":{"kind":"closed","values":[{"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."},"money_manager":{"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 Treasury-specific terms of service; IP, date, and User Agent are expanded by Stripe.","x-stripeNotPublic":true}},"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":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the business.","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":["administrative","principal_place_of_business"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The business's place of administration.","value":"administrative"},{"description":"The business's principal place of business.","value":"principal_place_of_business"}]}},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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"}},"signer":{"required":["person"],"type":"object","properties":{"person":{"type":"string","description":"Person signing the document.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"description":"Person that is signing the document."},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":{"kind":"open","values":[{"description":"Document type with multiple files.","value":"files"}]}}},"description":"One or more documents that demonstrate proof of ultimate beneficial ownership."},"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"}},"signer":{"required":["person"],"type":"object","properties":{"person":{"type":"string","description":"Person signing the document.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"description":"Person that is signing the document."},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account."},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."}}},"examples":{"example":{"value":{"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"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_token"},"examples":{"example":{"value":{"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}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.non_connect_platform_accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.platform_registration_required"},{"$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":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","httpStatusCode":400},{"code":"platform_registration_required","description":"The direct merchant has not signed up for Connect and cannot create connected accounts.","httpStatusCode":400},{"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"},"examples":{"example":{"value":{"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}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.non_connect_platform_accounts_v2_access_blocked"},{"$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":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","httpStatusCode":400},{"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","money_manager"],"x-stripeEnum":{"kind":"closed","values":[{"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"},{"description":"The Account can be used as a money manager.","value":"money_manager"}]}}}},{"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}}},"examples":{"example":{"value":{"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"}}}}}},"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.non_connect_platform_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 merchant.","httpStatusCode":400},{"code":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","httpStatusCode":400}]},"post":{"summary":"Create an account","description":"Create an Account that represents a company, individual, or other entity that your business 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":{"kind":"closed","values":[{"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_source":{"type":"string","description":"The data source used to identify the customer's tax location - defaults to `identity_address`. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions. This behavior is now deprecated for new users.","enum":["identity_address","ip_address","payment_method","shipping_address"],"x-stripeEnum":{"kind":"closed","values":[{"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"}]},"x-stripeNotPublic":true}},"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":{"kind":"closed","values":[{"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 (i.e. customer-facing payment and billing 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."},"blik_recurring_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 recurring 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."},"satispay_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 Satispay 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."},"sequra_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 SeQura payments."},"sunbit_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 Sunbit 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."},"sepa_debit_payments":{"type":"object","properties":{"creditor_id":{"type":"string","description":"Creditor ID for SEPA Direct Debit payments."}},"description":"Settings used for SEPA Direct Debit payments."},"smart_disputes":{"type":"object","properties":{"auto_respond":{"type":"object","properties":{"preference":{"type":"string","description":"The preference for Smart Disputes auto-respond.","enum":["inherit","off","on"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The account will inherit your Smart Disputes auto-respond setting.","value":"inherit"},{"description":"The account will have Smart Disputes auto-respond turned off. Smart Disputes will not automatically submit disputes before they time out for the account.","value":"off"},{"description":"The account will have Smart Disputes auto-respond turned on. Smart Disputes will automatically submit disputes before they time out for the account.","value":"on"}]}}},"description":"Settings for Smart Disputes auto_respond."}},"description":"Settings used for Smart Disputes.","x-stripeNotPublic":true},"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."},"money_manager":{"type":"object","properties":{"capabilities":{"type":"object","properties":{"business_storage":{"type":"object","properties":{"inbound":{"type":"object","properties":{"aud":{"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":"Can receive business storage-type funds on Stripe in AUD."},"cad":{"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":"Can receive business storage-type funds on Stripe in CAD."},"eur":{"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":"Can receive business storage-type funds on Stripe in EUR."},"gbp":{"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":"Can receive business storage-type funds on Stripe in GBP."},"usd":{"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":"Can receive business storage-type funds on Stripe in USD."}},"description":"Can receive business storage-type funds on Stripe."},"outbound":{"type":"object","properties":{"aud":{"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":"Can send business storage-type funds on Stripe in AUD."},"cad":{"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":"Can send business storage-type funds on Stripe in CAD."},"eur":{"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":"Can send business storage-type funds on Stripe in EUR."},"gbp":{"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":"Can send business storage-type funds on Stripe in GBP."},"usd":{"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":"Can send business storage-type funds on Stripe in USD."}},"description":"Can send business storage-type funds on Stripe."}},"description":"Can send or receive business storage-type funds on Stripe."},"inbound_transfers":{"type":"object","properties":{"bank_accounts":{"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":"Can pull funds from an external bank account owned by yourself to a FinancialAccount."}},"description":"Can pull funds from an external source, owned by yourself, to a FinancialAccount."},"outbound_payments":{"type":"object","properties":{"bank_accounts":{"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":"Can send funds from a FinancialAccount to a bank account owned by someone else."},"cards":{"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":"Can send funds from a FinancialAccount to a debit card owned by someone else."},"financial_accounts":{"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":"Can send funds from a FinancialAccount to another FinancialAccount owned by someone else."}},"description":"Can send funds from a FinancialAccount to a destination owned by someone else."},"outbound_transfers":{"type":"object","properties":{"bank_accounts":{"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":"Can send funds from a FinancialAccount to a bank account owned by yourself."},"financial_accounts":{"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":"Can send funds from a FinancialAccount to another FinancialAccount owned by yourself."}},"description":"Can send funds from a FinancialAccount to a destination owned by yourself."},"received_credits":{"type":"object","properties":{"bank_accounts":{"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":"Can receive funds on a bank-account-like financial address (VBAN) to credit a FinancialAccount."}},"description":"Can receive funds into a FinancialAccount."},"received_debits":{"type":"object","properties":{"bank_accounts":{"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":"Can receive debits to a FinancialAccount from a bank account."}},"description":"Can receive debits to a FinancialAccount.","x-stripeNotPublic":true}},"description":"Capabilities to request on the Money Manager Configuration."}},"description":"The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts.","x-stripeNotPublic":true},"recipient":{"type":"object","properties":{"capabilities":{"type":"object","properties":{"bank_accounts":{"type":"object","properties":{"local":{"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 OutboundPayments to linked bank accounts over local networks.","x-stripeNotPublic":true},"wire":{"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 OutboundPayments to linked bank accounts over wire.","x-stripeNotPublic":true}},"description":"Capabilities that enable OutboundPayments to a bank account linked to this Account.","x-stripeNotPublic":true},"cards":{"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":"Capabilities that enable OutboundPayments to a card linked to this Account.","x-stripeNotPublic":true},"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 primary contact email address for the Account."},"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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."},"timezone":{"type":"string","description":"The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).","x-stripeNotPublic":true}},"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":{"kind":"closed","values":[{"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)."},"money_manager":{"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 Treasury-specific terms of service.","x-stripeNotPublic":true}},"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":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the business.","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":["administrative","principal_place_of_business"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The business's place of administration.","value":"administrative"},{"description":"The business's principal place of business.","value":"principal_place_of_business"}]}},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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"}},"signer":{"required":["person"],"type":"object","properties":{"person":{"type":"string","description":"Person signing the document.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"description":"Person that is signing the document."},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":{"kind":"open","values":[{"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"}},"signer":{"required":["person"],"type":"object","properties":{"person":{"type":"string","description":"Person signing the document.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"description":"Person that is signing the document."},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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 represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.","enum":["company","government_entity","individual","non_profit"],"x-stripeEnum":{"kind":"open","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account."},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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","configuration.money_manager","defaults","future_requirements","identity","requirements"],"x-stripeEnum":{"kind":"closed","values":[{"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 `configuration.money_manager` on an Account.","value":"configuration.money_manager"},{"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."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"contact_email":"furever@example.com","display_name":"Furever","identity":{"country":"us","entity_type":"company","business_details":{"registered_name":"Furever","additional_addresses":[{"purpose":"principal_place_of_business","country":"us","line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"CA","postal_code":"94080"},{"purpose":"administrative","country":"us","line1":"510 Townsend St","city":"San Francisco","state":"CA","postal_code":"94103"}]}},"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"]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account"},"examples":{"example":{"value":{"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","additional_addresses":[{"purpose":"principal_place_of_business","country":"US","line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"CA","postal_code":"94080"},{"purpose":"administrative","country":"US","line1":"510 Townsend St","city":"San Francisco","state":"CA","postal_code":"94103"}]},"country":"US","entity_type":"company"},"livemode":false,"defaults":{"currency":"usd","responsibilities":{"fees_collector":"stripe","losses_collector":"stripe","requirements_collector":"stripe"}},"display_name":"Furever"}}}}}},"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_losses_collector_unavailable"},{"$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_sepa_creditor_id_format"},{"$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_connect_platform_accounts_v2_access_blocked"},{"$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.sepa_debit_creditor_identifier_not_allowed"},{"$ref":"#/components/schemas/v2.error.sepa_debit_stripe_creditor_identifier"},{"$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","additional_addresses":[{"purpose":"principal_place_of_business","country":"us","line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"CA","postal_code":"94080"},{"purpose":"administrative","country":"us","line1":"510 Townsend St","city":"San Francisco","state":"CA","postal_code":"94103"}]}},"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","additional_addresses":[{"purpose":"principal_place_of_business","country":"US","line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"CA","postal_code":"94080"},{"purpose":"administrative","country":"US","line1":"510 Townsend St","city":"San Francisco","state":"CA","postal_code":"94103"}]},"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_losses_collector_unavailable","description":"Account creation error - losses collector unavailable.","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 merchant.","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_sepa_creditor_id_format","description":"The SEPA Creditor Identifier 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_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","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":"The direct merchant 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":"sepa_debit_creditor_identifier_not_allowed","description":"The SEPA Creditor Identifier is blocked from use at Stripe.","httpStatusCode":400},{"code":"sepa_debit_stripe_creditor_identifier","description":"A Stripe-owned shared SEPA Creditor Identifier cannot be set as a custom identifier.","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 single-use token that represents the details for a person. Use this when you create or update persons associated with an Account v2. Learn more about [account tokens](https://docs.stripe.com/connect/account-tokens).\nYou can only create person tokens with your application's publishable key and in live mode. You can use your application's secret key to create person tokens only in test mode.","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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."}}},"examples":{"example":{"value":{"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"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_person_token"},"examples":{"example":{"value":{"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}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.non_connect_platform_accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.platform_registration_required"},{"$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":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","httpStatusCode":400},{"code":"platform_registration_required","description":"The direct merchant has not signed up for Connect and cannot create connected accounts.","httpStatusCode":400},{"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"},"examples":{"example":{"value":{"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}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.non_connect_platform_accounts_v2_access_blocked"},{"$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":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","httpStatusCode":400},{"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}}},"examples":{"example":{"value":{"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"}]}}}}}},"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.non_connect_platform_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 merchant.","httpStatusCode":400},{"code":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."}}},"examples":{"example":{"value":{"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"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_person"},"examples":{"example":{"value":{"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"}}}}}},"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_connect_platform_accounts_v2_access_blocked"},{"$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.platform_registration_required"},{"$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 merchant.","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_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","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":"platform_registration_required","description":"The direct merchant 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":"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"},"examples":{"example":{"value":{"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"}}}}}},"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.non_connect_platform_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 merchant.","httpStatusCode":400},{"code":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."}}},"examples":{"example":{"value":{"pathParams":{"account_id":"acct_1Nv0FGQ9RKHgCVdK","id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY"},"requestBody":{"date_of_birth":{"day":28,"month":1,"year":2000}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_person"},"examples":{"example":{"value":{"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"}}}}}},"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_connect_platform_accounts_v2_access_blocked"},{"$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.platform_registration_required"},{"$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 merchant.","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_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","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":"platform_registration_required","description":"The direct merchant 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":"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"},"examples":{"example":{"value":{"id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person","deleted":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.non_connect_platform_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 merchant.","httpStatusCode":400},{"code":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","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","configuration.money_manager","defaults","future_requirements","identity","requirements"],"x-stripeEnum":{"kind":"closed","values":[{"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 `configuration.money_manager` on an Account.","value":"configuration.money_manager"},{"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"},"examples":{"example":{"value":{"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":{}}}}}}},"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.non_connect_platform_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 merchant.","httpStatusCode":400},{"code":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","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":{"kind":"closed","values":[{"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_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":{"kind":"closed","values":[{"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"}]},"x-stripeNotPublic":true},"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":{"kind":"closed","values":[{"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":"The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method 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":{"kind":"closed","values":[{"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."},"blik_recurring_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 recurring 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."},"satispay_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 Satispay 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."},"sequra_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 SeQura payments."},"sunbit_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 Sunbit 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."},"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."},"smart_disputes":{"type":"object","properties":{"auto_respond":{"type":"object","properties":{"preference":{"type":"string","description":"The preference for automatic dispute responses.","enum":["inherit","off","on"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The account will inherit your Smart Disputes auto-respond setting.","value":"inherit"},{"description":"The account will have Smart Disputes auto-respond turned off. Smart Disputes will not automatically submit disputes before they time out for the account.","value":"off"},{"description":"The account will have Smart Disputes auto-respond turned on. Smart Disputes will automatically submit disputes before they time out for the account.","value":"on"}]}}},"description":"Settings for Smart Disputes auto_respond."}},"description":"Settings for Smart Disputes automatic response feature.","x-stripeNotPublic":true},"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."},"money_manager":{"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":{"business_storage":{"type":"object","properties":{"inbound":{"type":"object","properties":{"aud":{"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":"Can receive business storage-type funds on Stripe in AUD."},"cad":{"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":"Can receive business storage-type funds on Stripe in CAD."},"eur":{"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":"Can receive business storage-type funds on Stripe in EUR."},"gbp":{"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":"Can receive business storage-type funds on Stripe in GBP."},"usd":{"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":"Can receive business storage-type funds on Stripe in USD."}},"description":"Can receive business storage-type funds on Stripe."},"outbound":{"type":"object","properties":{"aud":{"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":"Can send business storage-type funds on Stripe in AUD."},"cad":{"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":"Can send business storage-type funds on Stripe in CAD."},"eur":{"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":"Can send business storage-type funds on Stripe in EUR."},"gbp":{"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":"Can send business storage-type funds on Stripe in GBP."},"usd":{"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":"Can send business storage-type funds on Stripe in USD."}},"description":"Can send business storage-type funds on Stripe."}},"description":"Can send or receive business storage-type funds on Stripe."},"inbound_transfers":{"type":"object","properties":{"bank_accounts":{"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":"Can pull funds from an external bank account owned by yourself to a FinancialAccount."}},"description":"Can pull funds from an external source, owned by yourself, to a FinancialAccount."},"outbound_payments":{"type":"object","properties":{"bank_accounts":{"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":"Can send funds from a FinancialAccount to a bank account owned by someone else."},"cards":{"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":"Can send funds from a FinancialAccount to a debit card owned by someone else."},"financial_accounts":{"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":"Can send funds from a FinancialAccount to another FinancialAccount owned by someone else."}},"description":"Can send funds from a FinancialAccount to a destination owned by someone else."},"outbound_transfers":{"type":"object","properties":{"bank_accounts":{"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":"Can send funds from a FinancialAccount to a bank account owned by yourself."},"financial_accounts":{"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":"Can send funds from a FinancialAccount to another FinancialAccount owned by yourself."}},"description":"Can send funds from a FinancialAccount to a destination owned by yourself."},"received_credits":{"type":"object","properties":{"bank_accounts":{"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":"Can receive funds on a bank-account-like financial address (VBAN) to credit a FinancialAccount."}},"description":"Can receive funds on a financial address to credit a FinancialAccount."},"received_debits":{"type":"object","properties":{"bank_accounts":{"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":"Can receive debits to a FinancialAccount from a bank account."}},"description":"Can receive debits to a FinancialAccount.","x-stripeNotPublic":true}},"description":"Capabilities to request on the Money Manager Configuration."}},"description":"The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts.","x-stripeNotPublic":true},"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":{"bank_accounts":{"type":"object","properties":{"local":{"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 OutboundPayments to linked bank accounts over local networks.","x-stripeNotPublic":true},"wire":{"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 OutboundPayments to linked bank accounts over wire.","x-stripeNotPublic":true}},"description":"Capabilities that enable OutboundPayments to a bank account linked to this Account.","x-stripeNotPublic":true},"cards":{"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":"Capability that enable OutboundPayments to a debit card linked to this Account.","x-stripeNotPublic":true},"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."},"default_outbound_destination":{"type":"string","description":"The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).","x-stripeNotPublic":true,"x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.payout_method"}}}},"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 primary contact email address for the Account."},"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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"}]}}},"payout_methods":{"type":"object","additionalProperties":{"type":"string"},"description":"Default payout methods per currency. Keys are three-letter [ISO currency codes](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Values are v2 Payout Method IDs."},"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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."},"timezone":{"type":"string","description":"The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).","x-stripeNotPublic":true}},"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":{"kind":"closed","values":[{"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_money_manager":{"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-specific terms of service."},"money_manager":{"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":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the business.","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":["administrative","principal_place_of_business"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The business's place of administration.","value":"administrative"},{"description":"The business's principal place of business.","value":"principal_place_of_business"}]}},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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"}},"signer":{"required":["person"],"type":"object","properties":{"person":{"type":"string","description":"Person signing the document.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"description":"Person that is signing the document."},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":{"kind":"open","values":[{"description":"Document type with multiple files.","value":"files"}]}}},"description":"One or more documents that demonstrate proof of ultimate beneficial ownership."},"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"}},"signer":{"required":["person"],"type":"object","properties":{"person":{"type":"string","description":"Person signing the document.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"description":"Person that is signing the document."},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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 represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.","enum":["company","government_entity","individual","non_profit"],"x-stripeEnum":{"kind":"open","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account."},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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","configuration.money_manager","defaults","future_requirements","identity","requirements"],"x-stripeEnum":{"kind":"closed","values":[{"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 `configuration.money_manager` on an Account.","value":"configuration.money_manager"},{"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."}}},"examples":{"example":{"value":{"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"]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account"},"examples":{"example":{"value":{"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":{}}}}}}},"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_add_connect_due_to_incompatible_default_payout_method"},{"$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.incompatible_default_payout_method"},{"$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_sepa_creditor_id_format"},{"$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_connect_platform_accounts_v2_access_blocked"},{"$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.payout_method_incompatible_type"},{"$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.sepa_debit_creditor_identifier_not_allowed"},{"$ref":"#/components/schemas/v2.error.sepa_debit_stripe_creditor_identifier"},{"$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 merchant.","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_add_connect_due_to_incompatible_default_payout_method","description":"A v2 account cannot have a Connect configuration applied because a default payout method is not supported in Connect.","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":"incompatible_default_payout_method","description":"A `defaults.payout_methods` value is not supported as a default payout method in Connect.","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_sepa_creditor_id_format","description":"The SEPA Creditor Identifier 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_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","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":"payout_method_incompatible_type","description":"A v1 External Account ID was passed as a `defaults.payout_methods` value, which is not supported in Accounts v2.","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":"The direct merchant 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":"sepa_debit_creditor_identifier_not_allowed","description":"The SEPA Creditor Identifier is blocked from use at Stripe.","httpStatusCode":400},{"code":"sepa_debit_stripe_creditor_identifier","description":"A Stripe-owned shared SEPA Creditor Identifier cannot be set as a custom identifier.","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","money_manager"],"x-stripeEnum":{"kind":"closed","values":[{"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"},{"description":"The Account can be used as a money manager.","value":"money_manager"}]}}}}},"examples":{"example":{"value":{"pathParams":{"id":"acct_1Nv0FGQ9RKHgCVdK"},"requestBody":{"applied_configurations":["merchant"]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account"},"examples":{"example":{"value":{"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":{}}}}}}},"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.non_connect_platform_accounts_v2_access_blocked"},{"$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 merchant.","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":"non_connect_platform_accounts_v2_access_blocked","description":"Needs to use the newer API version or onboard to Connect.","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":"The direct merchant 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/approval_requests":{"get":{"summary":"List Approval Requests","description":"GET /v2/core/approval_requests\nLists approval requests with optional filtering.","operationId":"GetV2CoreApprovalRequests","parameters":[{"name":"action","in":"query","description":"Filter by action type (e.g. \"refund.create\", \"payment_intent.create\", \"payout.create\").","required":false,"style":"form","schema":{"type":"string"}},{"name":"created","in":"query","description":"Filter by creation time.","required":false,"style":"deepObject","schema":{"type":"object","properties":{"gt":{"type":"string","description":"Filter for objects created after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"gte":{"type":"string","description":"Filter for objects created on or after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"lt":{"type":"string","description":"Filter for objects created before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"lte":{"type":"string","description":"Filter for objects created on or before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"}}}},{"name":"limit","in":"query","description":"Maximum number of results to return.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"status","in":"query","description":"Filter by approval request status (e.g. \"requires_review\", \"approved\", \"succeeded\", \"failed\", \"rejected\", \"canceled\", \"expired\").","required":false,"style":"form","schema":{"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 approval requests.","items":{"$ref":"#/components/schemas/v2.core.approval_request"}},"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}}},"examples":{"list-approval-requests":{"summary":"List approval requests","value":{"data":[{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"requires_review","reason":null,"dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":null,"expired_at":null},"review":null}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_approval_requests","x-stripeDocsSamples":[{"title":"List approval requests","request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"requires_review","reason":null,"dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":null,"expired_at":null},"review":null}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[]}},"/v2/core/approval_requests/{id}":{"get":{"summary":"Retrieve an Approval Request","description":"GET /v2/core/approval_requests/:id\nRetrieves an approval request by ID.","operationId":"GetV2CoreApprovalRequestsId","parameters":[{"name":"id","in":"path","description":"The unique identifier for this ApprovalRequest.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.approval_request"},"examples":{"retrieve-an-approval-request":{"summary":"Retrieve an approval request","value":{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"requires_review","reason":null,"dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":null,"expired_at":null},"review":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.approval_expired"},{"$ref":"#/components/schemas/v2.error.approval_request_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_approval_request","x-stripeDocsSamples":[{"title":"Retrieve an approval request","request":{"pathParams":{"id":"areq_1234567890abcdef"},"requestBody":{}},"response":{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"requires_review","reason":null,"dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":null,"expired_at":null},"review":null}}],"x-stripeErrors":[{"code":"approval_expired","description":"Returned when the approval request has expired.","httpStatusCode":400},{"code":"approval_request_not_found","description":"Returned when the approval request cannot be found.","httpStatusCode":404}]},"post":{"summary":"Update an Approval Request","description":"POST /v2/core/approval_requests/:id\nUpdates a pending approval request's mutable fields.","operationId":"PostV2CoreApprovalRequestsId","parameters":[{"name":"id","in":"path","description":"The unique identifier for this ApprovalRequest.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","description":"The updated reason for the approval request."}}},"examples":{"update-an-approval-request":{"summary":"Update an approval request","value":{"pathParams":{"id":"areq_1234567890abcdef"},"requestBody":{"reason":"Approved by finance lead over Slack; updating context for reviewers."}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.approval_request"},"examples":{"update-an-approval-request":{"summary":"Update an approval request","value":{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"requires_review","reason":"Approved by finance lead over Slack; updating context for reviewers.","dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":null,"expired_at":null},"review":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.approval_expired"},{"$ref":"#/components/schemas/v2.error.approval_request_not_found"},{"$ref":"#/components/schemas/v2.error.invalid_status_transition"},{"$ref":"#/components/schemas/v2.error.not_authorized"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_approval_request","x-stripeDocsSamples":[{"title":"Update an approval request","request":{"pathParams":{"id":"areq_1234567890abcdef"},"requestBody":{"reason":"Approved by finance lead over Slack; updating context for reviewers."}},"response":{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"requires_review","reason":"Approved by finance lead over Slack; updating context for reviewers.","dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":null,"expired_at":null},"review":null}}],"x-stripeErrors":[{"code":"approval_expired","description":"Returned when the approval request has expired.","httpStatusCode":400},{"code":"approval_request_not_found","description":"Returned when the approval request cannot be found.","httpStatusCode":404},{"code":"invalid_status_transition","description":"Returned when the status transition is not valid for this operation.","httpStatusCode":409},{"code":"not_authorized","description":"Returned when the caller is not authorized to perform this action.","httpStatusCode":403}]}},"/v2/core/approval_requests/{id}/cancel":{"post":{"summary":"Cancel an Approval Request","description":"POST /v2/core/approval_requests/:id/cancel\nCancels a pending approval request.","operationId":"PostV2CoreApprovalRequestsIdCancel","parameters":[{"name":"id","in":"path","description":"The unique identifier for this ApprovalRequest.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.approval_request"},"examples":{"cancel-an-approval-request":{"summary":"Cancel an approval request","value":{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"canceled","reason":null,"dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":"2025-01-15T11:00:00.000Z","expired_at":null},"review":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.approval_expired"},{"$ref":"#/components/schemas/v2.error.approval_request_not_found"},{"$ref":"#/components/schemas/v2.error.invalid_status_transition"},{"$ref":"#/components/schemas/v2.error.not_authorized"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_cancel_approval_request","x-stripeDocsSamples":[{"title":"Cancel an approval request","request":{"pathParams":{"id":"areq_1234567890abcdef"},"requestBody":{}},"response":{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"canceled","reason":null,"dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":"2025-01-15T11:00:00.000Z","expired_at":null},"review":null}}],"x-stripeErrors":[{"code":"approval_expired","description":"Returned when the approval request has expired.","httpStatusCode":400},{"code":"approval_request_not_found","description":"Returned when the approval request cannot be found.","httpStatusCode":404},{"code":"invalid_status_transition","description":"Returned when the status transition is not valid for this operation.","httpStatusCode":409},{"code":"not_authorized","description":"Returned when the caller is not authorized to perform this action.","httpStatusCode":403}]}},"/v2/core/batch_jobs":{"post":{"summary":"Create a Batch Job","description":"Creates a new batch job.","operationId":"PostV2CoreBatchJobs","requestBody":{"content":{"application/json":{"schema":{"required":["endpoint","skip_validation"],"type":"object","properties":{"endpoint":{"required":["http_method","path"],"type":"object","properties":{"http_method":{"type":"string","description":"The HTTP method to use when calling the endpoint.","enum":["delete","post"],"x-stripeEnum":{"kind":"closed","values":[{"description":"HTTP DELETE method.","value":"delete"},{"description":"HTTP POST method.","value":"post"}]}},"path":{"type":"string","description":"The path of the endpoint to run this batch job against.\nIn the form used in the documentation. For instance, for\nsubscription migration this would be `/v1/subscriptions/:id/migrate`."}},"description":"The endpoint configuration for the batch job."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"The metadata of the `batch_job`."},"notification_suppression":{"required":["scope"],"type":"object","properties":{"scope":{"type":"string","description":"The scope of notification suppression.","enum":["all","none"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Suppress all notifications for the batch job.","value":"all"},{"description":"Do not suppress any notifications for the batch job.","value":"none"}]}}},"description":"Notification suppression settings for the batch job."},"skip_validation":{"type":"boolean","description":"Allows the user to skip validation."}}},"examples":{"create-a-batch-job":{"summary":"Create a batch job","value":{"pathParams":{},"requestBody":{"endpoint":{"path":"/v1/subscriptions/:subscription/migrate","http_method":"post"},"metadata":{},"skip_validation":false}}},"create-with-skip-validation":{"summary":"Create with skip validation","value":{"pathParams":{},"requestBody":{"endpoint":{"path":"/v1/customers/:customer","http_method":"post"},"skip_validation":true,"metadata":{"batch_id":"run_abc123"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.batch_job"},"examples":{"create-a-batch-job":{"summary":"Create a batch job","value":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"ready_for_upload","status_details":{"ready_for_upload":{"upload_url":{"expires_at":"2026-03-09T21:00:31.000Z","url":"https://stripeusercontent.com/files/upload/..."}}}}},"create-with-skip-validation":{"summary":"Create with skip validation","value":{"id":"batchv2_BcDeFgHiJkLmNoPqRsTuVwXyZa","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{"batch_id":"run_abc123"},"skip_validation":true,"status":"ready_for_upload","status_details":{"ready_for_upload":{"upload_url":{"expires_at":"2026-03-09T21:00:31.000Z","url":"https://stripeusercontent.com/files/upload/..."}}}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.auth_unauthorized_endpoint"},{"$ref":"#/components/schemas/v2.error.batch_api_unsupported_endpoint"},{"$ref":"#/components/schemas/v2.error.stripe_api_version_not_provided"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_batch_job","x-stripeDocsSamples":[{"title":"Create a batch job","request":{"pathParams":{},"requestBody":{"endpoint":{"path":"/v1/subscriptions/:subscription/migrate","http_method":"post"},"metadata":{},"skip_validation":false}},"response":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"ready_for_upload","status_details":{"ready_for_upload":{"upload_url":{"expires_at":"2026-03-09T21:00:31.000Z","url":"https://stripeusercontent.com/files/upload/..."}}}}},{"title":"Create with skip validation","request":{"pathParams":{},"requestBody":{"endpoint":{"path":"/v1/customers/:customer","http_method":"post"},"skip_validation":true,"metadata":{"batch_id":"run_abc123"}}},"response":{"id":"batchv2_BcDeFgHiJkLmNoPqRsTuVwXyZa","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{"batch_id":"run_abc123"},"skip_validation":true,"status":"ready_for_upload","status_details":{"ready_for_upload":{"upload_url":{"expires_at":"2026-03-09T21:00:31.000Z","url":"https://stripeusercontent.com/files/upload/..."}}}}}],"x-stripeErrors":[{"code":"auth_unauthorized_endpoint","description":"Returned when merchant isn't allowed to access endpoint.","httpStatusCode":400},{"code":"batch_api_unsupported_endpoint","description":"Returned when using an invalid endpoint.","httpStatusCode":400},{"code":"stripe_api_version_not_provided","description":"Returned when the Stripe API version is not provided on the request.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/core/batch_jobs/{id}":{"get":{"summary":"Retrieve a Batch Job","description":"Retrieves an existing batch job.","operationId":"GetV2CoreBatchJobsId","parameters":[{"name":"id","in":"path","description":"The ID of the `batch_job` to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.batch_job"},"examples":{"retrieve-a-complete-batch-job":{"summary":"Retrieve a complete batch job","value":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"complete","status_details":{"complete":{"output_file":{"content_type":"application/jsonlines","download_url":{"expires_at":"2026-03-09T22:05:31.000Z","url":"https://stripeusercontent.com/files/download/..."},"size":"8514"},"success_count":"100","failure_count":"0"}}}},"retrieve-an-in-progress-batch-job":{"summary":"Retrieve an in-progress batch job","value":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"in_progress","status_details":{"in_progress":{"success_count":"45","failure_count":"2"}}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.batch_job_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_batch_job","x-stripeDocsSamples":[{"title":"Retrieve a complete batch job","request":{"pathParams":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz"},"requestBody":{}},"response":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"complete","status_details":{"complete":{"output_file":{"content_type":"application/jsonlines","download_url":{"expires_at":"2026-03-09T22:05:31.000Z","url":"https://stripeusercontent.com/files/download/..."},"size":"8514"},"success_count":"100","failure_count":"0"}}}},{"title":"Retrieve an in-progress batch job","request":{"pathParams":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz"},"requestBody":{}},"response":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"in_progress","status_details":{"in_progress":{"success_count":"45","failure_count":"2"}}}}],"x-stripeErrors":[{"code":"batch_job_not_found","description":"Returned when no `batch_job` was found for the given ID.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/core/batch_jobs/{id}/cancel":{"post":{"summary":"Cancel a Batch Job","description":"Cancels an existing batch job.","operationId":"PostV2CoreBatchJobsIdCancel","parameters":[{"name":"id","in":"path","description":"The ID of the `batch_job` to cancel.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.batch_job"},"examples":{"cancel-a-batch-job":{"summary":"Cancel a batch job","value":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"cancelling","status_details":{}}},"cancel-a-batch-job-already-cancelled":{"summary":"Cancel a batch job (already cancelled)","value":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"canceled","status_details":{"canceled":{"output_file":{"content_type":"application/jsonlines","download_url":{"expires_at":"2026-03-09T22:05:31.000Z","url":"https://stripeusercontent.com/files/download/..."},"size":"2048"},"success_count":"30","failure_count":"5"}}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.batch_api_non_cancellable_job"},{"$ref":"#/components/schemas/v2.error.batch_job_not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_cancel_batch_job","x-stripeDocsSamples":[{"title":"Cancel a batch job","request":{"pathParams":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz"},"requestBody":{}},"response":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"cancelling","status_details":{}}},{"title":"Cancel a batch job (already cancelled)","request":{"pathParams":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz"},"requestBody":{}},"response":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"canceled","status_details":{"canceled":{"output_file":{"content_type":"application/jsonlines","download_url":{"expires_at":"2026-03-09T22:05:31.000Z","url":"https://stripeusercontent.com/files/download/..."},"size":"2048"},"success_count":"30","failure_count":"5"}}}}],"x-stripeErrors":[{"code":"batch_api_non_cancellable_job","description":"Returned when a `batch_job` was found but can't be canceled.","httpStatusCode":400},{"code":"batch_job_not_found","description":"Returned when no `batch_job` was found for the given ID.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/core/event_destinations":{"get":{"summary":"List Event Destinations","description":"Lists all event destinations.","operationId":"GetV2CoreEventDestinations","parameters":[{"name":"include","in":"query","description":"Include the normally redacted `webhook_endpoint.url` in each returned destination.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["webhook_endpoint.url"],"x-stripeEnum":{"kind":"open","values":[{"description":"Include the normally redacted `webhook_endpoint.url` in the response.","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}}},"examples":{"example":{"value":{"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}}}}}},"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":"Your AWS account where Stripe creates the partner event source."},"aws_region":{"type":"string","description":"The AWS region where Stripe creates the partner event source."}},"description":"AWS account and region where Stripe creates the EventBridge partner event source."},"azure_event_grid":{"required":["azure_region","azure_resource_group_name","azure_subscription_id"],"type":"object","properties":{"azure_region":{"type":"string","description":"The Azure region where Stripe creates the partner topic."},"azure_resource_group_name":{"type":"string","description":"The Azure resource group where Stripe creates the partner topic."},"azure_subscription_id":{"type":"string","description":"The Azure subscription where Stripe creates the partner topic."}},"description":"Azure subscription, resource group, and region where Stripe creates the partner topic."},"description":{"type":"string","description":"An optional user-defined description of the destination's purpose."},"enabled_events":{"type":"array","description":"The list of event types enabled for delivery to this destination.","items":{"type":"string"}},"event_payload":{"type":"string","description":"Whether to deliver as snapshot or thin events.","enum":["snapshot","thin"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Events that contain full resource objects in the delivered payload, rendered using a specified API version.","value":"snapshot"},{"description":"A lightweight event notification with an unversioned payload. It identifies the related Stripe resource so you can retrieve the complete event or the resource’s current state. This reduces coupling to API-versioned object snapshots and makes event handlers easier to maintain.","value":"thin"}]}},"events_from":{"type":"array","description":"The account or organization scopes that can supply events. Use this with `enabled_events` to define the subscription.\n`@self`: Receive events from the account that owns the event destination.\n`@accounts`: Receive events emitted from other accounts you manage, including 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":"Include normally redacted webhook fields in the create response. Public API clients must include `webhook_endpoint.signing_secret` to receive the signing secret.","items":{"type":"string","enum":["webhook_endpoint.signing_secret","webhook_endpoint.url"],"x-stripeEnum":{"kind":"open","values":[{"description":"Include `webhook_endpoint.signing_secret` in the create response. Public API clients cannot retrieve it later.","value":"webhook_endpoint.signing_secret"},{"description":"Include the normally redacted `webhook_endpoint.url` in the create response.","value":"webhook_endpoint.url"}]}}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"User-defined key/value data for the destination."},"name":{"type":"string","description":"A user-defined label for identifying the destination."},"snapshot_api_version":{"type":"string","description":"For snapshot events only, the Stripe API version used to render event objects; do not provide this for thin events."},"type":{"type":"string","description":"The delivery transport. Chosen when the destination is created and cannot be changed by update.","enum":["amazon_eventbridge","azure_event_grid","webhook_endpoint"],"x-stripeEnum":{"kind":"open","values":[{"description":"Deliver matching events through a Stripe partner event source in Amazon EventBridge.","value":"amazon_eventbridge"},{"description":"Deliver matching events through a Stripe partner topic in Azure Event Grid.","value":"azure_event_grid"},{"description":"Deliver matching events to a webhook endpoint. Live mode requires HTTPS; sandbox mode also supports HTTP.","value":"webhook_endpoint"}]}},"webhook_endpoint":{"required":["url"],"type":"object","properties":{"url":{"type":"string","description":"The URL where Stripe sends matching events. Live mode requires HTTPS; sandbox mode also supports HTTP."}},"description":"Delivery target for the webhook endpoint. Live mode requires HTTPS; sandbox mode also supports HTTP."}}},"examples":{"example":{"value":{"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"]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event_destination"},"examples":{"example":{"value":{"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"}}}}}}},"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":{"kind":"open","values":[{"description":"Include the normally redacted `webhook_endpoint.url` in the response.","value":"webhook_endpoint.url"}]}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event_destination"},"examples":{"example":{"value":{"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}}}}}}},"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 user-defined description of the destination's purpose; it does not control routing."},"enabled_events":{"type":"array","description":"The list of event types enabled for delivery to this destination. Event scopes are configured when the destination is created.","items":{"type":"string"}},"include":{"type":"array","description":"Include the normally redacted `webhook_endpoint.url` in the response.","items":{"type":"string","enum":["webhook_endpoint.url"],"x-stripeEnum":{"kind":"open","values":[{"description":"Include the normally redacted `webhook_endpoint.url` in the response.","value":"webhook_endpoint.url"}]}}},"metadata":{"type":"object","additionalProperties":{"type":"string","nullable":true},"description":"Metadata."},"name":{"type":"string","description":"A user-defined label for identifying the destination; it does not control routing."},"webhook_endpoint":{"required":["url"],"type":"object","properties":{"url":{"type":"string","description":"The URL where Stripe sends matching events. Live mode requires HTTPS; sandbox mode also supports HTTP."}},"description":"New delivery target for the webhook endpoint. Live mode requires HTTPS; sandbox mode also supports HTTP."}}},"examples":{"example":{"value":{"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"]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event_destination"},"examples":{"example":{"value":{"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"}}}}}}},"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"},"examples":{"example":{"value":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","object":"v2.core.event_destination","deleted":true}}}}}},"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"},"examples":{"example":{"value":{"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}}}}}}},"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"},"examples":{"example":{"value":{"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}}}}}}},"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"},"examples":{"example":{"value":{"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"}}}}}},"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}}},"examples":{"example":{"value":{"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}}}}}},"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 if it was created in the last 30 days. Supply the unique\nidentifier of the event, which might have been delivered to your event destination.","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"},"examples":{"example":{"value":{"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"}}}}}},"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}]}},"/v2/core/vault/gb_bank_accounts":{"get":{"summary":"List GB Bank Accounts","description":"List objects that can be used as destinations for outbound money movement via OutboundPayment.","operationId":"GetV2CoreVaultGbBankAccounts","parameters":[{"name":"limit","in":"query","description":"Optionally set the maximum number of results per page. Defaults to 10.","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":"The retrieved GB Bank Accounts.","items":{"$ref":"#/components/schemas/v2.core.vault.gb_bank_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}}},"examples":{"example":{"value":{"data":[{"id":"gbba_61TcA5qPrV7hajSRn16Tc9w10HSQBCfqQyjGBBCa8XWS","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","supported_currencies":["gbp"],"confirmation_of_payee":{"result":null,"status":"uninitiated"},"created":"2025-11-12T22:03:30.174Z","sort_code":"108800","livemode":true}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_gb_bank_accounts","x-stripeDocsSamples":[{"skip_validation":true,"request":{"pathParams":{},"requestBody":{"limit":10},"gated":true},"response":{"data":[{"id":"gbba_61TcA5qPrV7hajSRn16Tc9w10HSQBCfqQyjGBBCa8XWS","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","supported_currencies":["gbp"],"confirmation_of_payee":{"result":null,"status":"uninitiated"},"created":"2025-11-12T22:03:30.174Z","sort_code":"108800","livemode":true}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[],"x-stripeNotPublic":true},"post":{"summary":"Create a GB Bank Account","description":"Create a GB bank account.","operationId":"PostV2CoreVaultGbBankAccounts","requestBody":{"content":{"application/json":{"schema":{"required":["currency"],"type":"object","properties":{"account_number":{"type":"string","description":"The Account Number of the bank account."},"bank_account_type":{"type":"string","description":"Closed Enum. The type of the bank account (checking or savings).","enum":["checking","futsu","savings","toza"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Default value for most countries.\nChecking account.","value":"checking"},{"description":"Default value for Japan where vast majority of bank accounts are 'futsu'.\nJapan-specific bank account type (普通預金) which means \"ordinary\".","value":"futsu"},{"description":"Savings account.","value":"savings"},{"description":"Japan-specific bank account type (当座預金) which means \"current\".","value":"toza"}]}},"confirmation_of_payee":{"required":["initiate"],"type":"object","properties":{"business_type":{"type":"string","description":"The business type to be checked against. Legal entity information will be used if unspecified.\nClosed enum.","enum":["business","personal"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Business Account.","value":"business"},{"description":"Personal Account.","value":"personal"}]}},"initiate":{"type":"boolean","description":"User specifies whether Confirmation of Payee is automatically initiated when creating the bank account."},"name":{"type":"string","description":"The name to be checked against. Legal entity information will be used if unspecified."}},"description":"Whether or not to automatically perform Confirmation of Payee to verify the users information\nagainst what was provided by the bank. Doing so is required for all bank accounts not owned\nby you before making domestic UK OutboundPayments."},"currency":{"type":"string","description":"The currency of the bank account."},"iban":{"type":"string","description":"The IBAN of the bank account."},"sort_code":{"type":"string","description":"The Sort Code of the bank account."}}},"examples":{"example":{"value":{"gated":true,"pathParams":{},"requestBody":{"sort_code":"108800","account_number":"00012345","currency":"gbp"}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.gb_bank_account"},"examples":{"example":{"value":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","created":"2024-08-16T21:49:30.380Z","sort_code":"108800","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.blocked_gb_bank_account"},{"$ref":"#/components/schemas/v2.error.gb_bank_account_incompatible_currency"},{"$ref":"#/components/schemas/v2.error.gb_bank_account_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.invalid_gb_bank_account"},{"$ref":"#/components/schemas/v2.error.limit_gb_bank_account"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.unsupported_gb_bank"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_gb_bank_account","x-stripeDocsSamples":[{"request":{"gated":true,"pathParams":{},"requestBody":{"sort_code":"108800","account_number":"00012345","currency":"gbp"}},"response":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","created":"2024-08-16T21:49:30.380Z","sort_code":"108800","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"},"livemode":true}}],"x-stripeErrors":[{"code":"blocked_gb_bank_account","description":"Returned in cases where the bank account cannot be used due to suspicious activity.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"gb_bank_account_incompatible_currency","description":"Returned in cases where the currency provided is incompatible with GB bank accounts.\nThis occurs when the credentials provided do not match with the currency provided.","httpStatusCode":400,"type":"cannot_proceed"},{"code":"gb_bank_account_unsupported_currency","description":"Returned in cases where the currency provided is unsupported for the GB bank accounts.\nThis occurs when the currency provided is not supported for GB regardless of the credentials provided.","httpStatusCode":400,"type":"cannot_proceed"},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"invalid_gb_bank_account","description":"Returned in cases where the bank account provided is not valid (wrong format of account number\nor a routing number that does not correspond to a banking institution).","httpStatusCode":400,"type":"invalid_vaulted_credential"},{"code":"limit_gb_bank_account","description":"Returned when the number of GBBankAccount objects on a given V2 Account has exceeded the limit of 10.\nGBBankAccount objects may be archived with /archive, at which point they will not count against the limit.\nIf you are not passing a V2 Account ID in the Stripe-Context header you may receive this error since\nyou are creating all your GBBankAccount objects in your own workspace.","httpStatusCode":400,"type":"quota_exceeded"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"unsupported_gb_bank","description":"Returned in cases where Stripe is unable to support this bank at this time.","httpStatusCode":400,"type":"blocked_by_stripe"}],"x-stripeNotPublic":true}},"/v2/core/vault/gb_bank_accounts/{id}":{"get":{"summary":"Retrieve a GB Bank Account","description":"Retrieve a GB bank account.","operationId":"GetV2CoreVaultGbBankAccountsId","parameters":[{"name":"id","in":"path","description":"The ID of the GBBankAccount object.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.gb_bank_account"},"examples":{"example":{"value":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","created":"2024-08-16T21:49:30.380Z","sort_code":"108800","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"},"livemode":true}}}}}},"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_gb_bank_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6"},"requestBody":{}},"response":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","created":"2024-08-16T21:49:30.380Z","sort_code":"108800","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"},"livemode":true}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/core/vault/gb_bank_accounts/{id}/acknowledge_confirmation_of_payee":{"post":{"summary":"Acknowledge Confirmation of Payee (CoP)","description":"Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with\nproceeding to pay out to this bank account despite the account not matching, partially matching, or the service\nbeing unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to\nfunds being sent to the wrong account, which we might not be able to recover.","operationId":"PostV2CoreVaultGbBankAccountsIdAcknowledgeConfirmationOfPayee","parameters":[{"name":"id","in":"path","description":"The GBBankAccount whose result needs to be acknowledged.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.gb_bank_account"},"examples":{"example":{"value":{"id":"gbba_test_61RNFHlkJ5BSQ2UHh16RMXKs0JSQpGKHUiBrbrLjkVSy","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"},"created":"2024-10-25T17:29:37.484Z","sort_code":"108800","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.archived_gb_bank_account"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_acknowledge_confirmation_of_payee_gb_bank_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"gbba_test_61RNFHlkJ5BSQ2UHh16RMXKs0JSQpGKHUiBrbrLjkVSy"},"requestBody":{}},"response":{"id":"gbba_test_61RNFHlkJ5BSQ2UHh16RMXKs0JSQpGKHUiBrbrLjkVSy","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"},"created":"2024-10-25T17:29:37.484Z","sort_code":"108800","livemode":true}}],"x-stripeErrors":[{"code":"archived_gb_bank_account","description":"Returned in cases where the bank account cannot be updated due to being archived.","httpStatusCode":400},{"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}],"x-stripeNotPublic":true}},"/v2/core/vault/gb_bank_accounts/{id}/archive":{"post":{"summary":"Archive a GB Bank Account","description":"Archive a GBBankAccount object. Archived GBBankAccount objects cannot be used as outbound destinations\nand will not appear in the outbound destination list.","operationId":"PostV2CoreVaultGbBankAccountsIdArchive","parameters":[{"name":"id","in":"path","description":"The ID of the GBBankAccount object.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.gb_bank_account"},"examples":{"example":{"value":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6","object":"v2.core.vault.gb_bank_account","archived":true,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","created":"2024-08-16T21:49:30.380Z","sort_code":"108800","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.default_gb_bank_account_cannot_be_archived"},{"$ref":"#/components/schemas/v2.error.gb_bank_account_cannot_be_archived"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_archive_gb_bank_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6"},"requestBody":{}},"response":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6","object":"v2.core.vault.gb_bank_account","archived":true,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","created":"2024-08-16T21:49:30.380Z","sort_code":"108800","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"},"livemode":true}}],"x-stripeErrors":[{"code":"default_gb_bank_account_cannot_be_archived","description":"Returned when the GB Bank Account object is set as default_for_currency and cannot be archived.","httpStatusCode":400,"type":"cannot_proceed"},{"code":"gb_bank_account_cannot_be_archived","description":"Returned when the GB Bank Account is controlled by an alternate resource and cannot be archived.","httpStatusCode":400,"type":"controlled_by_alternate_resource"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/core/vault/gb_bank_accounts/{id}/initiate_confirmation_of_payee":{"post":{"summary":"Initiate Confirmation of Payee (CoP)","description":"Initiate Confirmation of Payee (CoP) in order to verify that the owner of a UK bank account matches\nwho you expect. This must be done on all UK bank accounts before sending domestic OutboundPayments. If\nthe result is a partial match or a non match, explicit acknowledgement using AcknowledgeConfirmationOfPayee\nis required before sending funds.","operationId":"PostV2CoreVaultGbBankAccountsIdInitiateConfirmationOfPayee","parameters":[{"name":"id","in":"path","description":"The GBBankAccount for which to perform Confirmation of Payee.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"business_type":{"type":"string","description":"The business type to be checked against. Legal entity information will be used if unspecified.","enum":["business","personal"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Business Account.","value":"business"},{"description":"Personal Account.","value":"personal"}]}},"name":{"type":"string","description":"The name of the user to be checked against. Legal entity information will be used if unspecified."}}},"examples":{"example":{"value":{"pathParams":{"id":"gbba_test_61RNFB9lnOYye6krT16RMXKs0JSQpGKHUiBrbrLjk2XA"},"requestBody":{}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.gb_bank_account"},"examples":{"example":{"value":{"id":"gbba_test_61RNFB9lnOYye6krT16RMXKs0JSQpGKHUiBrbrLjk2XA","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:23:51.000Z","match_result":"match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jenny Rosen and business type matches what the bank has on file for this account.","provided":{"business_type":"personal","name":"Jenny Rosen"}},"status":"confirmed"},"created":"2024-10-25T17:22:47.788Z","sort_code":"108800","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.archived_gb_bank_account"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_initiate_confirmation_of_payee_gb_bank_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"gbba_test_61RNFB9lnOYye6krT16RMXKs0JSQpGKHUiBrbrLjk2XA"},"requestBody":{}},"response":{"id":"gbba_test_61RNFB9lnOYye6krT16RMXKs0JSQpGKHUiBrbrLjk2XA","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:23:51.000Z","match_result":"match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jenny Rosen and business type matches what the bank has on file for this account.","provided":{"business_type":"personal","name":"Jenny Rosen"}},"status":"confirmed"},"created":"2024-10-25T17:22:47.788Z","sort_code":"108800","livemode":true}}],"x-stripeErrors":[{"code":"archived_gb_bank_account","description":"Returned in cases where the bank account cannot be updated due to being archived.","httpStatusCode":400},{"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}],"x-stripeNotPublic":true}},"/v2/core/vault/us_bank_accounts":{"get":{"summary":"List US Bank Accounts","description":"List USBankAccount objects. Optionally filter by verification status.","operationId":"GetV2CoreVaultUsBankAccounts","parameters":[{"name":"limit","in":"query","description":"Optionally set the maximum number of results per page. Defaults to 10.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"verification_status","in":"query","description":"Optionally filter by verification status. Mutually exclusive with `unverified`, `verified`, `awaiting_verification`, and `verification_failed`.","required":false,"style":"form","schema":{"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":"The retrieved US Bank Accounts.","items":{"$ref":"#/components/schemas/v2.core.vault.us_bank_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}}},"examples":{"example":{"value":{"data":[{"id":"usba_61TcA4tJ8SWeDTsLf16Tc9w10HSQBCfqQyjGBBCa8Pey","object":"v2.core.vault.us_bank_account","alternative_reference":null,"archived":false,"bank_account_type":"checking","bank_name":"Test Bank","created":"2025-11-12T22:02:31.150Z","fedwire_routing_number":null,"financial_connections_account":null,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"unverified"},"livemode":true}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_verification_status"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_us_bank_accounts","x-stripeDocsSamples":[{"skip_validation":true,"request":{"pathParams":{},"requestBody":{"limit":10,"verification_status":"unverified"},"gated":true},"response":{"data":[{"id":"usba_61TcA4tJ8SWeDTsLf16Tc9w10HSQBCfqQyjGBBCa8Pey","object":"v2.core.vault.us_bank_account","alternative_reference":null,"archived":false,"bank_account_type":"checking","bank_name":"Test Bank","created":"2025-11-12T22:02:31.150Z","fedwire_routing_number":null,"financial_connections_account":null,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"unverified"},"livemode":true}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"invalid_verification_status","description":"Returned when ListUsBankAccounts is called with an invalid verification_status param.","httpStatusCode":400}],"x-stripeNotPublic":true},"post":{"summary":"Create a US Bank Account","description":"Create a USBankAccount object.","operationId":"PostV2CoreVaultUsBankAccounts","requestBody":{"content":{"application/json":{"schema":{"required":["account_number","currency"],"type":"object","properties":{"account_number":{"type":"string","description":"The account number of the bank account."},"bank_account_type":{"type":"string","description":"Closed Enum. The type of the bank account (checking or savings).","enum":["checking","savings"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Checkings account.","value":"checking"},{"description":"Savings account.","value":"savings"}]}},"currency":{"type":"string","description":"The currency of the bank account."},"fedwire_routing_number":{"type":"string","description":"The fedwire routing number of the bank account. Note that certain banks have the same ACH and wire routing number."},"routing_number":{"type":"string","description":"The ACH routing number of the bank account. Note that certain banks have the same ACH and wire routing number."}}},"examples":{"example":{"value":{"gated":true,"pathParams":{},"requestBody":{"routing_number":"110000000","account_number":"000123456789","bank_account_type":"checking","currency":"usd"},"stripeContextHeader":true}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.us_bank_account"},"examples":{"example":{"value":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":false,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"unverified"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.blocked_us_bank_account"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.invalid_us_bank_account"},{"$ref":"#/components/schemas/v2.error.limit_us_bank_account"},{"$ref":"#/components/schemas/v2.error.unsupported_us_bank"},{"$ref":"#/components/schemas/v2.error.us_bank_account_incompatible_currency"},{"$ref":"#/components/schemas/v2.error.us_bank_account_unsupported_currency"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_us_bank_account","x-stripeDocsSamples":[{"request":{"gated":true,"pathParams":{},"requestBody":{"routing_number":"110000000","account_number":"000123456789","bank_account_type":"checking","currency":"usd"},"stripeContextHeader":true},"response":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":false,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"unverified"},"livemode":true}}],"x-stripeErrors":[{"code":"blocked_us_bank_account","description":"Returned in cases where the bank account cannot be used due to suspicious activity.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"invalid_us_bank_account","description":"Returned in cases where the bank account provided is not valid (wrong format of account number\nor a routing number that does not correspond to a banking institution).","httpStatusCode":400,"type":"invalid_payment_method"},{"code":"limit_us_bank_account","description":"Returned when the number of USBankAccount objects on a given V2 Account has exceeded the limit of 10.\nUSBankAccount objects may be archived with /archive, at which point they will not count against the limit.\nIf you are not passing a V2 Account ID in the Stripe-Context header you may receive this error since\nyou are creating all your USBankAccount objects in your own workspace.","httpStatusCode":400,"type":"quota_exceeded"},{"code":"unsupported_us_bank","description":"Returned in cases where Stripe is unable to support this bank at this time.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"us_bank_account_incompatible_currency","description":"Returned in cases where the currency provided is incompatible with US bank accounts.\nThis occurs when the credentials provided do not match with the currency provided.","httpStatusCode":400,"type":"cannot_proceed"},{"code":"us_bank_account_unsupported_currency","description":"Returned in cases where the currency provided is unsupported for US bank accounts.\nThis occurs when the currency provided is not supported for US regardless of the credentials provided.","httpStatusCode":400,"type":"cannot_proceed"}],"x-stripeNotPublic":true}},"/v2/core/vault/us_bank_accounts/{id}":{"get":{"summary":"Retrieve a US Bank Account","description":"Retrieve a USBankAccount object.","operationId":"GetV2CoreVaultUsBankAccountsId","parameters":[{"name":"id","in":"path","description":"The ID of the USBankAccount object.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.us_bank_account"},"examples":{"example":{"value":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":false,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":{"expires":"2025-10-31T00:27:17.000Z","microdeposit_type":"descriptor_code","sent":"2025-10-21T00:27:17.036917448Z"},"status":"awaiting_verification"},"livemode":true}}}}}},"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_us_bank_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M"},"requestBody":{},"stripeContextHeader":true},"response":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":false,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":{"expires":"2025-10-31T00:27:17.000Z","microdeposit_type":"descriptor_code","sent":"2025-10-21T00:27:17.036917448Z"},"status":"awaiting_verification"},"livemode":true}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Update a US Bank Account","description":"Update a USBankAccount object. This is limited to supplying a previously empty routing_number field.","operationId":"PostV2CoreVaultUsBankAccountsId","parameters":[{"name":"id","in":"path","description":"The ID of the USBankAccount object.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fedwire_routing_number":{"type":"string","description":"The bank account's Fedwire routing number can be provided for update if it was empty previously."},"routing_number":{"type":"string","description":"The bank account's ACH routing number can be provided for update if it was empty previously."}}},"examples":{"example":{"value":{"pathParams":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M"},"requestBody":{"fedwire_routing_number":"110000000"},"stripeContextHeader":true}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.us_bank_account"},"examples":{"example":{"value":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":false,"fedwire_routing_number":"110000000","last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"verified"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.archived_us_bank_account"},{"$ref":"#/components/schemas/v2.error.blocked_us_bank_account"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.invalid_us_bank_account"},{"$ref":"#/components/schemas/v2.error.limit_us_bank_account"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.unsupported_us_bank"},{"$ref":"#/components/schemas/v2.error.us_bank_account_field_already_exists"},{"$ref":"#/components/schemas/v2.error.us_bank_account_incompatible_currency"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_us_bank_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M"},"requestBody":{"fedwire_routing_number":"110000000"},"stripeContextHeader":true},"response":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":false,"fedwire_routing_number":"110000000","last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"verified"},"livemode":true}}],"x-stripeErrors":[{"code":"archived_us_bank_account","description":"Returned in cases where the bank account cannot be updated due to being archived.","httpStatusCode":400},{"code":"blocked_us_bank_account","description":"Returned in cases where the bank account cannot be used due to suspicious activity.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"invalid_us_bank_account","description":"Returned in cases where the bank account provided is not valid (wrong format of account number\nor a routing number that does not correspond to a banking institution).","httpStatusCode":400,"type":"invalid_payment_method"},{"code":"limit_us_bank_account","description":"Returned when the number of USBankAccount objects on a given V2 Account has exceeded the limit of 10.\nUSBankAccount objects may be archived with /archive, at which point they will not count against the limit.\nIf you are not passing a V2 Account ID in the Stripe-Context header you may receive this error since\nyou are creating all your USBankAccount objects in your own workspace.","httpStatusCode":400,"type":"quota_exceeded"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"unsupported_us_bank","description":"Returned in cases where Stripe is unable to support this bank at this time.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"us_bank_account_field_already_exists","description":"Returned in cases where the bank account cannot be updated due to requesting\nto update a field that already exists.","httpStatusCode":400},{"code":"us_bank_account_incompatible_currency","description":"Returned in cases where the currency provided is incompatible with US bank accounts.\nThis occurs when the credentials provided do not match with the currency provided.","httpStatusCode":400,"type":"cannot_proceed"}],"x-stripeNotPublic":true}},"/v2/core/vault/us_bank_accounts/{id}/archive":{"post":{"summary":"Archive a US Bank Account","description":"Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe.\nArchived USBankAccount objects cannot be used as outbound destinations\nand will not appear in the outbound destination list.","operationId":"PostV2CoreVaultUsBankAccountsIdArchive","parameters":[{"name":"id","in":"path","description":"The ID of the USBankAccount object.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.us_bank_account"},"examples":{"example":{"value":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":true,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"verified"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.default_us_bank_account_cannot_be_archived"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.us_bank_account_cannot_be_archived"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_archive_us_bank_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M"},"requestBody":{}},"response":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":true,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"verified"},"livemode":true}}],"x-stripeErrors":[{"code":"default_us_bank_account_cannot_be_archived","description":"Returned when the US Bank Account object is set as default_for_currency and cannot be archived.","httpStatusCode":400,"type":"cannot_proceed"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"us_bank_account_cannot_be_archived","description":"Returned when the US Bank Account in question is controlled by an alternate resource, and cannot be archived.","httpStatusCode":400,"type":"controlled_by_alternate_resource"}],"x-stripeNotPublic":true}},"/v2/core/vault/us_bank_accounts/{id}/confirm_microdeposits":{"post":{"summary":"Confirm Microdeposits for verification","description":"Confirm microdeposits amounts or descriptor code that you have received from the Send Microdeposits request. Once you correctly confirm this, this US Bank Account will be verified and eligible to transfer funds with.","operationId":"PostV2CoreVaultUsBankAccountsIdConfirmMicrodeposits","parameters":[{"name":"id","in":"path","description":"The ID of the USBankAccount object.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"amounts":{"type":"array","description":"Two amounts received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account.","items":{"type":"integer"}},"descriptor_code":{"type":"string","description":"Descriptor code received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account."}}},"examples":{"example":{"value":{"pathParams":{"id":"usba_test_61TTrNIGW0Kfu6Loe16TTnp50xSQQ5fFlwPErT7SSCmG"},"requestBody":{"amounts":[15,48]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.us_bank_account"},"examples":{"example":{"value":{"id":"usba_test_61TTrNIGW0Kfu6Loe16TTnp50xSQQ5fFlwPErT7SSCmG","object":"v2.core.vault.us_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","created":"2025-10-21T00:27:12.940Z","fedwire_routing_number":null,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"verified"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.archived_us_bank_account"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.us_bank_account_confirm_microdeposits_failure"},{"$ref":"#/components/schemas/v2.error.us_bank_account_microdeposits_cannot_be_confirmed"},{"$ref":"#/components/schemas/v2.error.us_bank_account_microdeposits_not_sent_before_confirming"},{"$ref":"#/components/schemas/v2.error.us_bank_account_microdeposits_timed_out"},{"$ref":"#/components/schemas/v2.error.us_bank_account_verification_failed"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_us_bank_account_confirm_microdeposits","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"usba_test_61TTrNIGW0Kfu6Loe16TTnp50xSQQ5fFlwPErT7SSCmG"},"requestBody":{"amounts":[15,48]}},"response":{"id":"usba_test_61TTrNIGW0Kfu6Loe16TTnp50xSQQ5fFlwPErT7SSCmG","object":"v2.core.vault.us_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","created":"2025-10-21T00:27:12.940Z","fedwire_routing_number":null,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":null,"status":"verified"},"livemode":true}}],"x-stripeErrors":[{"code":"archived_us_bank_account","description":"Returned in cases where the bank account cannot be updated due to being archived.","httpStatusCode":400},{"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},{"code":"us_bank_account_confirm_microdeposits_failure","description":"Returned when the wrong values were provided to confirm microdeposits.","httpStatusCode":400,"type":"verification_attempt_failed"},{"code":"us_bank_account_microdeposits_cannot_be_confirmed","description":"Returned when microdeposits cannot be confirmed for the US bank account in its current state.","httpStatusCode":400,"type":"controlled_by_alternate_resource"},{"code":"us_bank_account_microdeposits_not_sent_before_confirming","description":"Returned when an attempt is made to confirm microdeposits before the microdeposits have been sent.","httpStatusCode":400,"type":"verification_not_initiated"},{"code":"us_bank_account_microdeposits_timed_out","description":"Returned when an attempt to confirm microdeposits has failed because too much time has elapsed since the\nmicrodeposits were sent.","httpStatusCode":400,"type":"verification_expired"},{"code":"us_bank_account_verification_failed","description":"Returned when verification of a US bank account has failed, reaching a terminal failure state.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/core/vault/us_bank_accounts/{id}/send_microdeposits":{"post":{"summary":"Send Microdeposits for verification","description":"Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account.","operationId":"PostV2CoreVaultUsBankAccountsIdSendMicrodeposits","parameters":[{"name":"id","in":"path","description":"The ID of the USBankAccount object.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.vault.us_bank_account"},"examples":{"example":{"value":{"id":"usba_test_61TTrNIGW0Kfu6Loe16TTnp50xSQQ5fFlwPErT7SSCmG","object":"v2.core.vault.us_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","created":"2025-10-21T00:27:12.940Z","fedwire_routing_number":null,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":{"expires":"2025-11-02T15:34:05.000Z","microdeposit_type":"amounts","sent":"2025-10-23T15:34:05.708345413Z"},"status":"awaiting_verification"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.archived_us_bank_account"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.us_bank_account_microdeposits_cannot_be_sent"},{"$ref":"#/components/schemas/v2.error.us_bank_account_microdeposits_failed_to_send"},{"$ref":"#/components/schemas/v2.error.us_bank_account_verification_failed"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_us_bank_account_send_microdeposits","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"usba_test_61TTrNIGW0Kfu6Loe16TTnp50xSQQ5fFlwPErT7SSCmG"},"requestBody":{}},"response":{"id":"usba_test_61TTrNIGW0Kfu6Loe16TTnp50xSQQ5fFlwPErT7SSCmG","object":"v2.core.vault.us_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","created":"2025-10-21T00:27:12.940Z","fedwire_routing_number":null,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"verification":{"microdeposit_verification_details":{"expires":"2025-11-02T15:34:05.000Z","microdeposit_type":"amounts","sent":"2025-10-23T15:34:05.708345413Z"},"status":"awaiting_verification"},"livemode":true}}],"x-stripeErrors":[{"code":"archived_us_bank_account","description":"Returned in cases where the bank account cannot be updated due to being archived.","httpStatusCode":400},{"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},{"code":"us_bank_account_microdeposits_cannot_be_sent","description":"Returned when microdeposits cannot be sent to the US bank account in its current state.","httpStatusCode":400,"type":"controlled_by_alternate_resource"},{"code":"us_bank_account_microdeposits_failed_to_send","description":"Returned when an attempt is made to confirm microdeposits before the microdeposits have been sent.","httpStatusCode":400},{"code":"us_bank_account_verification_failed","description":"Returned when verification of a US bank account has failed, reaching a terminal failure state.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/data/reporting/query_runs":{"post":{"summary":"Create a Query Run","description":"Creates a query run to execute ad-hoc SQL and returns a `QueryRun` object to track progress and retrieve results.","operationId":"PostV2DataReportingQueryRuns","requestBody":{"content":{"application/json":{"schema":{"required":["sql"],"type":"object","properties":{"result_options":{"type":"object","properties":{"compress_file":{"type":"boolean","description":"If set, the generated results file will be compressed into a ZIP folder.\nThis is useful for reducing file size and download time for large results."}},"description":"Optional settings to customize the results of the `QueryRun`."},"sql":{"type":"string","description":"The SQL to execute."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"sql":"select * from balance_transactions limit 10"}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.data.reporting.query_run"},"examples":{"example":{"value":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"running","status_details":{},"livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.query_run_api_inaccessible"},{"$ref":"#/components/schemas/v2.error.query_run_invalid_sql"},{"$ref":"#/components/schemas/v2.error.query_run_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_query_run","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"sql":"select * from balance_transactions limit 10"}},"response":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"running","status_details":{},"livemode":false}}],"x-stripeErrors":[{"code":"query_run_api_inaccessible","description":"Returned when the query runs API is not accessible to the request. The error message provides the reason (e.g. feature not enabled, compartment not allowed).","httpStatusCode":403},{"code":"query_run_invalid_sql","description":"Returned when the SQL in a query run request is invalid.","httpStatusCode":400},{"code":"query_run_rate_limit_exceeded","description":"Returned when an API key has reached its limit of concurrently running query runs. Wait for existing query runs to complete before retrying the request.","httpStatusCode":429}],"x-stripeNotPublic":true}},"/v2/data/reporting/query_runs/{id}":{"get":{"summary":"Retrieve a Query Run","description":"Fetches the current state and details of a previously created `QueryRun`. If the `QueryRun`\nhas succeeded, the endpoint will provide details for how to retrieve the results.","operationId":"GetV2DataReportingQueryRunsId","parameters":[{"name":"id","in":"path","description":"The unique identifier of the `QueryRun` object.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.data.reporting.query_run"},"examples":{"failed":{"summary":"Failed","value":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"failed","status_details":{"failed":{"error_code":"file_size_above_limit","error_message":"The file generated by this request exceeds the 5 GB limit."}},"livemode":false}},"running":{"summary":"Running","value":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"running","status_details":{},"livemode":false}},"succeeded":{"summary":"Succeeded","value":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":{"file":{"content_type":"csv","download_url":{"expires_at":"2025-08-26T21:53:30.446396574Z","url":"https://stripeusercontent.com/files/us-west-2/..."},"size":"500"},"type":"file"},"result_options":{"compress_file":false},"status":"succeeded","status_details":{},"livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.query_run_api_inaccessible"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_query_run","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"qryrun_test_xxx"},"requestBody":{}},"response":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"running","status_details":{},"livemode":false},"title":"Running"},{"request":{"pathParams":{"id":"qryrun_test_xxx"},"requestBody":{}},"response":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":{"file":{"content_type":"csv","download_url":{"expires_at":"2025-08-26T21:53:30.446396574Z","url":"https://stripeusercontent.com/files/us-west-2/..."},"size":"500"},"type":"file"},"result_options":{"compress_file":false},"status":"succeeded","status_details":{},"livemode":false},"title":"Succeeded"},{"request":{"pathParams":{"id":"qryrun_test_xxx"},"requestBody":{}},"response":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"failed","status_details":{"failed":{"error_code":"file_size_above_limit","error_message":"The file generated by this request exceeds the 5 GB limit."}},"livemode":false},"title":"Failed"}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"query_run_api_inaccessible","description":"Returned when the query runs API is not accessible to the request. The error message provides the reason (e.g. feature not enabled, compartment not allowed).","httpStatusCode":403}],"x-stripeNotPublic":true}},"/v2/extend/workflow_runs":{"get":{"summary":"List Workflow Runs","description":"List all Workflow Runs.","operationId":"GetV2ExtendWorkflowRuns","parameters":[{"name":"limit","in":"query","description":"Restrict page size to no more than this number.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"status","in":"query","description":"When retrieving Workflow Runs, include only those with the specified status values. If not specified, all Runs are returned.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["failed","started","succeeded"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Workflow Run has terminated because of a failure.","value":"failed"},{"description":"This Workflow Run is actively executing.","value":"started"},{"description":"This Workflow Run has progressed to a successful completion.","value":"succeeded"}]}}}},{"name":"workflow","in":"query","description":"When retrieving Workflow Runs, include only those associated with the Workflows specified. If not specified, all Runs are returned.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string"},"x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.extend.workflow"}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"One page of retrieved Workflow Runs.","items":{"$ref":"#/components/schemas/v2.extend.workflow_run"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","object":"v2.extend.workflow_run","created":"2026-04-08T14:33:27.076Z","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"started_at":"2026-04-08T14:33:27.335Z","succeeded_at":"2026-04-08T14:33:29.177Z"},"trigger":{"event_trigger":{"id":"evt_1TJxAYHa3TtWqyXkmZHWuTlk","context":"acct_1Nv0FGQ9RKHgCVdK","type":"customer.created"},"type":"event_trigger"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false},{"id":"wfrun_test_61UTL8xvNHzp5fHTd16TT0rUFzSQLefl99yAJBArIUGp","object":"v2.extend.workflow_run","created":"2026-04-08T15:10:42.531Z","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"started_at":"2026-04-08T15:10:42.718Z","succeeded_at":"2026-04-08T15:10:44.892Z"},"trigger":{"event_trigger":{"id":"evt_1TJxBZHa3TtWqyXkpQRWvUml","context":"acct_1Nv0FGQ9RKHgCVdK","type":"customer.created"},"type":"event_trigger"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_workflow_runs","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","object":"v2.extend.workflow_run","created":"2026-04-08T14:33:27.076Z","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"started_at":"2026-04-08T14:33:27.335Z","succeeded_at":"2026-04-08T14:33:29.177Z"},"trigger":{"event_trigger":{"id":"evt_1TJxAYHa3TtWqyXkmZHWuTlk","context":"acct_1Nv0FGQ9RKHgCVdK","type":"customer.created"},"type":"event_trigger"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false},{"id":"wfrun_test_61UTL8xvNHzp5fHTd16TT0rUFzSQLefl99yAJBArIUGp","object":"v2.extend.workflow_run","created":"2026-04-08T15:10:42.531Z","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"started_at":"2026-04-08T15:10:42.718Z","succeeded_at":"2026-04-08T15:10:44.892Z"},"trigger":{"event_trigger":{"id":"evt_1TJxBZHa3TtWqyXkpQRWvUml","context":"acct_1Nv0FGQ9RKHgCVdK","type":"customer.created"},"type":"event_trigger"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[],"x-stripeNotPublic":true}},"/v2/extend/workflow_runs/{id}":{"get":{"summary":"Retrieve a Workflow Run","description":"Retrieves the details of a Workflow Run by ID.","operationId":"GetV2ExtendWorkflowRunsId","parameters":[{"name":"id","in":"path","description":"The ID of the Workflow Run to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.extend.workflow_run"},"examples":{"example":{"value":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","object":"v2.extend.workflow_run","created":"2026-04-08T14:33:27.076Z","status":"succeeded","status_details":{"failed":null,"started":{},"succeeded":{}},"status_transitions":{"failed_at":null,"started_at":"2026-04-08T14:33:27.335Z","succeeded_at":"2026-04-08T14:33:29.177Z"},"trigger":{"event_trigger":{"id":"evt_1TJxAYHa3TtWqyXkmZHWuTlk","context":"acct_1Nv0FGQ9RKHgCVdK","type":"customer.created"},"type":"event_trigger"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false}}}}}},"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_get_workflow_run","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"},"requestBody":{}},"response":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","object":"v2.extend.workflow_run","created":"2026-04-08T14:33:27.076Z","status":"succeeded","status_details":{"failed":null,"started":{},"succeeded":{}},"status_transitions":{"failed_at":null,"started_at":"2026-04-08T14:33:27.335Z","succeeded_at":"2026-04-08T14:33:29.177Z"},"trigger":{"event_trigger":{"id":"evt_1TJxAYHa3TtWqyXkmZHWuTlk","context":"acct_1Nv0FGQ9RKHgCVdK","type":"customer.created"},"type":"event_trigger"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/extend/workflows":{"get":{"summary":"List Workflows","description":"List all Workflows.","operationId":"GetV2ExtendWorkflows","parameters":[{"name":"limit","in":"query","description":"Restrict page size to no more than this number.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"status","in":"query","description":"When retrieving Workflows, include only those with the specified status values.\nIf not specified, all Workflows in active and inactive status are returned.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["active","archived","draft","inactive"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Workflow is active and ready to be invoked.","value":"active"},{"description":"This Workflow has been archived, and cannot be invoked.","value":"archived"},{"description":"This Workflow has not been finalized, and cannot be invoked.","value":"draft"},{"description":"This Workflow has been saved, but is temporarily paused, and cannot be invoked.","value":"inactive"}]}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"One page of retrieved Workflows.","items":{"$ref":"#/components/schemas/v2.extend.workflow"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","object":"v2.extend.workflow","created":"2026-03-24T16:57:16.660Z","livemode":false,"status":"active","title":"Cancel unpaid invoices","triggers":[{"manual":{},"type":"manual"}]},{"id":"wf_test_61UM4xxSHv971kVmM16TT0rUFzSQLefl99yAJBArI3Am","object":"v2.extend.workflow","created":"2026-03-19T13:53:09.987Z","livemode":false,"status":"active","title":"Send welcome email","triggers":[{"event_trigger":{"events_from":["@self"],"type":"customer.created"},"type":"event_trigger"}]}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_workflows","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","object":"v2.extend.workflow","created":"2026-03-24T16:57:16.660Z","livemode":false,"status":"active","title":"Cancel unpaid invoices","triggers":[{"manual":{},"type":"manual"}]},{"id":"wf_test_61UM4xxSHv971kVmM16TT0rUFzSQLefl99yAJBArI3Am","object":"v2.extend.workflow","created":"2026-03-19T13:53:09.987Z","livemode":false,"status":"active","title":"Send welcome email","triggers":[{"event_trigger":{"events_from":["@self"],"type":"customer.created"},"type":"event_trigger"}]}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[],"x-stripeNotPublic":true}},"/v2/extend/workflows/{id}":{"get":{"summary":"Retrieve a Workflow","description":"Retrieves the details of a Workflow by ID.","operationId":"GetV2ExtendWorkflowsId","parameters":[{"name":"id","in":"path","description":"The ID of the Workflow to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.extend.workflow"},"examples":{"example":{"value":{"id":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","object":"v2.extend.workflow","created":"2026-03-24T16:57:16.660Z","livemode":false,"status":"active","title":"Send welcome email","triggers":[{"type":"event_trigger","event_trigger":{"type":"customer.created","events_from":["@self"]}}]}}}}}},"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_get_workflow","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc"},"requestBody":{}},"response":{"id":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","object":"v2.extend.workflow","created":"2026-03-24T16:57:16.660Z","livemode":false,"status":"active","title":"Send welcome email","triggers":[{"type":"event_trigger","event_trigger":{"type":"customer.created","events_from":["@self"]}}]}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/extend/workflows/{id}/invoke":{"post":{"summary":"Invoke a workflow","description":"Invokes an on-demand Workflow with parameters, to launch a new Workflow Run.","operationId":"PostV2ExtendWorkflowsIdInvoke","parameters":[{"name":"id","in":"path","description":"The ID of the Workflow to invoke.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["input_parameters"],"type":"object","properties":{"input_parameters":{"type":"object","additionalProperties":true,"description":"Parameters used to invoke the Workflow Run."}}},"examples":{"example":{"value":{"pathParams":{"id":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc"},"requestBody":{"input_parameters":{"customer_id":"cus_SJjFsJvGPQKfH1","amount":5000,"notify":true,"tags":["signup","promotion"]}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.extend.workflow_run"},"examples":{"example":{"value":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","object":"v2.extend.workflow_run","created":"2026-04-08T14:33:27.076Z","status":"started","status_details":{"failed":null,"started":{},"succeeded":null},"status_transitions":{"failed_at":null,"started_at":"2026-04-08T14:33:27.335Z","succeeded_at":null},"trigger":{"manual":{"input_parameters":{"customer_id":"cus_SJjFsJvGPQKfH1","amount":5000,"notify":true,"tags":["signup","promotion"]}},"type":"manual"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.invalid_workflow_input_parameters"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.workflow_not_invokable"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_invoke_workflow","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc"},"requestBody":{"input_parameters":{"customer_id":"cus_SJjFsJvGPQKfH1","amount":5000,"notify":true,"tags":["signup","promotion"]}}},"response":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","object":"v2.extend.workflow_run","created":"2026-04-08T14:33:27.076Z","status":"started","status_details":{"failed":null,"started":{},"succeeded":null},"status_transitions":{"failed_at":null,"started_at":"2026-04-08T14:33:27.335Z","succeeded_at":null},"trigger":{"manual":{"input_parameters":{"customer_id":"cus_SJjFsJvGPQKfH1","amount":5000,"notify":true,"tags":["signup","promotion"]}},"type":"manual"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false}}],"x-stripeErrors":[{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"invalid_workflow_input_parameters","description":"The Workflow invocation failed because the input parameters were invalid.","httpStatusCode":400,"type":"cannot_proceed"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"workflow_not_invokable","description":"The Workflow target of an invoke request is not invokable because it is not configured to have an on-demand trigger.","httpStatusCode":400,"type":"cannot_proceed"}],"x-stripeNotPublic":true}},"/v2/iam/activity_logs":{"get":{"summary":"List Activity Logs","description":"List activity logs of an account.","operationId":"GetV2IamActivityLogs","parameters":[{"name":"action_groups","in":"query","description":"Filter results to only include activity logs for the specified action group types.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["account_security","api_key","authentication","issuing","payout","scim","sso","user_invite","user_profile","user_roles"],"x-stripeEnum":{"kind":"open","values":[{"description":"An account security related action group.","value":"account_security"},{"description":"An API key related action group.","value":"api_key"},{"description":"An authentication related action group.","value":"authentication"},{"description":"An Issuing related action group.","value":"issuing"},{"description":"A payout related action group.","value":"payout"},{"description":"A SCIM related action group.","value":"scim"},{"description":"An SSO related action group.","value":"sso"},{"description":"A user invite related action group.","value":"user_invite"},{"description":"A user profile related action group.","value":"user_profile"},{"description":"User roles related action group.","value":"user_roles"}]}}}},{"name":"actions","in":"query","description":"Filter results to only include activity logs for the specified action types.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["anomaly_detection_settings_updated","api_key_created","api_key_deleted","api_key_updated","api_key_viewed","issuing_activated","issuing_balance_transfer_created","issuing_cardholder_created","issuing_cardholder_updated","issuing_card_created","issuing_card_sensitive_details_viewed","issuing_card_updated","issuing_dispute_created","issuing_dispute_submitted","issuing_dispute_updated","manual_payouts_disabled","manual_payouts_enabled","payout_destination_added","payout_destination_removed","payout_destination_updated","payout_schedule_edits_disabled","payout_schedule_edits_enabled","scim_group_deleted","scim_group_member_added","scim_group_member_removed","scim_group_roles_updated","scim_group_updated","sso_domain_verified","sso_settings_created","sso_settings_deleted","sso_settings_updated","two_step_authentication_mandate_disabled","two_step_authentication_mandate_enabled","user_auth_challenge_failed","user_email_changed","user_email_verified","user_express_phone_number_changed","user_google_account_connected","user_google_account_disconnected","user_invite_accepted","user_invite_created","user_invite_deleted","user_passkey_added","user_passkey_removed","user_passkey_updated","user_passkey_upgraded","user_password_changed","user_password_initialized","user_password_reset_failed","user_password_reset_requested","user_password_reset_succeeded","user_roles_deleted","user_roles_updated","user_two_step_authentication_backup_code_used","user_two_step_authentication_method_added","user_two_step_authentication_method_removed","user_two_step_authentication_method_reset","user_two_step_authentication_method_updated","user_two_step_authentication_reset_requested"],"x-stripeEnum":{"kind":"open","values":[{"description":"Anomaly detection settings were updated.","value":"anomaly_detection_settings_updated"},{"description":"An API key was created.","value":"api_key_created"},{"description":"An API key was deleted.","value":"api_key_deleted"},{"description":"An API key was updated.","value":"api_key_updated"},{"description":"An API key's secret was viewed.","value":"api_key_viewed"},{"description":"Issuing was activated for the account.","value":"issuing_activated"},{"description":"An Issuing balance transfer was created to move funds between balances.","value":"issuing_balance_transfer_created"},{"description":"An Issuing cardholder was created.","value":"issuing_cardholder_created"},{"description":"An Issuing cardholder was updated.","value":"issuing_cardholder_updated"},{"description":"An Issuing card was created.","value":"issuing_card_created"},{"description":"An Issuing card's sensitive details (card number, CVC, or PIN) were viewed.","value":"issuing_card_sensitive_details_viewed"},{"description":"An Issuing card was updated.","value":"issuing_card_updated"},{"description":"An Issuing dispute was created.","value":"issuing_dispute_created"},{"description":"An Issuing dispute was submitted for review.","value":"issuing_dispute_submitted"},{"description":"An Issuing dispute was updated.","value":"issuing_dispute_updated"},{"description":"The Connect platform disabled the connected account's ability to create manual payouts.","value":"manual_payouts_disabled"},{"description":"The Connect platform enabled the connected account's ability to create manual payouts.","value":"manual_payouts_enabled"},{"description":"A payout destination was added.","value":"payout_destination_added"},{"description":"A payout destination was removed.","value":"payout_destination_removed"},{"description":"A payout destination was updated.","value":"payout_destination_updated"},{"description":"The Connect platform disabled the connected account's ability to edit its payout schedule.","value":"payout_schedule_edits_disabled"},{"description":"The Connect platform enabled the connected account's ability to edit its payout schedule.","value":"payout_schedule_edits_enabled"},{"description":"A SCIM group was deleted.","value":"scim_group_deleted"},{"description":"A member was added to a SCIM group.","value":"scim_group_member_added"},{"description":"A member was removed from a SCIM group.","value":"scim_group_member_removed"},{"description":"Roles for a SCIM group were changed.","value":"scim_group_roles_updated"},{"description":"A SCIM group's details were updated.","value":"scim_group_updated"},{"description":"A domain was verified for SSO.","value":"sso_domain_verified"},{"description":"SSO (SAML) was configured for the account.","value":"sso_settings_created"},{"description":"SSO (SAML) configuration was removed.","value":"sso_settings_deleted"},{"description":"SSO (SAML) settings were updated.","value":"sso_settings_updated"},{"description":"A two-step authentication requirement was disabled.","value":"two_step_authentication_mandate_disabled"},{"description":"A two-step authentication requirement was enabled.","value":"two_step_authentication_mandate_enabled"},{"description":"An identity verification challenge failed.","value":"user_auth_challenge_failed"},{"description":"A user changed their email address.","value":"user_email_changed"},{"description":"A user verified their email address.","value":"user_email_verified"},{"description":"A user changed the phone number on their Express account.","value":"user_express_phone_number_changed"},{"description":"A user connected a Google account for sign-in.","value":"user_google_account_connected"},{"description":"A user disconnected their Google account.","value":"user_google_account_disconnected"},{"description":"A user invite was accepted.","value":"user_invite_accepted"},{"description":"A user invite was created.","value":"user_invite_created"},{"description":"A user invite was deleted.","value":"user_invite_deleted"},{"description":"The user registered a passkey.","value":"user_passkey_added"},{"description":"The user removed a passkey.","value":"user_passkey_removed"},{"description":"The user renamed a passkey.","value":"user_passkey_updated"},{"description":"The user upgraded a device to a passkey.","value":"user_passkey_upgraded"},{"description":"The user changed their account password.","value":"user_password_changed"},{"description":"The user set a password on their account.","value":"user_password_initialized"},{"description":"A password reset attempt failed due to an invalid one-time code.","value":"user_password_reset_failed"},{"description":"A password reset was requested for the user.","value":"user_password_reset_requested"},{"description":"The user successfully reset their password.","value":"user_password_reset_succeeded"},{"description":"A user's roles were deleted.","value":"user_roles_deleted"},{"description":"A user's roles were updated.","value":"user_roles_updated"},{"description":"The user used an emergency backup code to disable two-step authentication.","value":"user_two_step_authentication_backup_code_used"},{"description":"The user added a two-step authentication method.","value":"user_two_step_authentication_method_added"},{"description":"A two-step authentication method was removed from the account.","value":"user_two_step_authentication_method_removed"},{"description":"A two-step authentication method was reset.","value":"user_two_step_authentication_method_reset"},{"description":"The user updated an existing two-step authentication method.","value":"user_two_step_authentication_method_updated"},{"description":"An account admin requested a two-step authentication reset for another user.","value":"user_two_step_authentication_reset_requested"}]}}}},{"name":"limit","in":"query","description":"Maximum number of results to return per page.","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 activity logs.","items":{"$ref":"#/components/schemas/v2.iam.activity_log"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"accact_1SdeybAiQNL8swvtMHyVtfCU","object":"v2.iam.activity_log","created":"2026-04-01T00:00:00.000Z","type":"api_key_created","livemode":true,"context":"acct_1SdeybAiQNL8swvt","actor":{"type":"user","user":{"email":"user@example.com"}},"details":{"type":"api_key","api_key":{"id":"mk_1SdeybAiQNL8swvtMHyVtfCU","created":"2026-04-01T00:00:00.000Z","type":"secret_key","name":"My API Key","note":"","expires_at":null,"ip_allowlist":[],"new_key":null,"managed_by":null}}},{"id":"accact_1Sdet2AiQNL8swvt4Ui4NzaX","object":"v2.iam.activity_log","created":"2026-04-02T00:00:00.000Z","type":"user_invite_created","livemode":true,"context":"acct_1SdeybAiQNL8swvt","actor":{"type":"user","user":{"email":"admin@example.com"}},"details":{"type":"user_invite","user_invite":{"invited_user_email":"newuser@example.com","roles":["developer"]}}}],"next_page_url":"/v2/iam/activity_logs?page=page_0NQAjX2r1Ck82gY4Pd601CN96ge7SJEEICEzTGRS5KR3xV0lf9ds4Xb2Wa1NK6J3IA7Gnu8of5JWHYFEJ1BB1qO8bk8hU88E3bs7u","previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_filters"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_activity_logs","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{},"stripeContextHeader":true},"response":{"data":[{"id":"accact_1SdeybAiQNL8swvtMHyVtfCU","object":"v2.iam.activity_log","created":"2026-04-01T00:00:00.000Z","type":"api_key_created","livemode":true,"context":"acct_1SdeybAiQNL8swvt","actor":{"type":"user","user":{"email":"user@example.com"}},"details":{"type":"api_key","api_key":{"id":"mk_1SdeybAiQNL8swvtMHyVtfCU","created":"2026-04-01T00:00:00.000Z","type":"secret_key","name":"My API Key","note":"","expires_at":null,"ip_allowlist":[],"new_key":null,"managed_by":null}}},{"id":"accact_1Sdet2AiQNL8swvt4Ui4NzaX","object":"v2.iam.activity_log","created":"2026-04-02T00:00:00.000Z","type":"user_invite_created","livemode":true,"context":"acct_1SdeybAiQNL8swvt","actor":{"type":"user","user":{"email":"admin@example.com"}},"details":{"type":"user_invite","user_invite":{"invited_user_email":"newuser@example.com","roles":["developer"]}}}],"next_page_url":"/v2/iam/activity_logs?page=page_0NQAjX2r1Ck82gY4Pd601CN96ge7SJEEICEzTGRS5KR3xV0lf9ds4Xb2Wa1NK6J3IA7Gnu8of5JWHYFEJ1BB1qO8bk8hU88E3bs7u","previous_page_url":null}}],"x-stripeErrors":[{"code":"invalid_filters","description":"Error returned when filter parameters in the request are invalid.","httpStatusCode":400}]}},"/v2/iam/activity_logs/{id}":{"get":{"summary":"Retrieve an Activity Log","description":"Retrieve an activity log.","operationId":"GetV2IamActivityLogsId","parameters":[{"name":"id","in":"path","description":"Unique identifier of the activity log entry to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.iam.activity_log"},"examples":{"example":{"value":{"id":"accact_1SdeybAiQNL8swvtMHyVtfCU","object":"v2.iam.activity_log","created":"2026-04-01T00:00:00.000Z","type":"api_key_created","livemode":true,"context":"acct_1SdeybAiQNL8swvt","actor":{"type":"user","user":{"email":"user@example.com"}},"details":{"type":"api_key","api_key":{"id":"mk_1SdeybAiQNL8swvtMHyVtfCU","created":"2026-04-01T00:00:00.000Z","type":"secret_key","name":"My API Key","note":"","expires_at":null,"ip_allowlist":[],"new_key":null,"managed_by":null}}}}}}}},"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_activity_log","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"accact_1SdeybAiQNL8swvtMHyVtfCU"},"requestBody":{},"stripeContextHeader":true},"response":{"id":"accact_1SdeybAiQNL8swvtMHyVtfCU","object":"v2.iam.activity_log","created":"2026-04-01T00:00:00.000Z","type":"api_key_created","livemode":true,"context":"acct_1SdeybAiQNL8swvt","actor":{"type":"user","user":{"email":"user@example.com"}},"details":{"type":"api_key","api_key":{"id":"mk_1SdeybAiQNL8swvtMHyVtfCU","created":"2026-04-01T00:00:00.000Z","type":"secret_key","name":"My API Key","note":"","expires_at":null,"ip_allowlist":[],"new_key":null,"managed_by":null}}}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/money_management/adjustments":{"get":{"summary":"List Adjustments","description":"Returns a list of Adjustments that match the provided filters.","operationId":"GetV2MoneyManagementAdjustments","parameters":[{"name":"adjusted_flow","in":"query","description":"Filter for Adjustments linked to a Flow.","required":false,"style":"form","schema":{"type":"string"}},{"name":"created","in":"query","description":"Set of filters to query Adjustments within a range of `created` timestamps.","required":false,"style":"deepObject","schema":{"type":"object","properties":{"gt":{"type":"string","description":"Filter for objects created after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"gte":{"type":"string","description":"Filter for objects created on or after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"lt":{"type":"string","description":"Filter for objects created before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"lte":{"type":"string","description":"Filter for objects created on or before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"}}}},{"name":"limit","in":"query","description":"The page limit.","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 Adjustment objects.","items":{"$ref":"#/components/schemas/v2.money_management.adjustment"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"adj_65Pj770ytFhPwgkQg0116Pj6mS0dSQaN2JL1S0NhRweDjE","object":"v2.money_management.adjustment","adjusted_flow":{"outbound_payment":"obp_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","type":"outbound_payment"},"amount":{"value":100,"currency":"usd"},"created":"2024-01-18T00:08:23.488Z","description":"Stripe credit","financial_account":"fa_65Pj6mdWMT1K5pw0kSK16Pj6mS0dSQaN2JL1S0NhRweTZY","livemode":true,"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZQT1FKUzdSU1FzMnFGVDFJektXSXlHKJOXtLYGMgZkVRf7VbI6SJRp7IPsVDBFSlQo5pcqfVA-rhUM1vwykiziz5767yzBhMdFWTHS31y9b_jVoQGdDDSkdFA0I4n9rtJL0tv1zeOu5hRHAW76vP"},{"id":"adj_65PlYXryTmMdhykXmsV16PlJT00CSQOY87ottjLI5jUDbk","object":"adjustment","adjusted_flow":null,"amount":{"value":-225,"currency":"usd"},"created":"2024-01-14T17:50:12.707Z","description":"Stripe debit","financial_account":"fa_65Pj6mdWMT1K5pw0kSK16Pj6mS0dSQaN2JL1S0NhRweTZY","livemode":true,"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZQT1FKUzdSU1FzMnFGVDFJektXSXlHKJOXtLYGMgY1rQ-bJNM6SJRUrOplKjRLGucVqBUamJmezkcPTNYB-quiy7FlWZeHb02zbzhb00Ticm7zPLN7klTNzZ1ZPc5ImTanyhIYt5Xn_xXihPpFJP"}]}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_filters"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_adjustments","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"created":{"gte":"2024-01-01T00:00:00Z"}},"gated":true},"response":{"data":[{"id":"adj_65Pj770ytFhPwgkQg0116Pj6mS0dSQaN2JL1S0NhRweDjE","object":"v2.money_management.adjustment","adjusted_flow":{"outbound_payment":"obp_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","type":"outbound_payment"},"amount":{"value":100,"currency":"usd"},"created":"2024-01-18T00:08:23.488Z","description":"Stripe credit","financial_account":"fa_65Pj6mdWMT1K5pw0kSK16Pj6mS0dSQaN2JL1S0NhRweTZY","livemode":true,"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZQT1FKUzdSU1FzMnFGVDFJektXSXlHKJOXtLYGMgZkVRf7VbI6SJRp7IPsVDBFSlQo5pcqfVA-rhUM1vwykiziz5767yzBhMdFWTHS31y9b_jVoQGdDDSkdFA0I4n9rtJL0tv1zeOu5hRHAW76vP"},{"id":"adj_65PlYXryTmMdhykXmsV16PlJT00CSQOY87ottjLI5jUDbk","object":"adjustment","adjusted_flow":null,"amount":{"value":-225,"currency":"usd"},"created":"2024-01-14T17:50:12.707Z","description":"Stripe debit","financial_account":"fa_65Pj6mdWMT1K5pw0kSK16Pj6mS0dSQaN2JL1S0NhRweTZY","livemode":true,"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZQT1FKUzdSU1FzMnFGVDFJektXSXlHKJOXtLYGMgY1rQ-bJNM6SJRUrOplKjRLGucVqBUamJmezkcPTNYB-quiy7FlWZeHb02zbzhb00Ticm7zPLN7klTNzZ1ZPc5ImTanyhIYt5Xn_xXihPpFJP"}]}}],"x-stripeErrors":[{"code":"invalid_filters","description":"Error returned when filter parameters in the request are invalid.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/adjustments/{id}":{"get":{"summary":"Retrieve an Adjustment","description":"Retrieves the details of an Adjustment by ID.","operationId":"GetV2MoneyManagementAdjustmentsId","parameters":[{"name":"id","in":"path","description":"The ID of the Adjustment to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.adjustment"},"examples":{"example":{"value":{"id":"adj_65Pj770ytFhPwgkQg0116Pj6mS0dSQaN2JL1S0NhRweDjE","object":"v2.money_management.adjustment","adjusted_flow":{"outbound_payment":"obp_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","type":"outbound_payment"},"amount":{"value":100,"currency":"usd"},"created":"2024-01-18T00:08:23.488Z","description":"Stripe credit","financial_account":"fa_65Pj6mdWMT1K5pw0kSK16Pj6mS0dSQaN2JL1S0NhRweTZY","livemode":true,"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZQT1FKUzdSU1FzMnFGVDFJektXSXlHKJOXtLYGMgZkVRf7VbI6SJRp7IPsVDBFSlQo5pcqfVA-rhUM1vwykiziz5767yzBhMdFWTHS31y9b_jVoQGdDDSkdFA0I4n9rtJL0tv1zeOu5hRHAW76vP"}}}}}},"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_adjustment","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"adj_65Pj770ytFhPwgkQg0116Pj6mS0dSQaN2JL1S0NhRweDjE"},"requestBody":{}},"response":{"id":"adj_65Pj770ytFhPwgkQg0116Pj6mS0dSQaN2JL1S0NhRweDjE","object":"v2.money_management.adjustment","adjusted_flow":{"outbound_payment":"obp_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","type":"outbound_payment"},"amount":{"value":100,"currency":"usd"},"created":"2024-01-18T00:08:23.488Z","description":"Stripe credit","financial_account":"fa_65Pj6mdWMT1K5pw0kSK16Pj6mS0dSQaN2JL1S0NhRweTZY","livemode":true,"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZQT1FKUzdSU1FzMnFGVDFJektXSXlHKJOXtLYGMgZkVRf7VbI6SJRp7IPsVDBFSlQo5pcqfVA-rhUM1vwykiziz5767yzBhMdFWTHS31y9b_jVoQGdDDSkdFA0I4n9rtJL0tv1zeOu5hRHAW76vP"}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/financial_accounts":{"get":{"summary":"List Financial Accounts","description":"Lists FinancialAccounts in this compartment.","operationId":"GetV2MoneyManagementFinancialAccounts","parameters":[{"name":"include","in":"query","description":"Additional fields to include in the response.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["storage.deposit_insurance_eligibility"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Include parameter to expose `storage.deposit_insurance_eligibility` on a storage FinancialAccount.","value":"storage.deposit_insurance_eligibility"}]}}}},{"name":"limit","in":"query","description":"The page limit.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"statuses","in":"query","description":"Filter for FinancialAccount `status`. By default, closed FinancialAccounts are not returned.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["closed","open","pending"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The FinancialAccount is closed and cannot be used anymore.","value":"closed"},{"description":"The FinancialAccount is open and available for use.","value":"open"},{"description":"The FinancialAccount was created and is in the process of being opened.","value":"pending"}]}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"Financial Accounts retrieved.","items":{"$ref":"#/components/schemas/v2.money_management.financial_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}}},"examples":{"example":{"value":{"data":[{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2023-02-24T22:48:56.363Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"status":"open","storage":{"holds_currencies":["usd"]},"type":"storage"}],"next_page_url":null,"previous_page_url":null}}}}}},"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_list_financial_account","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2023-02-24T22:48:56.363Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"status":"open","storage":{"holds_currencies":["usd"]},"type":"storage"}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Create a Financial Account","description":"Creates a new FinancialAccount.","operationId":"PostV2MoneyManagementFinancialAccounts","requestBody":{"content":{"application/json":{"schema":{"required":["type"],"type":"object","properties":{"display_name":{"type":"string","description":"A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Metadata associated with the FinancialAccount."},"storage":{"required":["holds_currencies"],"type":"object","properties":{"deposit_insurance_eligibility":{"type":"array","description":"Array of eligibility objects, segmented by bank name and deposit insurance scheme.","items":{"required":["bank_name","currencies","type"],"type":"object","properties":{"bank_name":{"type":"string","description":"The bank where funds are stored.","enum":["fifth_third"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fifth Third Bank.","value":"fifth_third"}]}},"currencies":{"type":"array","description":"Currencies eligible for deposit insurance at this bank under this scheme.","items":{"type":"string"}},"type":{"type":"string","description":"The deposit insurance scheme.","enum":["fdic","fdic_passthrough"],"x-stripeEnum":{"kind":"open","values":[{"description":"The funds are held in a Demand Deposit Account (DDA) structure.","value":"fdic"},{"description":"The funds are held in a For Benefit Of (FBO) structure.","value":"fdic_passthrough"}]}}}}},"holds_currencies":{"type":"array","description":"The currencies that this FinancialAccount can hold.","items":{"type":"string"}}},"description":"Parameters specific to creating `storage` type FinancialAccounts."},"type":{"type":"string","description":"The type of FinancialAccount to create.","enum":["storage"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Used for the long term storage of funds and sending those funds to others.","value":"storage"}]}}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"type":"storage","storage":{"holds_currencies":["usd"]},"display_name":"Sample FinancialAccount"}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.financial_account"},"examples":{"example":{"value":{"id":"fa_65So897Og7nsSRgcz1L16SmeOD0tE9TfqsMPW2uZH3IEky","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2025-06-27T21:52:05.197Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"status":"pending","storage":{"holds_currencies":["usd"]},"type":"storage"}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.already_exists"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_not_enabled"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_restricted"},{"$ref":"#/components/schemas/v2.error.financial_account_crypto_currency_network_unsupported"},{"$ref":"#/components/schemas/v2.error.financial_account_open_limit"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.platform_financial_account_currency_required"},{"$ref":"#/components/schemas/v2.error.storer_capability_missing"},{"$ref":"#/components/schemas/v2.error.storer_capability_not_active"},{"$ref":"#/components/schemas/v2.error.unsupported_currency"},{"$ref":"#/components/schemas/v2.error.unsupported_legal_entity_country"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_financial_account","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"type":"storage","storage":{"holds_currencies":["usd"]},"display_name":"Sample FinancialAccount"}},"response":{"id":"fa_65So897Og7nsSRgcz1L16SmeOD0tE9TfqsMPW2uZH3IEky","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2025-06-27T21:52:05.197Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"status":"pending","storage":{"holds_currencies":["usd"]},"type":"storage"}}],"x-stripeErrors":[{"code":"already_exists","description":"The resource already exists.","httpStatusCode":400,"type":"already_exists"},{"code":"financial_account_capability_not_enabled","description":"Error thrown when attempting to add currencies that require capabilities that are not enabled.","httpStatusCode":400},{"code":"financial_account_capability_restricted","description":"Error thrown when attempting to add currencies that require capabilities that are restricted.","httpStatusCode":400},{"code":"financial_account_crypto_currency_network_unsupported","description":"The requested crypto currency and network combination is not supported.","httpStatusCode":400},{"code":"financial_account_open_limit","description":"The compartment has reached its limit on open FinancialAccounts.","httpStatusCode":400},{"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},{"code":"platform_financial_account_currency_required","description":"The currency is not supported as the platform does not have a Financial Account that holds the currency.","httpStatusCode":400},{"code":"storer_capability_missing","description":"The required storer capabilities are missing.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"storer_capability_not_active","description":"The required storer capabilities are not active.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"unsupported_currency","description":"The currency is not supported for Financial Accounts.","httpStatusCode":400},{"code":"unsupported_legal_entity_country","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/financial_accounts/{id}":{"get":{"summary":"Retrieve a Financial Account","description":"Retrieves the details of an existing FinancialAccount.","operationId":"GetV2MoneyManagementFinancialAccountsId","parameters":[{"name":"id","in":"path","description":"ID of the FinancialAccount to be fetched.","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":["storage.deposit_insurance_eligibility"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Include parameter to expose `storage.deposit_insurance_eligibility` on a storage FinancialAccount.","value":"storage.deposit_insurance_eligibility"}]}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.financial_account"},"examples":{"example":{"value":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2023-02-24T22:48:56.363Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"status":"open","storage":{"holds_currencies":["usd"]},"type":"storage"}}}}}},"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_financial_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq"},"requestBody":{}},"response":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2023-02-24T22:48:56.363Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"status":"open","storage":{"holds_currencies":["usd"]},"type":"storage"}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Update a Financial Account","description":"Updates an existing FinancialAccount.","operationId":"PostV2MoneyManagementFinancialAccountsId","parameters":[{"name":"id","in":"path","description":"ID of the FinancialAccount to get updated.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"display_name":{"type":"string","description":"A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components."},"metadata":{"type":"object","additionalProperties":{"type":"string","nullable":true},"description":"Metadata associated with the FinancialAccount."}}},"examples":{"example":{"value":{"pathParams":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq"},"requestBody":{"display_name":"My FinancialAccount","metadata":{"key":"value"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.financial_account"},"examples":{"example":{"value":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2025-06-27T21:52:05.197Z","display_name":"My FinancialAccount","livemode":true,"metadata":{"key":"value"},"status":"open","storage":{"holds_currencies":["usd"]},"type":"storage"}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.financial_account_capability_not_enabled"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_restricted"},{"$ref":"#/components/schemas/v2.error.financial_account_crypto_currency_network_unsupported"},{"$ref":"#/components/schemas/v2.error.financial_account_crypto_custody_model_immutable"},{"$ref":"#/components/schemas/v2.error.financial_account_crypto_network_immutable"},{"$ref":"#/components/schemas/v2.error.financial_account_exportable_balances_forwarding_immutable"},{"$ref":"#/components/schemas/v2.error.financial_account_operation_unsupported_for_type"},{"$ref":"#/components/schemas/v2.error.financial_account_remove_currency_unsupported"},{"$ref":"#/components/schemas/v2.error.financial_account_wallet_export_completed"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.platform_financial_account_currency_required"},{"$ref":"#/components/schemas/v2.error.unsupported_currency"},{"$ref":"#/components/schemas/v2.error.unsupported_operation_on_managed_financial_account_resource"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_financial_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq"},"requestBody":{"display_name":"My FinancialAccount","metadata":{"key":"value"}}},"response":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2025-06-27T21:52:05.197Z","display_name":"My FinancialAccount","livemode":true,"metadata":{"key":"value"},"status":"open","storage":{"holds_currencies":["usd"]},"type":"storage"}}],"x-stripeErrors":[{"code":"financial_account_capability_not_enabled","description":"Error thrown when attempting to add currencies that require capabilities that are not enabled.","httpStatusCode":400},{"code":"financial_account_capability_restricted","description":"Error thrown when attempting to add currencies that require capabilities that are restricted.","httpStatusCode":400},{"code":"financial_account_crypto_currency_network_unsupported","description":"The requested crypto currency and network combination is not supported.","httpStatusCode":400},{"code":"financial_account_crypto_custody_model_immutable","description":"A Financial Account's configured crypto custody model is immutable.","httpStatusCode":400},{"code":"financial_account_crypto_network_immutable","description":"A currency's configured crypto storage network is immutable.","httpStatusCode":400},{"code":"financial_account_exportable_balances_forwarding_immutable","description":"Exportable-balance forwarding cannot be changed from false to true.","httpStatusCode":400},{"code":"financial_account_operation_unsupported_for_type","description":"Operation not supported on Financial Accounts with this type.","httpStatusCode":400},{"code":"financial_account_remove_currency_unsupported","description":"Error thrown when attempting to remove currencies that have been enabled.","httpStatusCode":400},{"code":"financial_account_wallet_export_completed","description":"Exportable-balance forwarding cannot change after wallet export completes.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"platform_financial_account_currency_required","description":"The currency is not supported as the platform does not have a Financial Account that holds the currency.","httpStatusCode":400},{"code":"unsupported_currency","description":"The currency is not supported for Financial Accounts.","httpStatusCode":400},{"code":"unsupported_operation_on_managed_financial_account_resource","description":"Modification of an object is not allowed on a managed account.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/financial_accounts/{id}/close":{"post":{"summary":"Close a Financial Account","description":"Closes a FinancialAccount with or without forwarding settings.","operationId":"PostV2MoneyManagementFinancialAccountsIdClose","parameters":[{"name":"id","in":"path","description":"ID of the FinancialAccount to be closed.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"forwarding_settings":{"type":"object","properties":{"payment_method":{"type":"string","description":"The address to send forwarded payments to."},"payout_method":{"type":"string","description":"The address to send forwarded payouts to."}},"description":"The addresses to forward any incoming transactions to."}}},"examples":{"example":{"value":{"pathParams":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq"},"requestBody":{"forwarding_settings":{"payout_method":"fa_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y","payment_method":"fa_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.financial_account"},"examples":{"example":{"value":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2025-06-27T21:52:05.197Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"other":null,"status":"closed","storage":{"holds_currencies":["usd"]},"type":"storage"}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.closing_financial_account_with_non_zero_balances"},{"$ref":"#/components/schemas/v2.error.financial_account_already_closed"},{"$ref":"#/components/schemas/v2.error.financial_account_close_requires_forwarding_financial_account"},{"$ref":"#/components/schemas/v2.error.financial_account_in_forwarding_settings_required"},{"$ref":"#/components/schemas/v2.error.financial_account_operation_unsupported_for_type"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.unsupported_operation_on_managed_financial_account_resource"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_close_financial_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq"},"requestBody":{"forwarding_settings":{"payout_method":"fa_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y","payment_method":"fa_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"}}},"response":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2025-06-27T21:52:05.197Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"other":null,"status":"closed","storage":{"holds_currencies":["usd"]},"type":"storage"}}],"x-stripeErrors":[{"code":"closing_financial_account_with_non_zero_balances","description":"Error thrown if a user tries to close an account that has non-zero balances.","httpStatusCode":400,"type":"non_zero_balance"},{"code":"financial_account_already_closed","description":"Error thrown if a user tries to close an account that is already closed.","httpStatusCode":400},{"code":"financial_account_close_requires_forwarding_financial_account","description":"Closing a savings Financial Account requires a forwarding Financial Account of type storage.","httpStatusCode":400},{"code":"financial_account_in_forwarding_settings_required","description":"In the EU, closing a Financial Account with forwarding settings requires supplying another Financial Account.","httpStatusCode":400},{"code":"financial_account_operation_unsupported_for_type","description":"Operation not supported on Financial Accounts with this type.","httpStatusCode":400},{"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},{"code":"unsupported_operation_on_managed_financial_account_resource","description":"Modification of an object is not allowed on a managed account.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/financial_addresses":{"get":{"summary":"List Financial Addresses","description":"List all FinancialAddresses for a FinancialAccount (V2 shape).","operationId":"GetV2MoneyManagementFinancialAddresses","parameters":[{"name":"financial_account","in":"query","description":"The ID of the FinancialAccount for which FinancialAddresses are to be returned.","required":false,"style":"form","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}}},{"name":"limit","in":"query","description":"The page limit.","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 FinancialAddresses.","items":{"$ref":"#/components/schemas/v2.money_management.financial_address"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"finaddr_61O3m0n8AAMZt30I2YH16O0lef0dSQgZ0EhGyZsQCXQHG4","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"account_number":"123456890","routing_number":"110000000","bank_name":"STRIPE TEST BANK","last4":"6890","account_holder_name":"Jenny Rosen","account_holder_address":{"line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"California","postal_code":"94080","country":"us"}}},"financial_account":"fa_6504m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"active","created":"2023-03-30T17:22:06.188Z","settlement_currency":"usd","livemode":true},{"id":"finaddr_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"account_number":"123456891","routing_number":"110000000","bank_name":"STRIPE TEST BANK","last4":"6891","account_holder_name":"Jenny Rosen","account_holder_address":{"line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"California","postal_code":"94080","country":"us"}}},"financial_account":"fa_6504m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"active","created":"2023-03-30T17:32:06.665Z","settlement_currency":"usd","livemode":true}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.financial_address_invalid_page_token"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_financial_addresses_v2","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"finaddr_61O3m0n8AAMZt30I2YH16O0lef0dSQgZ0EhGyZsQCXQHG4","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"account_number":"123456890","routing_number":"110000000","bank_name":"STRIPE TEST BANK","last4":"6890","account_holder_name":"Jenny Rosen","account_holder_address":{"line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"California","postal_code":"94080","country":"us"}}},"financial_account":"fa_6504m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"active","created":"2023-03-30T17:22:06.188Z","settlement_currency":"usd","livemode":true},{"id":"finaddr_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"account_number":"123456891","routing_number":"110000000","bank_name":"STRIPE TEST BANK","last4":"6891","account_holder_name":"Jenny Rosen","account_holder_address":{"line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"California","postal_code":"94080","country":"us"}}},"financial_account":"fa_6504m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"active","created":"2023-03-30T17:32:06.665Z","settlement_currency":"usd","livemode":true}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"financial_address_invalid_page_token","httpStatusCode":400}],"x-stripeNotPublic":true},"post":{"summary":"Create a Financial Address","description":"Create a new FinancialAddress for a FinancialAccount (V2 shape).","operationId":"PostV2MoneyManagementFinancialAddresses","requestBody":{"content":{"application/json":{"schema":{"required":["financial_account","type"],"type":"object","properties":{"bank_account":{"required":["currency"],"type":"object","properties":{"country":{"type":"string","description":"The country for the bank account. Used to select the appropriate rails (e.g. for SEPA)."},"currency":{"type":"string","description":"The currency of the bank account to provision.","enum":["gbp","usd"],"x-stripeEnum":{"kind":"open","values":[{"description":"British Pound Sterling.","value":"gbp"},{"description":"US Dollar.","value":"usd"}]}}},"description":"Properties for creating a bank account FinancialAddress."},"financial_account":{"type":"string","description":"The ID of the FinancialAccount the new FinancialAddress should be associated with.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}},"settlement_currency":{"type":"string","description":"Open Enum. The currency the FinancialAddress settles into the FinancialAccount."},"type":{"type":"string","description":"The type of FinancialAddress to create. Must agree with which branch of financial_address_type_properties is set.","enum":["bank_account"],"x-stripeEnum":{"kind":"open","values":[{"description":"A bank account FinancialAddress.","value":"bank_account"}]}}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"financial_account":"fa_654f0m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","type":"bank_account","bank_account":{"currency":"usd"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.financial_address"},"examples":{"example":{"value":{"id":"finaddr_61O5ng8AAMZt30I2YH16O0lef0dSQgZ0EhGyZsQCXQHG4","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"routing_number":"","bank_name":"","last4":"","account_holder_name":"","account_holder_address":{"line1":"","line2":"","city":"","state":"","postal_code":""}}},"financial_account":"fa_654f0m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"pending","created":"2023-03-30T17:22:06.188Z","settlement_currency":"usd","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.financial_account_balance_does_not_support_currency"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_not_enabled"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_restricted"},{"$ref":"#/components/schemas/v2.error.financial_account_feature_restricted"},{"$ref":"#/components/schemas/v2.error.financial_account_not_in_open_status"},{"$ref":"#/components/schemas/v2.error.financial_account_operation_unsupported_for_property"},{"$ref":"#/components/schemas/v2.error.financial_account_operation_unsupported_for_type"},{"$ref":"#/components/schemas/v2.error.financial_account_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.financial_account_unsupported_type"},{"$ref":"#/components/schemas/v2.error.financial_address_account_unsupported_configuration"},{"$ref":"#/components/schemas/v2.error.financial_address_type_and_settlement_currency_pair_unsupported"},{"$ref":"#/components/schemas/v2.error.financial_addresses_creation_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.storer_capability_missing"},{"$ref":"#/components/schemas/v2.error.storer_capability_not_active"},{"$ref":"#/components/schemas/v2.error.unsupported_country_for_bank_account_financial_address"},{"$ref":"#/components/schemas/v2.error.unsupported_crypto_wallet_settlement_currency"},{"$ref":"#/components/schemas/v2.error.unsupported_currency"},{"$ref":"#/components/schemas/v2.error.unsupported_operation_with_managed_financial_account"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_financial_address_v2","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"financial_account":"fa_654f0m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","type":"bank_account","bank_account":{"currency":"usd"}}},"response":{"id":"finaddr_61O5ng8AAMZt30I2YH16O0lef0dSQgZ0EhGyZsQCXQHG4","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"routing_number":"","bank_name":"","last4":"","account_holder_name":"","account_holder_address":{"line1":"","line2":"","city":"","state":"","postal_code":""}}},"financial_account":"fa_654f0m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"pending","created":"2023-03-30T17:22:06.188Z","settlement_currency":"usd","livemode":true}}],"x-stripeErrors":[{"code":"financial_account_balance_does_not_support_currency","httpStatusCode":400},{"code":"financial_account_capability_not_enabled","description":"Error thrown when attempting to add currencies that require capabilities that are not enabled.","httpStatusCode":400},{"code":"financial_account_capability_restricted","description":"Error thrown when attempting to add currencies that require capabilities that are restricted.","httpStatusCode":400},{"code":"financial_account_feature_restricted","httpStatusCode":400},{"code":"financial_account_not_in_open_status","httpStatusCode":400,"type":"financial_account_not_open"},{"code":"financial_account_operation_unsupported_for_property","description":"Operation not supported on Financial Accounts with this type and property.","httpStatusCode":400},{"code":"financial_account_operation_unsupported_for_type","description":"Operation not supported on Financial Accounts with this type.","httpStatusCode":400},{"code":"financial_account_unsupported_currency","description":"Returned when a Financial Account cannot hold the requested settlement currency.","httpStatusCode":400},{"code":"financial_account_unsupported_type","description":"Returned when a Financial Account type does not support crypto wallet Financial Addresses.","httpStatusCode":400},{"code":"financial_address_account_unsupported_configuration","description":"Returned when an Account does not have a supported configuration.","httpStatusCode":400},{"code":"financial_address_type_and_settlement_currency_pair_unsupported","httpStatusCode":400},{"code":"financial_addresses_creation_limit_exceeded","httpStatusCode":400},{"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},{"code":"storer_capability_missing","description":"The required storer capabilities are missing.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"storer_capability_not_active","description":"The required storer capabilities are not active.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"unsupported_country_for_bank_account_financial_address","description":"Returned when the country is not supported for a bank_account Financial Address with the requested currency.","httpStatusCode":400},{"code":"unsupported_crypto_wallet_settlement_currency","description":"Returned when a crypto wallet cannot settle in the requested currency.","httpStatusCode":400},{"code":"unsupported_currency","description":"The currency is not supported for Financial Accounts.","httpStatusCode":400},{"code":"unsupported_operation_with_managed_financial_account","description":"Creation of an object is not allowed with a managed account.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/financial_addresses/{id}":{"get":{"summary":"Retrieve a Financial Address","description":"Retrieve a FinancialAddress (V2 shape).","operationId":"GetV2MoneyManagementFinancialAddressesId","parameters":[{"name":"id","in":"path","description":"The ID of the FinancialAddress to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.financial_address"},"examples":{"example":{"value":{"id":"finaddr_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"account_number":"123456890","routing_number":"110000000","bank_name":"STRIPE TEST BANK","last4":"6890","account_holder_name":"Jenny Rosen","account_holder_address":{"line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"California","postal_code":"94080","country":"us"}}},"financial_account":"fa_6504m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"active","created":"2023-03-30T17:32:06.665Z","settlement_currency":"usd","livemode":true}}}}}},"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_financial_address_v2","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"finaddr_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls"},"requestBody":{}},"response":{"id":"finaddr_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"account_number":"123456890","routing_number":"110000000","bank_name":"STRIPE TEST BANK","last4":"6890","account_holder_name":"Jenny Rosen","account_holder_address":{"line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"California","postal_code":"94080","country":"us"}}},"financial_account":"fa_6504m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"active","created":"2023-03-30T17:32:06.665Z","settlement_currency":"usd","livemode":true}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/inbound_transfers":{"get":{"summary":"List Inbound Transfers","description":"Retrieves a list of InboundTransfers.","operationId":"GetV2MoneyManagementInboundTransfers","parameters":[{"name":"created","in":"query","description":"Hash of options for filtering on creation time.","required":false,"style":"deepObject","schema":{"type":"object","properties":{"gt":{"type":"string","description":"Filter for objects created after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"gte":{"type":"string","description":"Filter for objects created on or after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"lt":{"type":"string","description":"Filter for objects created before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"lte":{"type":"string","description":"Filter for objects created on or before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"}}}},{"name":"limit","in":"query","description":"The page limit.","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":"The list of retrieved InboundTransfers.","items":{"$ref":"#/components/schemas/v2.money_management.inbound_transfer"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"ibt_test_61Ptdb61ySxOc4VMe16Nr2cJ8cSQabKn4q38nZ59EFcu","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-02-16T00:50:56.154471Z","description":"","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUol4nirwYyBi-u70wgczpGlOv1PxesNa_x3-CmgvINy-9SzW6t1qMJGYUWQroQuUT_snt4LMqOIkQvte7D5iA0Qw-WRpFG8guSrfoma4148OeCAkNfzA","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61Ptdb6GDbDR56tXt16Nr2cJ8cSQabKn4q38nZ59ERvE","bank_debit_queued":{},"created":"2024-02-16T00:50:56.152Z","effective_at":"2024-02-16T00:50:56.152Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61PtdbBmQQgOkrPbe16Nr2cJ8cSQabKn4q38nZ59EPuS","bank_debit_processing":{},"created":"2024-02-16T00:51:01.925Z","effective_at":"2024-02-16T00:51:01.925Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61PtdbG9ChR1FDFwE16Nr2cJ8cSQabKn4q38nZ59EF9k","bank_debit_succeeded":{},"created":"2024-02-16T00:51:06.618Z","effective_at":"2024-02-16T00:51:06.618Z","level":"canonical","type":"bank_debit_succeeded"}],"livemode":true},{"id":"ibt_test_61PtdOWOXFYYaDZpW16Nr2cJ8cSQabKn4q38nZ59E8kK","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-02-16T00:37:56.172040Z","description":"","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUol4nirwYyBn-td8zMvTpGlJJ6_jW5z0Py6wXu2fI_jabxid1HroW6SuJy8uZDBuDXWQ-KhDLUiZUWOj_70AmiU2f06Lv6X1nWoe1b0XKsoJ5qftnenw","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61PtdOWQxDcYFqYsT16Nr2cJ8cSQabKn4q38nZ59ELZg","bank_debit_queued":{},"created":"2024-02-16T00:37:56.170Z","effective_at":"2024-02-16T00:37:56.170Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61PtdOc8HI8HBvaLd16Nr2cJ8cSQabKn4q38nZ59EG3E","bank_debit_processing":{},"created":"2024-02-16T00:38:02.143Z","effective_at":"2024-02-16T00:38:02.143Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61PtdOgzFEOhgtcUu16Nr2cJ8cSQabKn4q38nZ59EWw4","bank_debit_succeeded":{},"created":"2024-02-16T00:38:06.724Z","effective_at":"2024-02-16T00:38:06.724Z","level":"canonical","type":"bank_debit_succeeded"}],"livemode":true}],"next_page_url":"0X41472HF7187kV7kb7gi6L83Hc7UP3Xl5o57k34gS6oy3bl3HC5Du3M34wS6c75Q16Xr7L27XP3l060T3oT3TY5Gs2wX3cf7wD3cV3Pv7t23ob3HD5sD5Lg3193kn4tF7bp85D3cl5Y16Lc4l57g16sM5wX44e0Tq1oI3D03TR3D030a3YC3LF3sL3Te3Tb34m3LI3Xi3De","previous_page_url":"0X31472HF7187kV7kb7gi6L83Hc7ka6XW3IH5Ye5Hn3U659Z3HC5Du3M34wS6c75Q16Xr7L27XP3l060T3oT4gd7nm2wX3cf7wD3cV3Pv7t23ob3HD5sD5Lg3193kn4tF7bp85D3cl5Y16Lc4l57g16sM5wX44e0Tq1oI3D03TR3D030b3cK3Cy3sL3D83Xi34j3Xg3Tb3Hm"}}}}}},"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_list_inbound_transfers","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"created":{"gte":"2024-02-01T00:00:00Z"},"limit":10},"gated":true},"response":{"data":[{"id":"ibt_test_61Ptdb61ySxOc4VMe16Nr2cJ8cSQabKn4q38nZ59EFcu","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-02-16T00:50:56.154471Z","description":"","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUol4nirwYyBi-u70wgczpGlOv1PxesNa_x3-CmgvINy-9SzW6t1qMJGYUWQroQuUT_snt4LMqOIkQvte7D5iA0Qw-WRpFG8guSrfoma4148OeCAkNfzA","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61Ptdb6GDbDR56tXt16Nr2cJ8cSQabKn4q38nZ59ERvE","bank_debit_queued":{},"created":"2024-02-16T00:50:56.152Z","effective_at":"2024-02-16T00:50:56.152Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61PtdbBmQQgOkrPbe16Nr2cJ8cSQabKn4q38nZ59EPuS","bank_debit_processing":{},"created":"2024-02-16T00:51:01.925Z","effective_at":"2024-02-16T00:51:01.925Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61PtdbG9ChR1FDFwE16Nr2cJ8cSQabKn4q38nZ59EF9k","bank_debit_succeeded":{},"created":"2024-02-16T00:51:06.618Z","effective_at":"2024-02-16T00:51:06.618Z","level":"canonical","type":"bank_debit_succeeded"}],"livemode":true},{"id":"ibt_test_61PtdOWOXFYYaDZpW16Nr2cJ8cSQabKn4q38nZ59E8kK","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-02-16T00:37:56.172040Z","description":"","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUol4nirwYyBn-td8zMvTpGlJJ6_jW5z0Py6wXu2fI_jabxid1HroW6SuJy8uZDBuDXWQ-KhDLUiZUWOj_70AmiU2f06Lv6X1nWoe1b0XKsoJ5qftnenw","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61PtdOWQxDcYFqYsT16Nr2cJ8cSQabKn4q38nZ59ELZg","bank_debit_queued":{},"created":"2024-02-16T00:37:56.170Z","effective_at":"2024-02-16T00:37:56.170Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61PtdOc8HI8HBvaLd16Nr2cJ8cSQabKn4q38nZ59EG3E","bank_debit_processing":{},"created":"2024-02-16T00:38:02.143Z","effective_at":"2024-02-16T00:38:02.143Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61PtdOgzFEOhgtcUu16Nr2cJ8cSQabKn4q38nZ59EWw4","bank_debit_succeeded":{},"created":"2024-02-16T00:38:06.724Z","effective_at":"2024-02-16T00:38:06.724Z","level":"canonical","type":"bank_debit_succeeded"}],"livemode":true}],"next_page_url":"0X41472HF7187kV7kb7gi6L83Hc7UP3Xl5o57k34gS6oy3bl3HC5Du3M34wS6c75Q16Xr7L27XP3l060T3oT3TY5Gs2wX3cf7wD3cV3Pv7t23ob3HD5sD5Lg3193kn4tF7bp85D3cl5Y16Lc4l57g16sM5wX44e0Tq1oI3D03TR3D030a3YC3LF3sL3Te3Tb34m3LI3Xi3De","previous_page_url":"0X31472HF7187kV7kb7gi6L83Hc7ka6XW3IH5Ye5Hn3U659Z3HC5Du3M34wS6c75Q16Xr7L27XP3l060T3oT4gd7nm2wX3cf7wD3cV3Pv7t23ob3HD5sD5Lg3193kn4tF7bp85D3cl5Y16Lc4l57g16sM5wX44e0Tq1oI3D03TR3D030b3cK3Cy3sL3D83Xi34j3Xg3Tb3Hm"}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Create an Inbound Transfer","description":"InboundTransfers APIs are used to create, retrieve or list InboundTransfers.","operationId":"PostV2MoneyManagementInboundTransfers","requestBody":{"content":{"application/json":{"schema":{"required":["amount","from","to"],"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":"The amount, in specified currency, by which the FinancialAccount balance will increase due to the InboundTransfer."},"description":{"type":"string","description":"An optional, freeform description field intended to store metadata."},"from":{"required":["payment_method"],"type":"object","properties":{"currency":{"type":"string","description":"An optional currency field used to specify which currency is debited from the Payment Method.\nSince many Payment Methods support only one currency, this field is optional."},"payment_method":{"type":"string","description":"ID of the Payment Method using which IBT will be made."}},"description":"Object containing details about where the funds will originate from."},"to":{"required":["currency","financial_account"],"type":"object","properties":{"currency":{"type":"string","description":"The currency in which funds will land in."},"financial_account":{"type":"string","description":"The FinancialAccount that funds will land in.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}}},"description":"Object containing details about where the funds will land."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"description":"April Payouts","from":{"payment_method":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"},"to":{"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y","currency":"usd"},"amount":{"value":101,"currency":"usd"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.inbound_transfer"},"examples":{"example":{"value":{"id":"ibt_test_61Q58XwKMHh5ha3MI16Nr2cJ8cSQabKn4q38nZ59E6yO","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-03-18T18:07:12.619131Z","description":"April Payouts","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUohIbirwYyBvlQ2PtS3zpGlI2ZkpO8-dpYhb3KfWs1FlYI9eX2I94gJoeJHXOR0QwwesVCRnQwRgsUQqGFloqKV7McODKkoVKAMiuB5lD9htcDuxRtDA","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61Q58Xw5weaazmsWj16Nr2cJ8cSQabKn4q38nZ59E52W","bank_debit_queued":{},"created":"2024-03-18T18:07:12.617Z","effective_at":"2024-03-18T18:07:12.617Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61Q58Y2iAWn3U9kNW16Nr2cJ8cSQabKn4q38nZ59EXzc","bank_debit_processing":{},"created":"2024-03-18T18:07:18.403Z","effective_at":"2024-03-18T18:07:18.403Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61Q58Y7wNh292msCP16Nr2cJ8cSQabKn4q38nZ59EPz6","bank_debit_succeeded":{},"created":"2024-03-18T18:07:23.103Z","effective_at":"2024-03-18T18:07:23.103Z","level":"canonical","type":"bank_debit_succeeded"}],"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.financial_account_operation_unsupported_for_property"},{"$ref":"#/components/schemas/v2.error.financial_account_operation_unsupported_for_type"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.inbound_transfer_from_closed_financial_account_unsupported"},{"$ref":"#/components/schemas/v2.error.inbound_transfer_from_payment_method_mandate_inactive"},{"$ref":"#/components/schemas/v2.error.inbound_transfer_from_payment_method_not_found"},{"$ref":"#/components/schemas/v2.error.inbound_transfer_from_payment_method_type_unsupported"},{"$ref":"#/components/schemas/v2.error.inbound_transfer_from_payment_method_unusable"},{"$ref":"#/components/schemas/v2.error.inbound_transfer_from_payment_method_unverified"},{"$ref":"#/components/schemas/v2.error.inbound_transfer_not_allowed"},{"$ref":"#/components/schemas/v2.error.inbound_transfer_to_financial_account_not_found"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.unsupported_operation_with_managed_financial_account"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_inbound_transfer","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"description":"April Payouts","from":{"payment_method":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"},"to":{"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y","currency":"usd"},"amount":{"value":101,"currency":"usd"}}},"response":{"id":"ibt_test_61Q58XwKMHh5ha3MI16Nr2cJ8cSQabKn4q38nZ59E6yO","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-03-18T18:07:12.619131Z","description":"April Payouts","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUohIbirwYyBvlQ2PtS3zpGlI2ZkpO8-dpYhb3KfWs1FlYI9eX2I94gJoeJHXOR0QwwesVCRnQwRgsUQqGFloqKV7McODKkoVKAMiuB5lD9htcDuxRtDA","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61Q58Xw5weaazmsWj16Nr2cJ8cSQabKn4q38nZ59E52W","bank_debit_queued":{},"created":"2024-03-18T18:07:12.617Z","effective_at":"2024-03-18T18:07:12.617Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61Q58Y2iAWn3U9kNW16Nr2cJ8cSQabKn4q38nZ59EXzc","bank_debit_processing":{},"created":"2024-03-18T18:07:18.403Z","effective_at":"2024-03-18T18:07:18.403Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61Q58Y7wNh292msCP16Nr2cJ8cSQabKn4q38nZ59EPz6","bank_debit_succeeded":{},"created":"2024-03-18T18:07:23.103Z","effective_at":"2024-03-18T18:07:23.103Z","level":"canonical","type":"bank_debit_succeeded"}],"livemode":true}}],"x-stripeErrors":[{"code":"financial_account_operation_unsupported_for_property","description":"Operation not supported on Financial Accounts with this type and property.","httpStatusCode":400},{"code":"financial_account_operation_unsupported_for_type","description":"Operation not supported on Financial Accounts with this type.","httpStatusCode":400},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"inbound_transfer_from_closed_financial_account_unsupported","description":"Returned if an InboundTransfer is made to a closed FinancialAccount.","httpStatusCode":400},{"code":"inbound_transfer_from_payment_method_mandate_inactive","description":"Returned when the payment method's scheme requires an active mandate (e.g. UK Bacs) but no active\nInboundTransferMandate authorizes Stripe to debit it.","httpStatusCode":400},{"code":"inbound_transfer_from_payment_method_not_found","description":"Returned when a PaymentMethod cannot be found.","httpStatusCode":404},{"code":"inbound_transfer_from_payment_method_type_unsupported","description":"Returned when a valid, but unsupported PaymentMethod for InboundTransfers is provided.","httpStatusCode":400},{"code":"inbound_transfer_from_payment_method_unusable","description":"Returned if the PM used for the inbound transfer is based on a tokenized account number that is no longer transactable.","httpStatusCode":400},{"code":"inbound_transfer_from_payment_method_unverified","description":"Returned when a PaymentMethod that has not been verified, is provided.","httpStatusCode":400},{"code":"inbound_transfer_not_allowed","description":"Returned if an InboundTransfer is not allowed for risk, legal, regulatory or other unforeseen reasons.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"inbound_transfer_to_financial_account_not_found","description":"Returned when a FinancialAccount cannot be found.","httpStatusCode":404},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"unsupported_operation_with_managed_financial_account","description":"Creation of an object is not allowed with a managed account.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/inbound_transfers/{id}":{"get":{"summary":"Retrieve an Inbound Transfer","description":"Retrieve an InboundTransfer by ID.","operationId":"GetV2MoneyManagementInboundTransfersId","parameters":[{"name":"id","in":"path","description":"The ID of the InboundTransfer to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.inbound_transfer"},"examples":{"example":{"value":{"id":"ibt_test_61Q58XwKMHh5ha3MI16Nr2cJ8cSQabKn4q38nZ59E6yO","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-03-18T18:07:12.619131Z","description":"earnings","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUohIbirwYyBvlQ2PtS3zpGlI2ZkpO8-dpYhb3KfWs1FlYI9eX2I94gJoeJHXOR0QwwesVCRnQwRgsUQqGFloqKV7McODKkoVKAMiuB5lD9htcDuxRtDA","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61Q58Xw5weaazmsWj16Nr2cJ8cSQabKn4q38nZ59E52W","bank_debit_queued":{},"created":"2024-03-18T18:07:12.617Z","effective_at":"2024-03-18T18:07:12.617Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61Q58Y2iAWn3U9kNW16Nr2cJ8cSQabKn4q38nZ59EXzc","bank_debit_processing":{},"created":"2024-03-18T18:07:18.403Z","effective_at":"2024-03-18T18:07:18.403Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61Q58Y7wNh292msCP16Nr2cJ8cSQabKn4q38nZ59EPz6","bank_debit_succeeded":{},"created":"2024-03-18T18:07:23.103Z","effective_at":"2024-03-18T18:07:23.103Z","level":"canonical","type":"bank_debit_succeeded"}],"livemode":true}}}}}},"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_inbound_transfer","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"ibt_test_61Q58XwKMHh5ha3MI16Nr2cJ8cSQabKn4q38nZ59E6yO"},"requestBody":{}},"response":{"id":"ibt_test_61Q58XwKMHh5ha3MI16Nr2cJ8cSQabKn4q38nZ59E6yO","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-03-18T18:07:12.619131Z","description":"earnings","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUohIbirwYyBvlQ2PtS3zpGlI2ZkpO8-dpYhb3KfWs1FlYI9eX2I94gJoeJHXOR0QwwesVCRnQwRgsUQqGFloqKV7McODKkoVKAMiuB5lD9htcDuxRtDA","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61Q58Xw5weaazmsWj16Nr2cJ8cSQabKn4q38nZ59E52W","bank_debit_queued":{},"created":"2024-03-18T18:07:12.617Z","effective_at":"2024-03-18T18:07:12.617Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61Q58Y2iAWn3U9kNW16Nr2cJ8cSQabKn4q38nZ59EXzc","bank_debit_processing":{},"created":"2024-03-18T18:07:18.403Z","effective_at":"2024-03-18T18:07:18.403Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61Q58Y7wNh292msCP16Nr2cJ8cSQabKn4q38nZ59EPz6","bank_debit_succeeded":{},"created":"2024-03-18T18:07:23.103Z","effective_at":"2024-03-18T18:07:23.103Z","level":"canonical","type":"bank_debit_succeeded"}],"livemode":true}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_payment_quotes":{"post":{"summary":"Create an Outbound Payment Quote","description":"Creates an OutboundPaymentQuote usable in an OutboundPayment.","operationId":"PostV2MoneyManagementOutboundPaymentQuotes","requestBody":{"content":{"application/json":{"schema":{"required":["amount","from","to"],"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":"The \"presentment amount\" to be sent to the recipient."},"delivery_options":{"type":"object","properties":{"bank_account":{"type":"string","description":"Open Enum. Method for bank account.","enum":["automatic","local","wire"],"x-stripeEnum":{"kind":"open","values":[{"description":"Method automatically selected by Stripe.","value":"automatic"},{"description":"The group of local bank-transfer networks in the bank account's country.","value":"local"},{"description":"The group of wire transfer networks in the bank account's country.","value":"wire"}]}}},"description":"Method to be used to send the OutboundPayment."},"from":{"required":["currency","financial_account"],"type":"object","properties":{"currency":{"type":"string","description":"Describes the FinancialAccount's currency drawn from."},"financial_account":{"type":"string","description":"The FinancialAccount that funds were pulled from."}},"description":"Request details about the sender of an OutboundPaymentQuote."},"to":{"required":["recipient"],"type":"object","properties":{"currency":{"type":"string","description":"Describes the currency to send to the recipient.\nIf included, this currency must match a currency supported by the destination.\nCan be omitted in the following cases:\n- destination only supports one currency\n- destination supports multiple currencies and one of the currencies matches the FA currency\n- destination supports multiple currencies and one of the currencies matches the presentment currency\nNote - when both FA currency and presentment currency are supported, we pick the FA currency to minimize FX."},"payout_method":{"type":"string","description":"The payout method which the OutboundPayment uses to send payout."},"recipient":{"type":"string","description":"To which account the OutboundPayment is sent."}},"description":"Request details about the recipient of an OutboundPaymentQuote."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"from":{"financial_account":"fa_test_65R6SO61eK9ThYXegpO16R6SM1DrE9cwLCbFmOzpO7E2Fk","currency":"gbp"},"to":{"recipient":"acct_test_61SGnR3uRIDJxlXGn66SGnR3E2SQicOtL82PNxQa8OUq","payout_method":"frba_test_61SGnRTvcEWKPakGS16SGnR3E2SQicOtL82PNxQa8IKG","currency":"eur"},"amount":{"value":1000,"currency":"gbp"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_payment_quote"},"examples":{"example":{"value":{"id":"obpq_test_65SH4Ui1am0VPJsl9Ht16R6SM1DrE9cwLCbFmOzpO7ESO8","object":"v2.money_management.outbound_payment_quote","amount":{"value":1000,"currency":"gbp"},"created":"2025-03-28T17:17:45.253Z","delivery_options":null,"estimated_fees":[{"amount":{"value":2,"currency":"gbp"},"type":"standard_payout_fee"},{"amount":{"value":3,"currency":"gbp"},"type":"foreign_exchange_fee"},{"amount":{"value":1.5,"currency":"gbp"},"type":"cross_border_payout_fee"}],"from":{"debited":{"value":1000,"currency":"gbp"},"financial_account":"fa_test_65R6SO61eK9ThYXegpO16R6SM1DrE9cwLCbFmOzpO7E2Fk"},"fx_quote":{"lock_duration":"five_minutes","lock_expires_at":"2025-04-25T20:06:09.000Z","lock_status":"active","rates":{"gbp":{"exchange_rate":"1.19599"}},"to_currency":"eur"},"livemode":false,"to":{"credited":{"value":1196,"currency":"eur"},"payout_method":"frba_test_61SGnRTvcEWKPakGS16SGnR3E2SQicOtL82PNxQa8IKG","recipient":"acct_test_61SGnR3uRIDJxlXGn66SGnR3E2SQicOtL82PNxQa8OUq"}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_not_configured_as_recipient"},{"$ref":"#/components/schemas/v2.error.amount_too_large_for_payout_method"},{"$ref":"#/components/schemas/v2.error.amount_too_large_for_preferred_networks"},{"$ref":"#/components/schemas/v2.error.amount_too_large_for_selected_delivery_option"},{"$ref":"#/components/schemas/v2.error.currency_required"},{"$ref":"#/components/schemas/v2.error.default_payout_method_config_not_found"},{"$ref":"#/components/schemas/v2.error.delivery_option_not_available"},{"$ref":"#/components/schemas/v2.error.delivery_option_not_supported"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_not_enabled"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_restricted"},{"$ref":"#/components/schemas/v2.error.from_balance_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.from_financial_account_not_found"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.incompatible_delivery_options"},{"$ref":"#/components/schemas/v2.error.invalid_payout_method_country"},{"$ref":"#/components/schemas/v2.error.network_not_supported_for_payout_method"},{"$ref":"#/components/schemas/v2.error.no_suitable_delivery_options_for_large_amount"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.outbound_flow_from_closed_financial_account_unsupported"},{"$ref":"#/components/schemas/v2.error.outbound_flow_unsupported_country"},{"$ref":"#/components/schemas/v2.error.outbound_flow_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.outbound_payment_not_allowed"},{"$ref":"#/components/schemas/v2.error.payout_method_archived"},{"$ref":"#/components/schemas/v2.error.payout_method_disabled"},{"$ref":"#/components/schemas/v2.error.payout_method_expired"},{"$ref":"#/components/schemas/v2.error.payout_method_invalid"},{"$ref":"#/components/schemas/v2.error.payout_method_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.pending_financial_account"},{"$ref":"#/components/schemas/v2.error.preferred_networks_not_available"},{"$ref":"#/components/schemas/v2.error.recipient_feature_not_active"},{"$ref":"#/components/schemas/v2.error.recipient_feature_not_active_for_suitable_delivery_option"},{"$ref":"#/components/schemas/v2.error.storer_capability_missing"},{"$ref":"#/components/schemas/v2.error.storer_capability_not_active"},{"$ref":"#/components/schemas/v2.error.submission_not_supported"},{"$ref":"#/components/schemas/v2.error.to_recipient_not_found"},{"$ref":"#/components/schemas/v2.error.unsupported_operation_with_managed_financial_account"},{"$ref":"#/components/schemas/v2.error.unsupported_parameter_delivery_options"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_outbound_payment_quote","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"from":{"financial_account":"fa_test_65R6SO61eK9ThYXegpO16R6SM1DrE9cwLCbFmOzpO7E2Fk","currency":"gbp"},"to":{"recipient":"acct_test_61SGnR3uRIDJxlXGn66SGnR3E2SQicOtL82PNxQa8OUq","payout_method":"frba_test_61SGnRTvcEWKPakGS16SGnR3E2SQicOtL82PNxQa8IKG","currency":"eur"},"amount":{"value":1000,"currency":"gbp"}}},"response":{"id":"obpq_test_65SH4Ui1am0VPJsl9Ht16R6SM1DrE9cwLCbFmOzpO7ESO8","object":"v2.money_management.outbound_payment_quote","amount":{"value":1000,"currency":"gbp"},"created":"2025-03-28T17:17:45.253Z","delivery_options":null,"estimated_fees":[{"amount":{"value":2,"currency":"gbp"},"type":"standard_payout_fee"},{"amount":{"value":3,"currency":"gbp"},"type":"foreign_exchange_fee"},{"amount":{"value":1.5,"currency":"gbp"},"type":"cross_border_payout_fee"}],"from":{"debited":{"value":1000,"currency":"gbp"},"financial_account":"fa_test_65R6SO61eK9ThYXegpO16R6SM1DrE9cwLCbFmOzpO7E2Fk"},"fx_quote":{"lock_duration":"five_minutes","lock_expires_at":"2025-04-25T20:06:09.000Z","lock_status":"active","rates":{"gbp":{"exchange_rate":"1.19599"}},"to_currency":"eur"},"livemode":false,"to":{"credited":{"value":1196,"currency":"eur"},"payout_method":"frba_test_61SGnRTvcEWKPakGS16SGnR3E2SQicOtL82PNxQa8IKG","recipient":"acct_test_61SGnR3uRIDJxlXGn66SGnR3E2SQicOtL82PNxQa8OUq"}}}],"x-stripeErrors":[{"code":"account_not_configured_as_recipient","description":"Error returned when the recipient account in the OutboundPayment request is not configured as a recipient.","httpStatusCode":400},{"code":"amount_too_large_for_payout_method","description":"Error returned when the specified amount exceeds the payout method's amount limits.","httpStatusCode":400},{"code":"amount_too_large_for_preferred_networks","description":"Error returned when the amount is too large for the requested preferred_networks.","httpStatusCode":400},{"code":"amount_too_large_for_selected_delivery_option","description":"Error returned when user selected a delivery option but the specified amount exceeds the method limits.","httpStatusCode":400},{"code":"currency_required","description":"Error returned when an OutboundPayment is created without a destination currency specified,\nno payout method is specified, and the recipient has more than one currency default pair set.","httpStatusCode":400},{"code":"default_payout_method_config_not_found","description":"Error returned when a payout method is not provided in the OutboundPayment request and the recipient account does not have a default payout method.","httpStatusCode":400},{"code":"delivery_option_not_available","description":"Error returned when real time rails are undergoing downtime.","httpStatusCode":400},{"code":"delivery_option_not_supported","description":"Error returned when the selected delivery option is not supported for the payout method.","httpStatusCode":400},{"code":"financial_account_capability_not_enabled","description":"Error thrown when attempting to add currencies that require capabilities that are not enabled.","httpStatusCode":400},{"code":"financial_account_capability_restricted","description":"Error thrown when attempting to add currencies that require capabilities that are restricted.","httpStatusCode":400},{"code":"from_balance_unsupported_currency","description":"Error returned when the balance type in the OutboundPayment/OutboundTransfer request does not support the provided currency.","httpStatusCode":400},{"code":"from_financial_account_not_found","description":"Error returned when financial account in the OutboundPayment/OutboundTransfer request cannot be identified.","httpStatusCode":404},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"incompatible_delivery_options","description":"Error returned when the delivery option type and speed chosen is incompatible.","httpStatusCode":400},{"code":"invalid_payout_method_country","description":"Error returned when the payout method country does not match the recipient account country.","httpStatusCode":400},{"code":"network_not_supported_for_payout_method","description":"Error returned when the requested networks are not supported for the provided payout method.","httpStatusCode":400},{"code":"no_suitable_delivery_options_for_large_amount","description":"Error returned when user does not specify the delivery option or provides automatic, and the amount exceeds all the possible delivery options for this payout method.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"outbound_flow_from_closed_financial_account_unsupported","description":"The user attempts to create an outbound flow from a closed Financial Account.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"outbound_flow_unsupported_country","description":"Error returned when the payout method country is not supported for the outbound payment.","httpStatusCode":400},{"code":"outbound_flow_unsupported_currency","description":"Error returned when the payout method supported currencies are not supported for this outbound flow.","httpStatusCode":400},{"code":"outbound_payment_not_allowed","description":"Error returned when the user is not allowed to make this OutboundPayment request.","httpStatusCode":400},{"code":"payout_method_archived","description":"Error returned when the payout method in the OutboundPayment/OutboundTransfer request is archived and invalid.","httpStatusCode":400},{"code":"payout_method_disabled","description":"Error returned when the payout method in the OutboundPayment/OutboundTransfer request is disabled\nand needs to be enabled via OutboundSetupIntent.","httpStatusCode":400},{"code":"payout_method_expired","description":"Error returned when the provided payout method is expired.","httpStatusCode":400},{"code":"payout_method_invalid","description":"Error returned when the payout method in the OutboundPayment/OutboundTransfer request cannot be identified.","httpStatusCode":404},{"code":"payout_method_unsupported_currency","description":"Error returned when the payout method does not support the request's payout method currency.","httpStatusCode":400},{"code":"pending_financial_account","description":"Error returned when the source financial account is in a pending state and not yet active.","httpStatusCode":400},{"code":"preferred_networks_not_available","description":"Error returned when the requested network is temporarily unavailable.","httpStatusCode":400},{"code":"recipient_feature_not_active","description":"Error returned when recipient does not have the active features required to receive funds from this OutboundPayment request.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"recipient_feature_not_active_for_suitable_delivery_option","description":"Error returned when user does not specify the delivery option or provides automatic, and recipient feature is not active for suitable delivery option.","httpStatusCode":400},{"code":"storer_capability_missing","description":"The required storer capabilities are missing.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"storer_capability_not_active","description":"The required storer capabilities are not active.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"submission_not_supported","description":"Error returned when an unsupported ACH submission value is provided.","httpStatusCode":400},{"code":"to_recipient_not_found","description":"Error returned when the recipient account in the OutboundPayment request cannot be identified.","httpStatusCode":404},{"code":"unsupported_operation_with_managed_financial_account","description":"Creation of an object is not allowed with a managed account.","httpStatusCode":400},{"code":"unsupported_parameter_delivery_options","description":"Error returned when delivery_options and payout_method_options are both specified (mutually exclusive).","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_payment_quotes/{id}":{"get":{"summary":"Retrieve an Outbound Payment Quote","description":"Retrieves the details of an existing OutboundPaymentQuote by passing the unique OutboundPaymentQuote ID.","operationId":"GetV2MoneyManagementOutboundPaymentQuotesId","parameters":[{"name":"id","in":"path","description":"The ID of the OutboundPaymentQuote to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_payment_quote"},"examples":{"example":{"value":{"id":"obpq_test_65SH4Ui1am0VPJsl9Ht16R6SM1DrE9cwLCbFmOzpO7ESO8","object":"v2.money_management.outbound_payment_quote","amount":{"value":1000,"currency":"gbp"},"created":"2025-03-28T17:17:45.253Z","delivery_options":null,"estimated_fees":[{"amount":{"value":2,"currency":"gbp"},"type":"standard_payout_fee"},{"amount":{"value":3,"currency":"gbp"},"type":"foreign_exchange_fee"},{"amount":{"value":1.5,"currency":"gbp"},"type":"cross_border_payout_fee"}],"from":{"debited":{"value":1000,"currency":"gbp"},"financial_account":"fa_test_65R6SO61eK9ThYXegpO16R6SM1DrE9cwLCbFmOzpO7E2Fk"},"fx_quote":{"lock_duration":"five_minutes","lock_expires_at":"2025-04-25T20:06:09.000Z","lock_status":"active","rates":{"gbp":{"exchange_rate":"1.19599"}},"to_currency":"eur"},"livemode":false,"to":{"credited":{"value":1196,"currency":"eur"},"payout_method":"frba_test_61SGnRTvcEWKPakGS16SGnR3E2SQicOtL82PNxQa8IKG","recipient":"acct_test_61SGnR3uRIDJxlXGn66SGnR3E2SQicOtL82PNxQa8OUq"}}}}}}},"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_outbound_payment_quote","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"obpq_test_65SH4Ui1am0VPJsl9Ht16R6SM1DrE9cwLCbFmOzpO7ESO8"},"requestBody":{}},"response":{"id":"obpq_test_65SH4Ui1am0VPJsl9Ht16R6SM1DrE9cwLCbFmOzpO7ESO8","object":"v2.money_management.outbound_payment_quote","amount":{"value":1000,"currency":"gbp"},"created":"2025-03-28T17:17:45.253Z","delivery_options":null,"estimated_fees":[{"amount":{"value":2,"currency":"gbp"},"type":"standard_payout_fee"},{"amount":{"value":3,"currency":"gbp"},"type":"foreign_exchange_fee"},{"amount":{"value":1.5,"currency":"gbp"},"type":"cross_border_payout_fee"}],"from":{"debited":{"value":1000,"currency":"gbp"},"financial_account":"fa_test_65R6SO61eK9ThYXegpO16R6SM1DrE9cwLCbFmOzpO7E2Fk"},"fx_quote":{"lock_duration":"five_minutes","lock_expires_at":"2025-04-25T20:06:09.000Z","lock_status":"active","rates":{"gbp":{"exchange_rate":"1.19599"}},"to_currency":"eur"},"livemode":false,"to":{"credited":{"value":1196,"currency":"eur"},"payout_method":"frba_test_61SGnRTvcEWKPakGS16SGnR3E2SQicOtL82PNxQa8IKG","recipient":"acct_test_61SGnR3uRIDJxlXGn66SGnR3E2SQicOtL82PNxQa8OUq"}}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_payments":{"get":{"summary":"List Outbound Payments","description":"Returns a list of OutboundPayments that match the provided filters.","operationId":"GetV2MoneyManagementOutboundPayments","parameters":[{"name":"created","in":"query","description":"Filter for objects created at the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_gt","in":"query","description":"Filter for objects created after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_gte","in":"query","description":"Filter for objects created on or after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_lt","in":"query","description":"Filter for objects created before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_lte","in":"query","description":"Filter for objects created on or before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","description":"The maximum number of results to return.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"recipient","in":"query","description":"Only return OutboundPayments sent to this recipient.","required":false,"style":"form","schema":{"type":"string"}},{"name":"status","in":"query","description":"Closed Enum. Only return OutboundPayments with this status.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["canceled","failed","posted","processing","returned"],"x-stripeEnum":{"kind":"closed","values":[{"description":"A user canceled the OutboundPayment before posting. Stripe returns the funds to the user by voiding the pending Transaction.","value":"canceled"},{"description":"The OutboundPayment failed to confirm. Stripe returns the funds to the user by voiding the pending Transaction.","value":"failed"},{"description":"The OutboundPayment posted and funds have left the account. The underlying Transaction posts.","value":"posted"},{"description":"The OutboundPayment starting state. Funds are \"held\" by a pending Transaction (but are still part of the current balance). The OutboundPayment might be cancelable by the user, depending on the value of the cancelable field.","value":"processing"},{"description":"The OutboundPayment failed to successfully arrive at the destination. Funds return to the user with a second posted Transaction attached to the same flow.","value":"returned"}]}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"The OutboundPayments retrieved.","items":{"$ref":"#/components/schemas/v2.money_management.outbound_payment"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"obp_test_65OAfUM3B6hTbQdW72y16NybHIZ4SQ3LORe4rpuNGDIWJM","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":1000,"currency":"usd"}},"to":{"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ","credited":{"value":1000,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":1000,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":false,"description":"Streamer earnings","status":"canceled","status_transitions":{"canceled_at":"2023-04-26T23:14:58.321Z"},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKKHhpqIGMgZRo1m_xhE6oQGUeczbdUAAGdSgXTI6R9NnQ_eY4wM5AiYAzeF5toQDEwk6sb74cUc8RCZq5DyHcAlT1SVg7l1aD0tUo8EmPzAAkMo_E0csmP-ANJqI53kErMF1ZY4sY9Z-eV7hAGhk3ATl0HgwfNMWjueJJ4I93-wybLjOfQtozFwQgXbSjvN_nYTF4XMPa_IEwFrzAnLnedX5YVZcQIE8o84-GeLtYCsh6Q","created":"2023-04-26T23:13:51.767Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false},{"id":"obp_test_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":70,"currency":"usd"}},"to":{"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ","credited":{"value":70,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":70,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":true,"description":"Streamer earnings","status":"processing","status_transitions":{},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKKHhpqIGMgaHLLakVjE6oQGUBP4uoz2TYLGepLSM0zU62Irj-5PfTqRlvJwjXRX5AM0K0WPzvIl8BNGa1XqDxL1bJ3-L4kioq0lFL3iPVNmPQ4PxQZzl82wJD8WFZUSkFVMeug5VPGcMYmXtiUYYc9Ir3v2IIjUf213H-Jg3-v0432XfxdHnlrVoN_1okeCtH80xJC24j64hX2_5RrB7bCmCiUPF8MsyChh218bP3YqxEQ","created":"2023-04-26T23:12:35.952Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false}]}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_filters"},{"$ref":"#/components/schemas/v2.error.invalid_page_token"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_outbound_payments","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"status":["canceled"]}},"response":{"data":[{"id":"obp_test_65OAfUM3B6hTbQdW72y16NybHIZ4SQ3LORe4rpuNGDIWJM","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":1000,"currency":"usd"}},"to":{"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ","credited":{"value":1000,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":1000,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":false,"description":"Streamer earnings","status":"canceled","status_transitions":{"canceled_at":"2023-04-26T23:14:58.321Z"},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKKHhpqIGMgZRo1m_xhE6oQGUeczbdUAAGdSgXTI6R9NnQ_eY4wM5AiYAzeF5toQDEwk6sb74cUc8RCZq5DyHcAlT1SVg7l1aD0tUo8EmPzAAkMo_E0csmP-ANJqI53kErMF1ZY4sY9Z-eV7hAGhk3ATl0HgwfNMWjueJJ4I93-wybLjOfQtozFwQgXbSjvN_nYTF4XMPa_IEwFrzAnLnedX5YVZcQIE8o84-GeLtYCsh6Q","created":"2023-04-26T23:13:51.767Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false},{"id":"obp_test_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":70,"currency":"usd"}},"to":{"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ","credited":{"value":70,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":70,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":true,"description":"Streamer earnings","status":"processing","status_transitions":{},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKKHhpqIGMgaHLLakVjE6oQGUBP4uoz2TYLGepLSM0zU62Irj-5PfTqRlvJwjXRX5AM0K0WPzvIl8BNGa1XqDxL1bJ3-L4kioq0lFL3iPVNmPQ4PxQZzl82wJD8WFZUSkFVMeug5VPGcMYmXtiUYYc9Ir3v2IIjUf213H-Jg3-v0432XfxdHnlrVoN_1okeCtH80xJC24j64hX2_5RrB7bCmCiUPF8MsyChh218bP3YqxEQ","created":"2023-04-26T23:12:35.952Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false}]}}],"x-stripeErrors":[{"code":"invalid_filters","description":"Error returned when filter parameters in the request are invalid.","httpStatusCode":400},{"code":"invalid_page_token","description":"Error returned when the page token provided in the OutboundPayments/OutboundTransfers list request is invalid.","httpStatusCode":400}],"x-stripeNotPublic":true},"post":{"summary":"Create an Outbound Payment","description":"Creates an OutboundPayment.","operationId":"PostV2MoneyManagementOutboundPayments","requestBody":{"content":{"application/json":{"schema":{"required":["amount","from","to"],"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":"The \"presentment amount\" to be sent to the recipient."},"delivery_options":{"type":"object","properties":{"bank_account":{"type":"string","description":"Open Enum. Method for bank account.","enum":["automatic","local","wire"],"x-stripeEnum":{"kind":"open","values":[{"description":"Method automatically selected by Stripe.","value":"automatic"},{"description":"The group of local bank-transfer networks in the bank account's country.","value":"local"},{"description":"The group of wire transfer networks in the bank account's country.","value":"wire"}]}}},"description":"Delivery options to be used to send the OutboundPayment."},"description":{"type":"string","description":"An arbitrary string attached to the OutboundPayment. Often useful for displaying to users."},"from":{"required":["currency","financial_account"],"type":"object","properties":{"currency":{"type":"string","description":"Describes the FinancialAmount's currency drawn from."},"financial_account":{"type":"string","description":"The FinancialAccount that funds were pulled from."}},"description":"From which FinancialAccount and BalanceType to pull funds from."},"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."},"outbound_payment_quote":{"type":"string","description":"The quote for this OutboundPayment. Only required for countries with regulatory mandates to display fee estimates before OutboundPayment creation.","x-stripeNotPublic":true},"purpose":{"type":"string","description":"The purpose of the OutboundPayment.","enum":["payroll"],"x-stripeEnum":{"kind":"open","values":[{"description":"The OutboundPayment is for payroll.","value":"payroll"}]},"x-stripeNotPublic":true},"recipient_notification":{"required":["setting"],"type":"object","properties":{"setting":{"type":"string","description":"Closed Enum. Configuration option to enable or disable notifications to recipients.\nDo not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set.","enum":["configured","none"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Default to account setting.","value":"configured"},{"description":"Do not send email.","value":"none"}]}}},"description":"Details about the notification settings for the OutboundPayment recipient."},"to":{"required":["recipient"],"type":"object","properties":{"currency":{"type":"string","description":"Describes the currency to send to the recipient.\nIf included, this currency must match a currency supported by the destination.\nCan be omitted in the following cases:\n- destination only supports one currency\n- destination supports multiple currencies and one of the currencies matches the FA currency\n- destination supports multiple currencies and one of the currencies matches the presentment currency\nNote - when both FA currency and presentment currency are supported, we pick the FA currency to minimize FX."},"payout_method":{"type":"string","description":"The payout method which the OutboundPayment uses to send payout."},"recipient":{"type":"string","description":"To which account the OutboundPayment is sent."}},"description":"To which payout method to send the OutboundPayment."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","currency":"usd"},"to":{"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ","currency":"usd"},"amount":{"value":1000,"currency":"usd"},"description":"Streamer earnings"}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_payment"},"examples":{"example":{"value":{"id":"obp_test_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","object":"v2.money_management.outbound_payment","amount":{"value":1000,"currency":"usd"},"from":{"debited":{"value":1000,"currency":"usd"},"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO"},"to":{"credited":{"value":1000,"currency":"usd"},"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ"},"delivery_options":{"bank_account":"automatic"},"statement_descriptor":"Payment for streaming","cancelable":true,"description":"Streamer earnings","status":"processing","status_transitions":{},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKOPfpqIGMgZn4xRNQi06oQGUu_fPQJBHgptVXysoOIKNwdFbokEtoKYNk662ox8FRx8ldoJpnlZyFXloJjMW5AQ5dqSks8HidH5PkHyYO91-dYHRZ8kj93mfh2l_efexFDN6EmiZj21RiNDALXuagy2MHFmfrkh6ZiAnjp-MOgqg8IM1RA5Ry5IDL-21Xiair1jWxuVJb3inbrbntL3nk6yjUtXcd_QLofG-Sj2Yz9-NEA","created":"2023-04-26T23:12:35.952Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_not_configured_as_recipient"},{"$ref":"#/components/schemas/v2.error.amount_too_large_for_payout_method"},{"$ref":"#/components/schemas/v2.error.amount_too_large_for_preferred_networks"},{"$ref":"#/components/schemas/v2.error.amount_too_large_for_selected_delivery_option"},{"$ref":"#/components/schemas/v2.error.approval_required"},{"$ref":"#/components/schemas/v2.error.approvals_cannot_be_only_approver_of_own_request"},{"$ref":"#/components/schemas/v2.error.approvals_conflicting_approval_request_exists"},{"$ref":"#/components/schemas/v2.error.approvals_request_blocked"},{"$ref":"#/components/schemas/v2.error.blocked_payout_method"},{"$ref":"#/components/schemas/v2.error.business_network_insufficient_permissions"},{"$ref":"#/components/schemas/v2.error.business_network_profile_hidden"},{"$ref":"#/components/schemas/v2.error.business_network_profile_not_found"},{"$ref":"#/components/schemas/v2.error.card_payout_method_not_supported"},{"$ref":"#/components/schemas/v2.error.cop_not_accepted"},{"$ref":"#/components/schemas/v2.error.currency_required"},{"$ref":"#/components/schemas/v2.error.default_payout_method_config_not_found"},{"$ref":"#/components/schemas/v2.error.delivery_option_not_available"},{"$ref":"#/components/schemas/v2.error.delivery_option_not_supported"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_not_enabled"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_restricted"},{"$ref":"#/components/schemas/v2.error.financial_account_operation_unsupported_for_property"},{"$ref":"#/components/schemas/v2.error.financial_account_operation_unsupported_for_type"},{"$ref":"#/components/schemas/v2.error.financial_address_creation_required"},{"$ref":"#/components/schemas/v2.error.from_balance_type_not_found"},{"$ref":"#/components/schemas/v2.error.from_balance_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.from_financial_account_not_found"},{"$ref":"#/components/schemas/v2.error.fx_quote_expired"},{"$ref":"#/components/schemas/v2.error.idempotency_conflict"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.incompatible_delivery_options"},{"$ref":"#/components/schemas/v2.error.insufficient_funds"},{"$ref":"#/components/schemas/v2.error.invalid_outbound_flow"},{"$ref":"#/components/schemas/v2.error.invalid_payout_method_country"},{"$ref":"#/components/schemas/v2.error.large_rate_drift"},{"$ref":"#/components/schemas/v2.error.network_not_supported_for_payout_method"},{"$ref":"#/components/schemas/v2.error.no_suitable_delivery_options_for_large_amount"},{"$ref":"#/components/schemas/v2.error.outbound_flow_from_closed_financial_account_unsupported"},{"$ref":"#/components/schemas/v2.error.outbound_flow_unsupported_country"},{"$ref":"#/components/schemas/v2.error.outbound_flow_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.outbound_payment_cannot_be_processed"},{"$ref":"#/components/schemas/v2.error.outbound_payment_check_recipient_name_too_long"},{"$ref":"#/components/schemas/v2.error.outbound_payment_ineligible_recipient_address"},{"$ref":"#/components/schemas/v2.error.outbound_payment_invalid_check_attachment"},{"$ref":"#/components/schemas/v2.error.outbound_payment_invalid_check_signature"},{"$ref":"#/components/schemas/v2.error.outbound_payment_invalid_paper_check_attachment"},{"$ref":"#/components/schemas/v2.error.outbound_payment_invalid_paper_check_signature"},{"$ref":"#/components/schemas/v2.error.outbound_payment_memo_restricted_term"},{"$ref":"#/components/schemas/v2.error.outbound_payment_not_allowed"},{"$ref":"#/components/schemas/v2.error.outbound_payment_paper_check_recipient_name_too_long"},{"$ref":"#/components/schemas/v2.error.outbound_payment_quote_mismatch"},{"$ref":"#/components/schemas/v2.error.outbound_payment_quote_missing"},{"$ref":"#/components/schemas/v2.error.outbound_payment_recipient_verification_already_consumed"},{"$ref":"#/components/schemas/v2.error.outbound_payment_recipient_verification_awaiting_acknowledgement"},{"$ref":"#/components/schemas/v2.error.outbound_payment_recipient_verification_expired"},{"$ref":"#/components/schemas/v2.error.outbound_payment_recipient_verification_missing"},{"$ref":"#/components/schemas/v2.error.outbound_payment_recipient_verification_not_found"},{"$ref":"#/components/schemas/v2.error.outbound_payment_recipient_verification_payout_method_mismatch"},{"$ref":"#/components/schemas/v2.error.outbound_payment_recipient_verification_recipient_mismatch"},{"$ref":"#/components/schemas/v2.error.outbound_payment_recipient_verification_recipient_name_outdated"},{"$ref":"#/components/schemas/v2.error.payout_method_archived"},{"$ref":"#/components/schemas/v2.error.payout_method_disabled"},{"$ref":"#/components/schemas/v2.error.payout_method_expired"},{"$ref":"#/components/schemas/v2.error.payout_method_invalid"},{"$ref":"#/components/schemas/v2.error.payout_method_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.payout_method_unusable"},{"$ref":"#/components/schemas/v2.error.pending_financial_account"},{"$ref":"#/components/schemas/v2.error.preferred_networks_not_available"},{"$ref":"#/components/schemas/v2.error.recipient_amount_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.recipient_count_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.recipient_email_does_not_exist"},{"$ref":"#/components/schemas/v2.error.recipient_feature_not_active"},{"$ref":"#/components/schemas/v2.error.recipient_feature_not_active_for_suitable_delivery_option"},{"$ref":"#/components/schemas/v2.error.storer_capability_missing"},{"$ref":"#/components/schemas/v2.error.storer_capability_not_active"},{"$ref":"#/components/schemas/v2.error.submission_not_supported"},{"$ref":"#/components/schemas/v2.error.to_recipient_not_found"},{"$ref":"#/components/schemas/v2.error.unsupported_currency"},{"$ref":"#/components/schemas/v2.error.unsupported_operation_with_managed_financial_account"},{"$ref":"#/components/schemas/v2.error.unsupported_parameter_delivery_options"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_outbound_payment","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","currency":"usd"},"to":{"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ","currency":"usd"},"amount":{"value":1000,"currency":"usd"},"description":"Streamer earnings"}},"response":{"id":"obp_test_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","object":"v2.money_management.outbound_payment","amount":{"value":1000,"currency":"usd"},"from":{"debited":{"value":1000,"currency":"usd"},"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO"},"to":{"credited":{"value":1000,"currency":"usd"},"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ"},"delivery_options":{"bank_account":"automatic"},"statement_descriptor":"Payment for streaming","cancelable":true,"description":"Streamer earnings","status":"processing","status_transitions":{},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKOPfpqIGMgZn4xRNQi06oQGUu_fPQJBHgptVXysoOIKNwdFbokEtoKYNk662ox8FRx8ldoJpnlZyFXloJjMW5AQ5dqSks8HidH5PkHyYO91-dYHRZ8kj93mfh2l_efexFDN6EmiZj21RiNDALXuagy2MHFmfrkh6ZiAnjp-MOgqg8IM1RA5Ry5IDL-21Xiair1jWxuVJb3inbrbntL3nk6yjUtXcd_QLofG-Sj2Yz9-NEA","created":"2023-04-26T23:12:35.952Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false}}],"x-stripeErrors":[{"code":"account_not_configured_as_recipient","description":"Error returned when the recipient account in the OutboundPayment request is not configured as a recipient.","httpStatusCode":400},{"code":"amount_too_large_for_payout_method","description":"Error returned when the specified amount exceeds the payout method's amount limits.","httpStatusCode":400},{"code":"amount_too_large_for_preferred_networks","description":"Error returned when the amount is too large for the requested preferred_networks.","httpStatusCode":400},{"code":"amount_too_large_for_selected_delivery_option","description":"Error returned when user selected a delivery option but the specified amount exceeds the method limits.","httpStatusCode":400},{"code":"approval_required","description":"This error is thrown when an operation requires approval.","httpStatusCode":403},{"code":"approvals_cannot_be_only_approver_of_own_request","description":"This error is thrown when a user is the only approver for their own request.","httpStatusCode":400},{"code":"approvals_conflicting_approval_request_exists","description":"This error is thrown when a conflicting approval request already exists.","httpStatusCode":409},{"code":"approvals_request_blocked","description":"This error is thrown when an approval rule blocks a request.","httpStatusCode":403},{"code":"blocked_payout_method","description":"Returned when a payout method is blocked by Stripe.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"business_network_insufficient_permissions","description":"The authenticated party does not have sufficient permissions.","httpStatusCode":403},{"code":"business_network_profile_hidden","description":"The authenticated party's Stripe profile is hidden.","httpStatusCode":400},{"code":"business_network_profile_not_found","description":"The authenticated party does not have a Stripe network profile.","httpStatusCode":400},{"code":"card_payout_method_not_supported","description":"Error returned when the provided Card payout method is not eligible for outbound payment or outbound transfer.","httpStatusCode":400},{"code":"cop_not_accepted","description":"Error returned when the Confirmation of Payee is not accepted.","httpStatusCode":400},{"code":"currency_required","description":"Error returned when an OutboundPayment is created without a destination currency specified,\nno payout method is specified, and the recipient has more than one currency default pair set.","httpStatusCode":400},{"code":"default_payout_method_config_not_found","description":"Error returned when a payout method is not provided in the OutboundPayment request and the recipient account does not have a default payout method.","httpStatusCode":400},{"code":"delivery_option_not_available","description":"Error returned when real time rails are undergoing downtime.","httpStatusCode":400},{"code":"delivery_option_not_supported","description":"Error returned when the selected delivery option is not supported for the payout method.","httpStatusCode":400},{"code":"financial_account_capability_not_enabled","description":"Error thrown when attempting to add currencies that require capabilities that are not enabled.","httpStatusCode":400},{"code":"financial_account_capability_restricted","description":"Error thrown when attempting to add currencies that require capabilities that are restricted.","httpStatusCode":400},{"code":"financial_account_operation_unsupported_for_property","description":"Operation not supported on Financial Accounts with this type and property.","httpStatusCode":400},{"code":"financial_account_operation_unsupported_for_type","description":"Operation not supported on Financial Accounts with this type.","httpStatusCode":400},{"code":"financial_address_creation_required","description":"Error returned when there is no active financial address required for GB and EU\nOBPs or OBTs.","httpStatusCode":400},{"code":"from_balance_type_not_found","description":"Deprecated. Error returned when balance type of provided financial account in the OutboundPayment/OutboundTransfer request cannot be identified.","httpStatusCode":404},{"code":"from_balance_unsupported_currency","description":"Error returned when the balance type in the OutboundPayment/OutboundTransfer request does not support the provided currency.","httpStatusCode":400},{"code":"from_financial_account_not_found","description":"Error returned when financial account in the OutboundPayment/OutboundTransfer request cannot be identified.","httpStatusCode":404},{"code":"fx_quote_expired","description":"Error returned when rate locking in the used OBPQ is expired.","httpStatusCode":400},{"code":"idempotency_conflict","description":"An idempotent retry results in resource conflicts.","httpStatusCode":409},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"incompatible_delivery_options","description":"Error returned when the delivery option type and speed chosen is incompatible.","httpStatusCode":400},{"code":"insufficient_funds","description":"Error returned when the balance of provided financial account and balance type in the OutboundPayment/OutboundTransfer request does not have enough funds.","httpStatusCode":400,"type":"insufficient_funds"},{"code":"invalid_outbound_flow","description":"Error returned when the outbound flow is invalid.","httpStatusCode":400},{"code":"invalid_payout_method_country","description":"Error returned when the payout method country does not match the recipient account country.","httpStatusCode":400},{"code":"large_rate_drift","description":"Error returned when the FX rate drift beyond threshold.","httpStatusCode":400},{"code":"network_not_supported_for_payout_method","description":"Error returned when the requested networks are not supported for the provided payout method.","httpStatusCode":400},{"code":"no_suitable_delivery_options_for_large_amount","description":"Error returned when user does not specify the delivery option or provides automatic, and the amount exceeds all the possible delivery options for this payout method.","httpStatusCode":400},{"code":"outbound_flow_from_closed_financial_account_unsupported","description":"The user attempts to create an outbound flow from a closed Financial Account.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"outbound_flow_unsupported_country","description":"Error returned when the payout method country is not supported for the outbound payment.","httpStatusCode":400},{"code":"outbound_flow_unsupported_currency","description":"Error returned when the payout method supported currencies are not supported for this outbound flow.","httpStatusCode":400},{"code":"outbound_payment_cannot_be_processed","description":"Error returned when the OutboundPayment cannot be processed due to a Stripe review rejection.","httpStatusCode":400},{"code":"outbound_payment_check_recipient_name_too_long","description":"Error returned when the check recipient name is too long.","httpStatusCode":400},{"code":"outbound_payment_ineligible_recipient_address","description":"Error returned when the recipient's address is invalid.","httpStatusCode":400},{"code":"outbound_payment_invalid_check_attachment","description":"Error returned when the check attachment is invalid.","httpStatusCode":400},{"code":"outbound_payment_invalid_check_signature","description":"Error returned when the check signature is invalid.","httpStatusCode":400},{"code":"outbound_payment_invalid_paper_check_attachment","description":"Error returned when the paper check attachment is invalid.","httpStatusCode":400},{"code":"outbound_payment_invalid_paper_check_signature","description":"Error returned when the paper check signature is invalid.","httpStatusCode":400},{"code":"outbound_payment_memo_restricted_term","description":"Error returned when the paper check outbound payment's memo contains restricted words.","httpStatusCode":400},{"code":"outbound_payment_not_allowed","description":"Error returned when the user is not allowed to make this OutboundPayment request.","httpStatusCode":400},{"code":"outbound_payment_paper_check_recipient_name_too_long","description":"Error returned when the paper check recipient name is too long.","httpStatusCode":400},{"code":"outbound_payment_quote_mismatch","description":"Error returned when key money movement fields on outbound payment quote creation request don’t match outbound payment creation request, including from, to, amount and delivery_options.","httpStatusCode":400},{"code":"outbound_payment_quote_missing","description":"Error returned when outbound payment quote is missing for CBPs that requires fee and amount estimates prior to OBP initiation.","httpStatusCode":400},{"code":"outbound_payment_recipient_verification_already_consumed","description":"Error returned when the provided recipient verification has been used for another payment.","httpStatusCode":400},{"code":"outbound_payment_recipient_verification_awaiting_acknowledgement","description":"Error returned when provided recipient verification has not been acknowledged.","httpStatusCode":400},{"code":"outbound_payment_recipient_verification_expired","description":"Error returned when provided recipient verification is expired.","httpStatusCode":400},{"code":"outbound_payment_recipient_verification_missing","description":"Error returned when recipient verification is missing for OBPs which requires recipient verification prior to OBP initiation.","httpStatusCode":400},{"code":"outbound_payment_recipient_verification_not_found","description":"Error returned when the provided recipient verification cannot be identified.","httpStatusCode":404},{"code":"outbound_payment_recipient_verification_payout_method_mismatch","description":"Error returned when payout method on recipient verification creation request don’t match outbound payment creation request.","httpStatusCode":400},{"code":"outbound_payment_recipient_verification_recipient_mismatch","description":"Error returned when recipient on recipient verification creation request don’t match outbound payment creation request.","httpStatusCode":400},{"code":"outbound_payment_recipient_verification_recipient_name_outdated","description":"Error returned when the recipient account name of the recipient verification no longer matches the verified name.","httpStatusCode":400},{"code":"payout_method_archived","description":"Error returned when the payout method in the OutboundPayment/OutboundTransfer request is archived and invalid.","httpStatusCode":400},{"code":"payout_method_disabled","description":"Error returned when the payout method in the OutboundPayment/OutboundTransfer request is disabled\nand needs to be enabled via OutboundSetupIntent.","httpStatusCode":400},{"code":"payout_method_expired","description":"Error returned when the provided payout method is expired.","httpStatusCode":400},{"code":"payout_method_invalid","description":"Error returned when the payout method in the OutboundPayment/OutboundTransfer request cannot be identified.","httpStatusCode":404},{"code":"payout_method_unsupported_currency","description":"Error returned when the payout method does not support the request's payout method currency.","httpStatusCode":400},{"code":"payout_method_unusable","description":"Returned if the payout method used for the outbound payment is based on a tokenized account number that is no longer transactable.","httpStatusCode":400},{"code":"pending_financial_account","description":"Error returned when the source financial account is in a pending state and not yet active.","httpStatusCode":400},{"code":"preferred_networks_not_available","description":"Error returned when the requested network is temporarily unavailable.","httpStatusCode":400},{"code":"recipient_amount_limit_exceeded","description":"Error returned when the recipient's recent total amount in outbound payments has exceeded its limit.","httpStatusCode":400,"type":"quota_exceeded"},{"code":"recipient_count_limit_exceeded","description":"Error returned when the recipient's recent outbound payment count has exceeded its limit.","httpStatusCode":400,"type":"quota_exceeded"},{"code":"recipient_email_does_not_exist","description":"Error returned when the user enables notifications in the OutboundPayment request, but an email is not set up on the recipient account.","httpStatusCode":400,"type":"recipient_not_notifiable"},{"code":"recipient_feature_not_active","description":"Error returned when recipient does not have the active features required to receive funds from this OutboundPayment request.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"recipient_feature_not_active_for_suitable_delivery_option","description":"Error returned when user does not specify the delivery option or provides automatic, and recipient feature is not active for suitable delivery option.","httpStatusCode":400},{"code":"storer_capability_missing","description":"The required storer capabilities are missing.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"storer_capability_not_active","description":"The required storer capabilities are not active.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"submission_not_supported","description":"Error returned when an unsupported ACH submission value is provided.","httpStatusCode":400},{"code":"to_recipient_not_found","description":"Error returned when the recipient account in the OutboundPayment request cannot be identified.","httpStatusCode":404},{"code":"unsupported_currency","description":"The currency is not supported for Financial Accounts.","httpStatusCode":400},{"code":"unsupported_operation_with_managed_financial_account","description":"Creation of an object is not allowed with a managed account.","httpStatusCode":400},{"code":"unsupported_parameter_delivery_options","description":"Error returned when delivery_options and payout_method_options are both specified (mutually exclusive).","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_payments/{id}":{"get":{"summary":"Retrieve an Outbound Payment","description":"Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment create or list response.","operationId":"GetV2MoneyManagementOutboundPaymentsId","parameters":[{"name":"id","in":"path","description":"The ID of the OutboundPayment to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_payment"},"examples":{"example":{"value":{"id":"obp_test_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":1000,"currency":"usd"}},"to":{"credited":{"value":1000,"currency":"usd"},"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ"},"delivery_options":{"bank_account":"automatic"},"amount":{"value":1000,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":true,"description":"Streamer earnings","status":"processing","status_transitions":{},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKMPgpqIGMgbztcBwNg46oQGUmYI69-O84chYtSQDFeO22gsaZPBsi9OkhxmOvY_z5ElXLqPGy_WUkLZ0XuCmjerVOR-ZnrOKDcHldqWvsxHXRaRnjq2SLu5V7tJaYWNe3_Vy2VhWmJ8H09qAOl8HxjS9prFckpisbEa_1u53hKgIXZVoI4FEOVWgFcf0-d7ev6zL728kPw-QcXbRkPi-wwaIXwxRNbyTpsBi6KzQ7PTqlg","created":"2023-04-26T23:12:35.952Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false}}}}}},"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_outbound_payment","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"obp_test_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO"},"requestBody":{}},"response":{"id":"obp_test_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":1000,"currency":"usd"}},"to":{"credited":{"value":1000,"currency":"usd"},"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ"},"delivery_options":{"bank_account":"automatic"},"amount":{"value":1000,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":true,"description":"Streamer earnings","status":"processing","status_transitions":{},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKMPgpqIGMgbztcBwNg46oQGUmYI69-O84chYtSQDFeO22gsaZPBsi9OkhxmOvY_z5ElXLqPGy_WUkLZ0XuCmjerVOR-ZnrOKDcHldqWvsxHXRaRnjq2SLu5V7tJaYWNe3_Vy2VhWmJ8H09qAOl8HxjS9prFckpisbEa_1u53hKgIXZVoI4FEOVWgFcf0-d7ev6zL728kPw-QcXbRkPi-wwaIXwxRNbyTpsBi6KzQ7PTqlg","created":"2023-04-26T23:12:35.952Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_payments/{id}/cancel":{"post":{"summary":"Cancel an Outbound Payment","description":"Cancels an OutboundPayment. Only processing OutboundPayments can be canceled.","operationId":"PostV2MoneyManagementOutboundPaymentsIdCancel","parameters":[{"name":"id","in":"path","description":"The ID of the OutboundPayment to cancel.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_payment"},"examples":{"example":{"value":{"id":"obp_test_65OAfUM3B6hTbQdW72y16NybHIZ4SQ3LORe4rpuNGDIWJM","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":1000,"currency":"usd"}},"to":{"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ","credited":{"value":1000,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":1000,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":false,"description":"Streamer earnings","status":"canceled","status_transitions":{"canceled_at":"2023-04-26T23:14:58.321Z"},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKPLgpqIGMgZBx27xZEo6oQGUR30NbXwz1j0WmxEwLevKOXOcTPmzD_FcmosVpuqn-OYyZtJjGelbPMVU6VGQT36biU_sfx4lsdhauww6kFoxVbgqBsU-VAjmQdZEc-fVKIz9JBsMHJhyKFDpL3kCh8gXp0IF54EDL5i4FQNlRkov2Y6_MOKiwR98wDF3DygpktUvh9uL9W8qTlhLu0Gd3qRFszuKzWdLva2hs_4139yZbQ","created":"2023-04-26T23:13:51.767Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false}}}}}},"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.outbound_payment_already_canceled"},{"$ref":"#/components/schemas/v2.error.outbound_payment_not_cancelable"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_cancel_outbound_payment","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"obp_test_65OAfUM3B6hTbQdW72y16NybHIZ4SQ3LORe4rpuNGDIWJM"},"requestBody":{}},"response":{"id":"obp_test_65OAfUM3B6hTbQdW72y16NybHIZ4SQ3LORe4rpuNGDIWJM","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":1000,"currency":"usd"}},"to":{"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ","credited":{"value":1000,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":1000,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":false,"description":"Streamer earnings","status":"canceled","status_transitions":{"canceled_at":"2023-04-26T23:14:58.321Z"},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKPLgpqIGMgZBx27xZEo6oQGUR30NbXwz1j0WmxEwLevKOXOcTPmzD_FcmosVpuqn-OYyZtJjGelbPMVU6VGQT36biU_sfx4lsdhauww6kFoxVbgqBsU-VAjmQdZEc-fVKIz9JBsMHJhyKFDpL3kCh8gXp0IF54EDL5i4FQNlRkov2Y6_MOKiwR98wDF3DygpktUvh9uL9W8qTlhLu0Gd3qRFszuKzWdLva2hs_4139yZbQ","created":"2023-04-26T23:13:51.767Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"livemode":false}}],"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},{"code":"outbound_payment_already_canceled","description":"Error returned when user tries to cancel an OutboundPayment that was already canceled.","httpStatusCode":400,"type":"already_canceled"},{"code":"outbound_payment_not_cancelable","description":"Error returned when user tries to cancel an OutboundPayment that is not cancelable.","httpStatusCode":400,"type":"not_cancelable"}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_setup_intents":{"get":{"summary":"List Outbound Setup Intents","description":"List the OutboundSetupIntent objects.","operationId":"GetV2MoneyManagementOutboundSetupIntents","parameters":[{"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":"The list of OutboundSetupIntent objects.","items":{"$ref":"#/components/schemas/v2.money_management.outbound_setup_intent"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"osi_test_61SGHHedpjwY7HErA16QsOpAPpE97EJALhqt1U5mC3iS","object":"v2.money_management.outbound_setup_intent","created":"2025-03-26T12:44:58.000Z","next_action":null,"payout_method":{"id":"usba_test_61SGHHenDe269uJ7W16QsOpAPpE97EJALhqt1U5mCBqC","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-26T12:44:58.072Z","latest_outbound_setup_intent":"osi_test_61SGHHedpjwY7HErA16QsOpAPpE97EJALhqt1U5mC3iS","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":false},"status":"succeeded","usage_intent":"payment","livemode":false},{"id":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","object":"v2.money_management.outbound_setup_intent","created":"2025-03-04T16:32:04.000Z","next_action":null,"payout_method":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":true,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":false},"status":"requires_action","usage_intent":"payment","livemode":false}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_outbound_setup_intents","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"osi_test_61SGHHedpjwY7HErA16QsOpAPpE97EJALhqt1U5mC3iS","object":"v2.money_management.outbound_setup_intent","created":"2025-03-26T12:44:58.000Z","next_action":null,"payout_method":{"id":"usba_test_61SGHHenDe269uJ7W16QsOpAPpE97EJALhqt1U5mCBqC","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-26T12:44:58.072Z","latest_outbound_setup_intent":"osi_test_61SGHHedpjwY7HErA16QsOpAPpE97EJALhqt1U5mC3iS","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":false},"status":"succeeded","usage_intent":"payment","livemode":false},{"id":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","object":"v2.money_management.outbound_setup_intent","created":"2025-03-04T16:32:04.000Z","next_action":null,"payout_method":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":true,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":false},"status":"requires_action","usage_intent":"payment","livemode":false}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[],"x-stripeNotPublic":true},"post":{"summary":"Create an Outbound Setup Intent","description":"Create an OutboundSetupIntent object.","operationId":"PostV2MoneyManagementOutboundSetupIntents","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"payout_method":{"type":"string","description":"If provided, the existing payout method resource to link to this setup intent.\nAny payout_method_data provided is used to update information on this linked payout method resource.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.payout_method"}}},"payout_method_data":{"required":["type"],"type":"object","properties":{"bank_account":{"required":["account_number","country","currency"],"type":"object","properties":{"account_number":{"type":"string","description":"The account number or IBAN of the bank account."},"bank_account_type":{"type":"string","description":"Closed Enum. The type of the bank account (checking or savings).","enum":["checking","futsu","savings","toza"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Default value for most countries.\nChecking account.","value":"checking"},{"description":"Default value for Japan where vast majority of bank accounts are 'futsu'.\nJapan-specific bank account type (普通預金) which means \"ordinary\".","value":"futsu"},{"description":"Savings account.","value":"savings"},{"description":"Japan-specific bank account type (当座預金) which means \"current\".","value":"toza"}]}},"branch_number":{"type":"string","description":"The branch number of the bank account, if present."},"country":{"type":"string","description":"The country code of the bank account."},"currency":{"type":"string","description":"The currency of the bank account."},"routing_number":{"type":"string","description":"The routing number of the bank account, if present."},"swift_code":{"type":"string","description":"The swift code of the bank account, if present."}},"description":"The type specific details of the bank account payout method."},"card":{"required":["currency","exp_month","exp_year","number"],"type":"object","properties":{"currency":{"type":"string","description":"The currency of the card."},"exp_month":{"type":"string","description":"The expiration month of the card."},"exp_year":{"type":"string","description":"The expiration year of the card."},"number":{"type":"string","description":"The card number."}},"description":"The type specific details of the card payout method.","x-stripeNotPublic":true},"type":{"type":"string","description":"Open Enum. The type of payout method to be created.","enum":["bank_account","card","crypto_wallet"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank account.","value":"bank_account"},{"description":"Card.","value":"card"},{"description":"Crypto wallet.","value":"crypto_wallet"}]}}},"description":"If no payout_method provided, used to create the underlying credential that is set up for outbound money movement.\nIf a payout_method provided, used to update data on the credential linked to this setup intent."},"usage_intent":{"type":"string","description":"Specify which type of outbound money movement this credential should be set up for (payment | transfer).\nIf not provided, defaults to payment.","enum":["payment","transfer"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Setup for outbound payments.","value":"payment"},{"description":"Setup for outbound transfers.","value":"transfer"}]}}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"payout_method_data":{"type":"bank_account","bank_account":{"country":"GB","account_number":"00012345","routing_number":"108800"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_setup_intent"},"examples":{"example":{"value":{"id":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","object":"v2.money_management.outbound_setup_intent","created":"2025-04-01T14:13:12.000Z","next_action":{"confirmation_of_payee":{"object":"core.vault.gb_bank_account","status":"uninitiated"},"type":"confirmation_of_payee"},"payout_method":{"id":"gbba_test_61SITWKOFwHCpdRSV16QsOpAPpE97EJALhqt1U5mCDyS","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"],"bank_account_type":"checking"},"created":"2025-04-01T14:13:12.295Z","latest_outbound_setup_intent":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","type":"bank_account","usage_status":{"payments":"requires_action","transfers":"eligible"},"livemode":false},"status":"requires_action","usage_intent":"payment","livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.active_outbound_setup_intent_exists_for_payout_method"},{"$ref":"#/components/schemas/v2.error.apple_pay_invalid_format"},{"$ref":"#/components/schemas/v2.error.apple_pay_no_signing_key"},{"$ref":"#/components/schemas/v2.error.apple_pay_payment_decryption"},{"$ref":"#/components/schemas/v2.error.apple_pay_pk_token_required"},{"$ref":"#/components/schemas/v2.error.archived_payout_method"},{"$ref":"#/components/schemas/v2.error.blocked_payout_method"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.incompatible_payout_method_currency"},{"$ref":"#/components/schemas/v2.error.invalid_fields"},{"$ref":"#/components/schemas/v2.error.invalid_payout_method"},{"$ref":"#/components/schemas/v2.error.invalid_payout_method_data"},{"$ref":"#/components/schemas/v2.error.invalid_payout_method_update"},{"$ref":"#/components/schemas/v2.error.invalid_status_payout_method"},{"$ref":"#/components/schemas/v2.error.limit_payout_method"},{"$ref":"#/components/schemas/v2.error.parameter_pair_exclusive"},{"$ref":"#/components/schemas/v2.error.payment_method_unsupported_for_payouts"},{"$ref":"#/components/schemas/v2.error.payout_method_cannot_be_updated"},{"$ref":"#/components/schemas/v2.error.resource_not_found"},{"$ref":"#/components/schemas/v2.error.unsupported_payout_method"},{"$ref":"#/components/schemas/v2.error.unsupported_payout_method_currency"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_outbound_setup_intent","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"payout_method_data":{"type":"bank_account","bank_account":{"country":"GB","account_number":"00012345","routing_number":"108800"}}}},"response":{"id":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","object":"v2.money_management.outbound_setup_intent","created":"2025-04-01T14:13:12.000Z","next_action":{"confirmation_of_payee":{"object":"core.vault.gb_bank_account","status":"uninitiated"},"type":"confirmation_of_payee"},"payout_method":{"id":"gbba_test_61SITWKOFwHCpdRSV16QsOpAPpE97EJALhqt1U5mCDyS","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"],"bank_account_type":"checking"},"created":"2025-04-01T14:13:12.295Z","latest_outbound_setup_intent":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","type":"bank_account","usage_status":{"payments":"requires_action","transfers":"eligible"},"livemode":false},"status":"requires_action","usage_intent":"payment","livemode":false}}],"x-stripeErrors":[{"code":"active_outbound_setup_intent_exists_for_payout_method","description":"Returned when the outbound setup intent cannot be created for a given payout method because the payout method already has another active outbound setup intent.","httpStatusCode":400},{"code":"apple_pay_invalid_format","description":"Returned when the Apple Pay payment token is malformed or cannot be parsed.","httpStatusCode":400},{"code":"apple_pay_no_signing_key","description":"Returned when the Apple Pay payment token cannot be verified due to a missing signing key.","httpStatusCode":400},{"code":"apple_pay_payment_decryption","description":"Returned when the Apple Pay payment token could not be decrypted.","httpStatusCode":400},{"code":"apple_pay_pk_token_required","description":"Returned when the Apple Pay payment token is absent from the request.","httpStatusCode":400},{"code":"archived_payout_method","description":"Returned when the credential ID provided corresponds to an archived Payout Method.","httpStatusCode":400},{"code":"blocked_payout_method","description":"Returned when a payout method is blocked by Stripe.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"incompatible_payout_method_currency","description":"Returned in cases where the currency provided is incompatible with the payout method.\nThis occurs when the credentials provided do not match with the currency provided.","httpStatusCode":400,"type":"cannot_proceed"},{"code":"invalid_fields","httpStatusCode":400},{"code":"invalid_payout_method","description":"Returned in cases where the ID provided doesn't correspond to a valid payout method.","httpStatusCode":400,"type":"invalid_payout_method"},{"code":"invalid_payout_method_data","description":"Returned in cases where the PayoutMethod object provided is not valid (wrong format of\ncredentials that does not correspond to a valid payout method).","httpStatusCode":400,"type":"invalid_payout_method"},{"code":"invalid_payout_method_update","description":"Returned when attempting to update non-updatable credential data.","httpStatusCode":400},{"code":"invalid_status_payout_method","description":"Returned when the credential ID provided corresponds to a resource that does not allow usage as a payout method.","httpStatusCode":400},{"code":"limit_payout_method","description":"Returned when the number of payout methods has exceeded the limit in a given workspace.\nPayoutMethod objects may be archived with the /archive API, at which point they will not count against the limit.\nIf you are not passing a V2 Account ID in the Stripe-Context header you may receive this error since\nyou are creating all your payout method objects in your own workspace.","httpStatusCode":400,"type":"quota_exceeded"},{"code":"parameter_pair_exclusive","description":"Two mutually exclusive parameters were provided in the request.","httpStatusCode":400},{"code":"payment_method_unsupported_for_payouts","description":"Returned when the payment method referenced in from_resource is not supported for payouts.","httpStatusCode":400},{"code":"payout_method_cannot_be_updated","description":"Returned when attempting to update a Payout Method controlled by another resource.","httpStatusCode":400,"type":"controlled_by_alternate_resource"},{"code":"resource_not_found","description":"Returned when the request references a resource that cannot be found.","httpStatusCode":400},{"code":"unsupported_payout_method","description":"Returned in cases where Stripe is unable to support this payout method at this time.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"unsupported_payout_method_currency","description":"Returned in cases where the currency provided is unsupported for the payout method.\nThis occurs when the currency provided is not supported regardless of the credentials provided.","httpStatusCode":400,"type":"cannot_proceed"}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_setup_intents/{id}":{"get":{"summary":"Retrieve an Outbound Setup Intent","description":"Retrieve an OutboundSetupIntent object.","operationId":"GetV2MoneyManagementOutboundSetupIntentsId","parameters":[{"name":"id","in":"path","description":"ID of the OutboundSetupIntent object.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_setup_intent"},"examples":{"example":{"value":{"id":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","object":"v2.money_management.outbound_setup_intent","created":"2025-04-01T14:13:12.000Z","next_action":{"confirmation_of_payee":{"object":"core.vault.gb_bank_account","status":"uninitiated"},"type":"confirmation_of_payee"},"payout_method":{"id":"gbba_test_61SITWKOFwHCpdRSV16QsOpAPpE97EJALhqt1U5mCDyS","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"],"bank_account_type":"checking"},"created":"2025-04-01T14:13:12.295Z","latest_outbound_setup_intent":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","type":"bank_account","usage_status":{"payments":"requires_action","transfers":"eligible"},"livemode":false},"status":"requires_action","usage_intent":"payment","livemode":false}}}}}},"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_outbound_setup_intent","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq"},"requestBody":{}},"response":{"id":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","object":"v2.money_management.outbound_setup_intent","created":"2025-04-01T14:13:12.000Z","next_action":{"confirmation_of_payee":{"object":"core.vault.gb_bank_account","status":"uninitiated"},"type":"confirmation_of_payee"},"payout_method":{"id":"gbba_test_61SITWKOFwHCpdRSV16QsOpAPpE97EJALhqt1U5mCDyS","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"],"bank_account_type":"checking"},"created":"2025-04-01T14:13:12.295Z","latest_outbound_setup_intent":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","type":"bank_account","usage_status":{"payments":"requires_action","transfers":"eligible"},"livemode":false},"status":"requires_action","usage_intent":"payment","livemode":false}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true},"post":{"summary":"Update an Outbound Setup Intent","description":"Update an OutboundSetupIntent object.","operationId":"PostV2MoneyManagementOutboundSetupIntentsId","parameters":[{"name":"id","in":"path","description":"ID of the OutboundSetupIntent object.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"payout_method":{"type":"string","description":"If provided, the existing payout method resource to link to this outbound setup intent.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.payout_method"}}},"payout_method_data":{"required":["type"],"type":"object","properties":{"bank_account":{"required":["account_number","country","currency"],"type":"object","properties":{"account_number":{"type":"string","description":"The account number or IBAN of the bank account."},"bank_account_type":{"type":"string","description":"Closed Enum. The type of the bank account (checking or savings).","enum":["checking","futsu","savings","toza"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Default value for most countries.\nChecking account.","value":"checking"},{"description":"Default value for Japan where vast majority of bank accounts are 'futsu'.\nJapan-specific bank account type (普通預金) which means \"ordinary\".","value":"futsu"},{"description":"Savings account.","value":"savings"},{"description":"Japan-specific bank account type (当座預金) which means \"current\".","value":"toza"}]}},"branch_number":{"type":"string","description":"The branch number of the bank account, if present."},"country":{"type":"string","description":"The country code of the bank account."},"currency":{"type":"string","description":"The currency of the bank account."},"routing_number":{"type":"string","description":"The routing number of the bank account, if present."},"swift_code":{"type":"string","description":"The swift code of the bank account, if present."}},"description":"The type specific details of the bank account payout method."},"card":{"type":"object","properties":{"currency":{"type":"string","description":"The currency of the card."},"exp_month":{"type":"string","description":"The expiration month of the card."},"exp_year":{"type":"string","description":"The expiration year of the card."},"number":{"type":"string","description":"The card number. This can only be passed when creating a new credential on an outbound setup intent in the requires_payout_method state."}},"description":"The type specific details of the card payout method.","x-stripeNotPublic":true},"type":{"type":"string","description":"Open Enum. The type of payout method to be created/updated.","enum":["bank_account","card","crypto_wallet"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank account.","value":"bank_account"},{"description":"Card.","value":"card"},{"description":"Crypto wallet.","value":"crypto_wallet"}]}}},"description":"If no payout_method provided, used to create the underlying credential that is set up for outbound money movement.\nIf a payout_method provided, used to update data on the credential linked to this setup intent.\nOnly card expiry (exp_month, exp_year) can be updated in the case where payout_method is provided."}}},"examples":{"example":{"value":{"pathParams":{"id":"osi_test_61SITa5aMrGNcpWTI16QsOpAPpE97EJALhqt1U5mC85I"},"requestBody":{"payout_method_data":{"type":"card"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_setup_intent"},"examples":{"example":{"value":{"id":"osi_test_61SITa5aMrGNcpWTI16QsOpAPpE97EJALhqt1U5mC85I","object":"v2.money_management.outbound_setup_intent","created":"2025-04-01T14:17:05.000Z","next_action":null,"payout_method":{"id":"card_test_61SITa59fSaPfOGuU16QsOpAPpE97EJALhqt1U5mC1lg","object":"v2.money_management.payout_method","available_payout_speeds":["standard","instant"],"card":{"archived":false,"exp_month":"12","exp_year":"2030","fingerprint":"k2E5yfcy8efOo0G1","last4":"5556"},"created":"2025-04-01T14:17:05.425Z","latest_outbound_setup_intent":"osi_test_61SITa5aMrGNcpWTI16QsOpAPpE97EJALhqt1U5mC85I","type":"card","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":false},"status":"succeeded","usage_intent":"payment","livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.archived_payout_method"},{"$ref":"#/components/schemas/v2.error.archived_payout_method_card"},{"$ref":"#/components/schemas/v2.error.blocked_payout_method_card"},{"$ref":"#/components/schemas/v2.error.cannot_update_terminal_outbound_setup_intent"},{"$ref":"#/components/schemas/v2.error.invalid_payout_method_card"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.payout_method_cannot_be_updated"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_outbound_setup_intent","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"osi_test_61SITa5aMrGNcpWTI16QsOpAPpE97EJALhqt1U5mC85I"},"requestBody":{"payout_method_data":{"type":"card"}}},"response":{"id":"osi_test_61SITa5aMrGNcpWTI16QsOpAPpE97EJALhqt1U5mC85I","object":"v2.money_management.outbound_setup_intent","created":"2025-04-01T14:17:05.000Z","next_action":null,"payout_method":{"id":"card_test_61SITa59fSaPfOGuU16QsOpAPpE97EJALhqt1U5mC1lg","object":"v2.money_management.payout_method","available_payout_speeds":["standard","instant"],"card":{"archived":false,"exp_month":"12","exp_year":"2030","fingerprint":"k2E5yfcy8efOo0G1","last4":"5556"},"created":"2025-04-01T14:17:05.425Z","latest_outbound_setup_intent":"osi_test_61SITa5aMrGNcpWTI16QsOpAPpE97EJALhqt1U5mC85I","type":"card","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":false},"status":"succeeded","usage_intent":"payment","livemode":false}}],"x-stripeErrors":[{"code":"archived_payout_method","description":"Returned when the credential ID provided corresponds to an archived Payout Method.","httpStatusCode":400},{"code":"archived_payout_method_card","description":"Returned when attempting to update an archived card.","httpStatusCode":400,"type":"quota_exceeded"},{"code":"blocked_payout_method_card","description":"Returned in cases where the card cannot be used due to suspicious activity.","httpStatusCode":400,"type":"blocked_by_stripe"},{"code":"cannot_update_terminal_outbound_setup_intent","description":"Returned when attempting to update an outbound setup intent in a terminal state (canceled or succeeded).","httpStatusCode":400},{"code":"invalid_payout_method_card","description":"Returned in cases where the PayoutMethodCard object is not valid.","httpStatusCode":400,"type":"invalid_payout_method"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"payout_method_cannot_be_updated","description":"Returned when attempting to update a Payout Method controlled by another resource.","httpStatusCode":400,"type":"controlled_by_alternate_resource"}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_setup_intents/{id}/cancel":{"post":{"summary":"Cancel an Outbound Setup Intent","description":"Cancel an OutboundSetupIntent object.","operationId":"PostV2MoneyManagementOutboundSetupIntentsIdCancel","parameters":[{"name":"id","in":"path","description":"ID of the OutboundSetupIntent object.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_setup_intent"},"examples":{"example":{"value":{"id":"osi_test_61SGjPYqxe7aclYYK16SFYY50hSQyuKxcW4dWTJuSJ2u","object":"v2.money_management.outbound_setup_intent","created":"2025-03-27T18:47:00.000Z","next_action":null,"payout_method":{"id":"usba_test_61SGjPYDjK74f4Wbp16SFYY50hSQyuKxcW4dWTJuSVma","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-27T18:47:00.051Z","latest_outbound_setup_intent":"osi_test_61SGjPYqxe7aclYYK16SFYY50hSQyuKxcW4dWTJuSJ2u","type":"bank_account","usage_status":{"payments":"invalid","transfers":"invalid"},"livemode":false},"status":"canceled","usage_intent":"payment","livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.cannot_cancel_terminal_outbound_setup_intent"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_cancel_outbound_setup_intent","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"osi_test_61SGjPYqxe7aclYYK16SFYY50hSQyuKxcW4dWTJuSJ2u"},"requestBody":{}},"response":{"id":"osi_test_61SGjPYqxe7aclYYK16SFYY50hSQyuKxcW4dWTJuSJ2u","object":"v2.money_management.outbound_setup_intent","created":"2025-03-27T18:47:00.000Z","next_action":null,"payout_method":{"id":"usba_test_61SGjPYDjK74f4Wbp16SFYY50hSQyuKxcW4dWTJuSVma","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-27T18:47:00.051Z","latest_outbound_setup_intent":"osi_test_61SGjPYqxe7aclYYK16SFYY50hSQyuKxcW4dWTJuSJ2u","type":"bank_account","usage_status":{"payments":"invalid","transfers":"invalid"},"livemode":false},"status":"canceled","usage_intent":"payment","livemode":false}}],"x-stripeErrors":[{"code":"cannot_cancel_terminal_outbound_setup_intent","description":"Returned when attempting to cancel an outbound setup intent in a terminal state (canceled or succeeded).","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_transfers":{"get":{"summary":"List Outbound Transfers","description":"Returns a list of OutboundTransfers that match the provided filters.","operationId":"GetV2MoneyManagementOutboundTransfers","parameters":[{"name":"created","in":"query","description":"Filter for objects created at the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_gt","in":"query","description":"Filter for objects created after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_gte","in":"query","description":"Filter for objects created on or after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_lt","in":"query","description":"Filter for objects created before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"created_lte","in":"query","description":"Filter for objects created on or before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","required":false,"style":"form","schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","description":"The maximum number of results to return.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"status","in":"query","description":"Closed Enum. Only return OutboundTransfers with this status.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["canceled","failed","posted","processing","returned"],"x-stripeEnum":{"kind":"closed","values":[{"description":"A user canceled the OutboundTransfer before posting. Stripe returns the funds to the user by voiding the pending Transaction.","value":"canceled"},{"description":"The OutboundTransfer failed to confirm. Stripe returns the funds to the user by voiding the pending Transaction.","value":"failed"},{"description":"The OutboundTransfer posted and funds have left the account. The underlying Transaction posts.","value":"posted"},{"description":"The OutboundTransfer starting state. Funds are \"held\" by a pending Transaction (but are still part of the current balance). The OutboundTransfer might be cancelable by the user, depending on the value of the cancelable field.","value":"processing"},{"description":"The OutboundTransfer failed to successfully arrive at the destination. Funds return to the user with a second posted Transaction attached to the same flow.","value":"returned"}]}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"The OutboundTransfers retrieved.","items":{"$ref":"#/components/schemas/v2.money_management.outbound_transfer"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"obt_test_65OAfZuGepEX92sRECO16NybHIZ4SQ3LORe4rpuNGDIDb6","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":50,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":true,"description":"Paying out Stripe earnings","status":"processing","status_transitions":{"canceled_at":null,"failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:19:35.123Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKLnjpqIGMgZNKstJGOg6SJSQrFGi6Bb85dAepu7uG2MVwM9VElVM0ekthEzf2MRmX19dnfFuZpKcVeukNldg5CAYFdFCUWWc_AHfQyYgL7fSAUONrbxPhg","livemode":false},{"id":"obt_test_65OAfYe4XKyMwZeHlcV16NybHIZ4SQ3LORe4rpuNGDIRZw","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":80,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":80,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":80,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":false,"description":"Paying out Stripe earnings","status":"canceled","status_transitions":{"canceled_at":"2023-04-26T23:18:28.412Z","failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:18:16.777Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKLnjpqIGMgZ4ixuDAAY6SJQGxQoU7gIawmH6g8uvKmtgds_fctxW9OclrMHT0XrtLo5HV8bCBdjfFxZ9UIQqiEvXN78CMyXlPu5gyap_a3jtVVdFeid7vw","livemode":false}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_page_token"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_outbound_transfers","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"status":["processing"]}},"response":{"data":[{"id":"obt_test_65OAfZuGepEX92sRECO16NybHIZ4SQ3LORe4rpuNGDIDb6","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":50,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":true,"description":"Paying out Stripe earnings","status":"processing","status_transitions":{"canceled_at":null,"failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:19:35.123Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKLnjpqIGMgZNKstJGOg6SJSQrFGi6Bb85dAepu7uG2MVwM9VElVM0ekthEzf2MRmX19dnfFuZpKcVeukNldg5CAYFdFCUWWc_AHfQyYgL7fSAUONrbxPhg","livemode":false},{"id":"obt_test_65OAfYe4XKyMwZeHlcV16NybHIZ4SQ3LORe4rpuNGDIRZw","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":80,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":80,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":80,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":false,"description":"Paying out Stripe earnings","status":"canceled","status_transitions":{"canceled_at":"2023-04-26T23:18:28.412Z","failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:18:16.777Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKLnjpqIGMgZ4ixuDAAY6SJQGxQoU7gIawmH6g8uvKmtgds_fctxW9OclrMHT0XrtLo5HV8bCBdjfFxZ9UIQqiEvXN78CMyXlPu5gyap_a3jtVVdFeid7vw","livemode":false}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"invalid_page_token","description":"Error returned when the page token provided in the OutboundPayments/OutboundTransfers list request is invalid.","httpStatusCode":400}],"x-stripeNotPublic":true},"post":{"summary":"Create an Outbound Transfer","description":"Creates an OutboundTransfer.","operationId":"PostV2MoneyManagementOutboundTransfers","requestBody":{"content":{"application/json":{"schema":{"required":["amount","from","to"],"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":"The \"presentment amount\" for the OutboundPayment."},"delivery_options":{"type":"object","properties":{"bank_account":{"type":"string","description":"Open Enum. Method for bank account.","enum":["automatic","local","wire"],"x-stripeEnum":{"kind":"open","values":[{"description":"Method automatically selected by Stripe.","value":"automatic"},{"description":"The group of local bank-transfer networks in the bank account's country.","value":"local"},{"description":"The group of wire transfer networks in the bank account's country.","value":"wire"}]}}},"description":"Delivery options to be used to send the OutboundTransfer."},"description":{"type":"string","description":"An arbitrary string attached to the OutboundTransfer. Often useful for displaying to users."},"from":{"required":["currency","financial_account"],"type":"object","properties":{"currency":{"type":"string","description":"Describes the FinancialAmount's currency drawn from."},"financial_account":{"type":"string","description":"The FinancialAccount that funds were pulled from."}},"description":"The FinancialAccount to pull funds from."},"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."},"to":{"required":["payout_method"],"type":"object","properties":{"currency":{"type":"string","description":"Describes the currency to send to the recipient.\nIf included, this currency must match a currency supported by the destination.\nCan be omitted in the following cases:\n- destination only supports one currency\n- destination supports multiple currencies and one of the currencies matches the FA currency\n- destination supports multiple currencies and one of the currencies matches the presentment currency\nNote - when both FA currency and presentment currency are supported, we pick the FA currency to minimize FX."},"payout_method":{"type":"string","description":"The payout method which the OutboundTransfer uses to send payout."}},"description":"To which payout method to send the OutboundTransfer."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","currency":"usd"},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","currency":"usd"},"amount":{"value":50,"currency":"usd"},"description":"Paying out Stripe earnings"}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_transfer"},"examples":{"example":{"value":{"id":"obt_test_65OAfYe4XKyMwZeHlcV16NybHIZ4SQ3LORe4rpuNGDIRZw","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"credited":{"value":50,"currency":"usd"},"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC"},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":true,"description":"Paying out Stripe earnings","status":"processing","status_transitions":{"canceled_at":null,"failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:18:16.777Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKLjipqIGMgYk_Zatd6o6SJTkdgTDenznPtxy9kHSWhpBX0QEYqbR8_OPno6qVa79eu4rNCFiXFjzwfzKlMF16O028YAwyJ2T1sRMDLkbsqtVSR5r4dV-nw","livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.amount_too_large_for_preferred_networks"},{"$ref":"#/components/schemas/v2.error.amount_too_large_for_selected_delivery_option"},{"$ref":"#/components/schemas/v2.error.approval_required"},{"$ref":"#/components/schemas/v2.error.approvals_cannot_be_only_approver_of_own_request"},{"$ref":"#/components/schemas/v2.error.approvals_conflicting_approval_request_exists"},{"$ref":"#/components/schemas/v2.error.approvals_request_blocked"},{"$ref":"#/components/schemas/v2.error.card_payout_method_not_supported"},{"$ref":"#/components/schemas/v2.error.cop_not_accepted"},{"$ref":"#/components/schemas/v2.error.delivery_option_not_supported"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_not_enabled"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_restricted"},{"$ref":"#/components/schemas/v2.error.financial_account_operation_unsupported_for_type"},{"$ref":"#/components/schemas/v2.error.financial_address_creation_required"},{"$ref":"#/components/schemas/v2.error.from_balance_type_not_found"},{"$ref":"#/components/schemas/v2.error.from_balance_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.from_financial_account_not_found"},{"$ref":"#/components/schemas/v2.error.idempotency_conflict"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.insufficient_funds"},{"$ref":"#/components/schemas/v2.error.invalid_outbound_flow"},{"$ref":"#/components/schemas/v2.error.invalid_payout_method_country"},{"$ref":"#/components/schemas/v2.error.network_not_supported_for_payout_method"},{"$ref":"#/components/schemas/v2.error.no_suitable_delivery_options_for_large_amount"},{"$ref":"#/components/schemas/v2.error.outbound_flow_from_closed_financial_account_unsupported"},{"$ref":"#/components/schemas/v2.error.outbound_flow_unsupported_country"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_cannot_be_processed"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_not_allowed"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_recipient_verification_already_consumed"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_recipient_verification_awaiting_acknowledgement"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_recipient_verification_expired"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_recipient_verification_missing"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_recipient_verification_not_found"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_recipient_verification_payout_method_mismatch"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_recipient_verification_recipient_mismatch"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_recipient_verification_recipient_name_outdated"},{"$ref":"#/components/schemas/v2.error.payout_method_archived"},{"$ref":"#/components/schemas/v2.error.payout_method_disabled"},{"$ref":"#/components/schemas/v2.error.payout_method_invalid"},{"$ref":"#/components/schemas/v2.error.payout_method_must_differ_from_financial_account"},{"$ref":"#/components/schemas/v2.error.payout_method_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.pending_financial_account"},{"$ref":"#/components/schemas/v2.error.preferred_networks_not_available"},{"$ref":"#/components/schemas/v2.error.storer_capability_missing"},{"$ref":"#/components/schemas/v2.error.storer_capability_not_active"},{"$ref":"#/components/schemas/v2.error.submission_not_supported"},{"$ref":"#/components/schemas/v2.error.unsupported_currency"},{"$ref":"#/components/schemas/v2.error.unsupported_operation_with_managed_financial_account"},{"$ref":"#/components/schemas/v2.error.unsupported_parameter_delivery_options"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_outbound_transfer","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","currency":"usd"},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","currency":"usd"},"amount":{"value":50,"currency":"usd"},"description":"Paying out Stripe earnings"}},"response":{"id":"obt_test_65OAfYe4XKyMwZeHlcV16NybHIZ4SQ3LORe4rpuNGDIRZw","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"credited":{"value":50,"currency":"usd"},"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC"},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":true,"description":"Paying out Stripe earnings","status":"processing","status_transitions":{"canceled_at":null,"failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:18:16.777Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKLjipqIGMgYk_Zatd6o6SJTkdgTDenznPtxy9kHSWhpBX0QEYqbR8_OPno6qVa79eu4rNCFiXFjzwfzKlMF16O028YAwyJ2T1sRMDLkbsqtVSR5r4dV-nw","livemode":false}}],"x-stripeErrors":[{"code":"amount_too_large_for_preferred_networks","description":"Error returned when the amount is too large for the requested preferred_networks.","httpStatusCode":400},{"code":"amount_too_large_for_selected_delivery_option","description":"Error returned when user selected a delivery option but the specified amount exceeds the method limits.","httpStatusCode":400},{"code":"approval_required","description":"This error is thrown when an operation requires approval.","httpStatusCode":403},{"code":"approvals_cannot_be_only_approver_of_own_request","description":"This error is thrown when a user is the only approver for their own request.","httpStatusCode":400},{"code":"approvals_conflicting_approval_request_exists","description":"This error is thrown when a conflicting approval request already exists.","httpStatusCode":409},{"code":"approvals_request_blocked","description":"This error is thrown when an approval rule blocks a request.","httpStatusCode":403},{"code":"card_payout_method_not_supported","description":"Error returned when the provided Card payout method is not eligible for outbound payment or outbound transfer.","httpStatusCode":400},{"code":"cop_not_accepted","description":"Error returned when the Confirmation of Payee is not accepted.","httpStatusCode":400},{"code":"delivery_option_not_supported","description":"Error returned when the selected delivery option is not supported for the payout method.","httpStatusCode":400},{"code":"financial_account_capability_not_enabled","description":"Error thrown when attempting to add currencies that require capabilities that are not enabled.","httpStatusCode":400},{"code":"financial_account_capability_restricted","description":"Error thrown when attempting to add currencies that require capabilities that are restricted.","httpStatusCode":400},{"code":"financial_account_operation_unsupported_for_type","description":"Operation not supported on Financial Accounts with this type.","httpStatusCode":400},{"code":"financial_address_creation_required","description":"Error returned when there is no active financial address required for GB and EU\nOBPs or OBTs.","httpStatusCode":400},{"code":"from_balance_type_not_found","description":"Deprecated. Error returned when balance type of provided financial account in the OutboundPayment/OutboundTransfer request cannot be identified.","httpStatusCode":404},{"code":"from_balance_unsupported_currency","description":"Error returned when the balance type in the OutboundPayment/OutboundTransfer request does not support the provided currency.","httpStatusCode":400},{"code":"from_financial_account_not_found","description":"Error returned when financial account in the OutboundPayment/OutboundTransfer request cannot be identified.","httpStatusCode":404},{"code":"idempotency_conflict","description":"An idempotent retry results in resource conflicts.","httpStatusCode":409},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"insufficient_funds","description":"Error returned when the balance of provided financial account and balance type in the OutboundPayment/OutboundTransfer request does not have enough funds.","httpStatusCode":400,"type":"insufficient_funds"},{"code":"invalid_outbound_flow","description":"Error returned when the outbound flow is invalid.","httpStatusCode":400},{"code":"invalid_payout_method_country","description":"Error returned when the payout method country does not match the recipient account country.","httpStatusCode":400},{"code":"network_not_supported_for_payout_method","description":"Error returned when the requested networks are not supported for the provided payout method.","httpStatusCode":400},{"code":"no_suitable_delivery_options_for_large_amount","description":"Error returned when user does not specify the delivery option or provides automatic, and the amount exceeds all the possible delivery options for this payout method.","httpStatusCode":400},{"code":"outbound_flow_from_closed_financial_account_unsupported","description":"The user attempts to create an outbound flow from a closed Financial Account.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"outbound_flow_unsupported_country","description":"Error returned when the payout method country is not supported for the outbound payment.","httpStatusCode":400},{"code":"outbound_transfer_cannot_be_processed","description":"Error returned when the OutboundTransfer cannot be processed due to a Stripe review rejection.","httpStatusCode":400},{"code":"outbound_transfer_not_allowed","description":"Error returned when the user is not allowed to make this OutboundTransfer request.","httpStatusCode":400},{"code":"outbound_transfer_recipient_verification_already_consumed","description":"Error returned when the provided recipient verification has been used for another payment.","httpStatusCode":400},{"code":"outbound_transfer_recipient_verification_awaiting_acknowledgement","description":"Error returned when provided recipient verification has not been acknowledged.","httpStatusCode":400},{"code":"outbound_transfer_recipient_verification_expired","description":"Error returned when provided recipient verification is expired.","httpStatusCode":400},{"code":"outbound_transfer_recipient_verification_missing","description":"Error returned when recipient verification is missing for OBTs which requires recipient verification prior to OBT initiation.","httpStatusCode":400},{"code":"outbound_transfer_recipient_verification_not_found","description":"Error returned when the provided recipient verification cannot be identified.","httpStatusCode":404},{"code":"outbound_transfer_recipient_verification_payout_method_mismatch","description":"Error returned when payout method on recipient verification creation request don’t match outbound transfer creation request.","httpStatusCode":400},{"code":"outbound_transfer_recipient_verification_recipient_mismatch","description":"Error returned when recipient on recipient verification creation request don’t match outbound transfer creation request.","httpStatusCode":400},{"code":"outbound_transfer_recipient_verification_recipient_name_outdated","description":"Error returned when the recipient account name of the recipient verification no longer matches the verified name.","httpStatusCode":400},{"code":"payout_method_archived","description":"Error returned when the payout method in the OutboundPayment/OutboundTransfer request is archived and invalid.","httpStatusCode":400},{"code":"payout_method_disabled","description":"Error returned when the payout method in the OutboundPayment/OutboundTransfer request is disabled\nand needs to be enabled via OutboundSetupIntent.","httpStatusCode":400},{"code":"payout_method_invalid","description":"Error returned when the payout method in the OutboundPayment/OutboundTransfer request cannot be identified.","httpStatusCode":404},{"code":"payout_method_must_differ_from_financial_account","description":"Error returned when the same v2 Financial Account is provided in both to.payout_method and from.financial_account fields.","httpStatusCode":400},{"code":"payout_method_unsupported_currency","description":"Error returned when the payout method does not support the request's payout method currency.","httpStatusCode":400},{"code":"pending_financial_account","description":"Error returned when the source financial account is in a pending state and not yet active.","httpStatusCode":400},{"code":"preferred_networks_not_available","description":"Error returned when the requested network is temporarily unavailable.","httpStatusCode":400},{"code":"storer_capability_missing","description":"The required storer capabilities are missing.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"storer_capability_not_active","description":"The required storer capabilities are not active.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"submission_not_supported","description":"Error returned when an unsupported ACH submission value is provided.","httpStatusCode":400},{"code":"unsupported_currency","description":"The currency is not supported for Financial Accounts.","httpStatusCode":400},{"code":"unsupported_operation_with_managed_financial_account","description":"Creation of an object is not allowed with a managed account.","httpStatusCode":400},{"code":"unsupported_parameter_delivery_options","description":"Error returned when delivery_options and payout_method_options are both specified (mutually exclusive).","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_transfers/{id}":{"get":{"summary":"Retrieve an Outbound Transfer","description":"Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundPayment create or list response.","operationId":"GetV2MoneyManagementOutboundTransfersId","parameters":[{"name":"id","in":"path","description":"The ID of the OutboundTransfer to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_transfer"},"examples":{"example":{"value":{"id":"obt_test_65OAfZuGepEX92sRECO16NybHIZ4SQ3LORe4rpuNGDIDb6","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":50,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":true,"description":"Paying out Stripe earnings","status":"pending","status_transitions":{"canceled_at":null,"failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:19:35.123Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKJLjpqIGMgb4C6zLsmw6SJS1ua8HSKbV2I5kVA6XOZ553eVPu8d3RUAxIsLylBkQcU9X1Ljx2U3j33Or9GNxKKizf9YGvg1aDEohr4VnhlRVBZpF6maT0w","livemode":false}}}}}},"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_outbound_transfer","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"obt_test_65OAfZuGepEX92sRECO16NybHIZ4SQ3LORe4rpuNGDIDb6"},"requestBody":{}},"response":{"id":"obt_test_65OAfZuGepEX92sRECO16NybHIZ4SQ3LORe4rpuNGDIDb6","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":50,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":true,"description":"Paying out Stripe earnings","status":"pending","status_transitions":{"canceled_at":null,"failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:19:35.123Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKJLjpqIGMgb4C6zLsmw6SJS1ua8HSKbV2I5kVA6XOZ553eVPu8d3RUAxIsLylBkQcU9X1Ljx2U3j33Or9GNxKKizf9YGvg1aDEohr4VnhlRVBZpF6maT0w","livemode":false}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/outbound_transfers/{id}/cancel":{"post":{"summary":"Cancel an Outbound Transfer","description":"Cancels an OutboundTransfer. Only processing OutboundTransfers can be canceled.","operationId":"PostV2MoneyManagementOutboundTransfersIdCancel","parameters":[{"name":"id","in":"path","description":"The ID of the OutboundTransfer to cancel.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.outbound_transfer"},"examples":{"example":{"value":{"id":"obt_test_65OAfYe4XKyMwZeHlcV16NybHIZ4SQ3LORe4rpuNGDIRZw","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":50,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":false,"description":"Paying out Stripe earnings","status":"canceled","status_transitions":{"canceled_at":"2023-04-26T23:18:28.412Z","failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:18:16.777Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKMTipqIGMgZpliO-zX86SJQFa58LOKNAWYRci6HJPA10Ddmocyf7MnhVX4NTkNJrO30nmnJBTIa-kVBovJDEAyzBer6TFulzAqpUbrzbxbWfX5UoXB3BQg","livemode":false}}}}}},"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.outbound_transfer_already_canceled"},{"$ref":"#/components/schemas/v2.error.outbound_transfer_not_cancelable"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_cancel_outbound_transfer","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"obt_test_65OAfYe4XKyMwZeHlcV16NybHIZ4SQ3LORe4rpuNGDIRZw"},"requestBody":{}},"response":{"id":"obt_test_65OAfYe4XKyMwZeHlcV16NybHIZ4SQ3LORe4rpuNGDIRZw","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":50,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":false,"description":"Paying out Stripe earnings","status":"canceled","status_transitions":{"canceled_at":"2023-04-26T23:18:28.412Z","failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:18:16.777Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKMTipqIGMgZpliO-zX86SJQFa58LOKNAWYRci6HJPA10Ddmocyf7MnhVX4NTkNJrO30nmnJBTIa-kVBovJDEAyzBer6TFulzAqpUbrzbxbWfX5UoXB3BQg","livemode":false}}],"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},{"code":"outbound_transfer_already_canceled","description":"Error returned when user tries to cancel an OutboundTransfer that was already canceled.","httpStatusCode":400,"type":"already_canceled"},{"code":"outbound_transfer_not_cancelable","description":"Error returned when user tries to cancel an OutboundTransfer that is not cancelable.","httpStatusCode":400,"type":"not_cancelable"}],"x-stripeNotPublic":true}},"/v2/money_management/payout_methods":{"get":{"summary":"List Payout Methods","description":"List objects that adhere to the PayoutMethod interface.","operationId":"GetV2MoneyManagementPayoutMethods","parameters":[{"name":"limit","in":"query","description":"The page size.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"usage_status","in":"query","description":"Usage status filter.","required":false,"style":"deepObject","schema":{"type":"object","properties":{"payments":{"type":"array","description":"List of payments status to filter by.","items":{"type":"string","enum":["disabled","eligible","ineligible","invalid","requires_action"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Resources that are not enabled.","value":"disabled"},{"description":"Resources that have met all the necessary requirements.","value":"eligible"},{"description":"Resources that cannot currently be used for money movement (e.g. archived payout methods).\nThis status is not terminal.","value":"ineligible"},{"description":"Resources that can’t ever support the specified flow (e.g credit cards for transfers).","value":"invalid"},{"description":"Resources that need to meet more requirements / need to do more actions in order to be made usable.","value":"requires_action"}]}}},"transfers":{"type":"array","description":"List of transfers status to filter by.","items":{"type":"string","enum":["disabled","eligible","ineligible","invalid","requires_action"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Resources that are not enabled.","value":"disabled"},{"description":"Resources that have met all the necessary requirements.","value":"eligible"},{"description":"Resources that cannot currently be used for money movement (e.g. archived payout methods).\nThis status is not terminal.","value":"ineligible"},{"description":"Resources that can’t ever support the specified flow (e.g credit cards for transfers).","value":"invalid"},{"description":"Resources that need to meet more requirements / need to do more actions in order to be made usable.","value":"requires_action"}]}}}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"The list of payout methods.","items":{"$ref":"#/components/schemas/v2.money_management.payout_method"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"card_test_61SITa59fSaPfOGuU16QsOpAPpE97EJALhqt1U5mC1lg","object":"v2.money_management.payout_method","available_payout_speeds":["standard","instant"],"card":{"archived":false,"exp_month":"10","exp_year":"2028","fingerprint":"k2E5yfcy8efOo0G1","last4":"5556"},"created":"2025-04-01T14:17:05.425Z","latest_outbound_setup_intent":null,"type":"card","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true},{"id":"gbba_test_61SITWKOFwHCpdRSV16QsOpAPpE97EJALhqt1U5mCDyS","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"],"bank_account_type":"checking"},"created":"2025-04-01T14:13:12.295Z","latest_outbound_setup_intent":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","type":"bank_account","usage_status":{"payments":"requires_action","transfers":"eligible"},"livemode":true},{"id":"gbba_test_61Qz1meKFu38uCGVY16QsOpAPpE97EJALhqt1U5mCBVQ","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"],"bank_account_type":"checking"},"created":"2024-08-19T22:13:24.332Z","latest_outbound_setup_intent":null,"type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_payout_methods","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"card_test_61SITa59fSaPfOGuU16QsOpAPpE97EJALhqt1U5mC1lg","object":"v2.money_management.payout_method","available_payout_speeds":["standard","instant"],"card":{"archived":false,"exp_month":"10","exp_year":"2028","fingerprint":"k2E5yfcy8efOo0G1","last4":"5556"},"created":"2025-04-01T14:17:05.425Z","latest_outbound_setup_intent":null,"type":"card","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true},{"id":"gbba_test_61SITWKOFwHCpdRSV16QsOpAPpE97EJALhqt1U5mCDyS","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"],"bank_account_type":"checking"},"created":"2025-04-01T14:13:12.295Z","latest_outbound_setup_intent":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","type":"bank_account","usage_status":{"payments":"requires_action","transfers":"eligible"},"livemode":true},{"id":"gbba_test_61Qz1meKFu38uCGVY16QsOpAPpE97EJALhqt1U5mCBVQ","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"],"bank_account_type":"checking"},"created":"2024-08-19T22:13:24.332Z","latest_outbound_setup_intent":null,"type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[],"x-stripeNotPublic":true}},"/v2/money_management/payout_methods/{id}":{"get":{"summary":"Retrieve a Payout Method","description":"Retrieve a PayoutMethod object.","operationId":"GetV2MoneyManagementPayoutMethodsId","parameters":[{"name":"id","in":"path","description":"ID of the payout method.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.payout_method"},"examples":{"example":{"value":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_payout_method"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_payout_method","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2"},"requestBody":{}},"response":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true}}],"x-stripeErrors":[{"code":"invalid_payout_method","description":"Returned in cases where the ID provided doesn't correspond to a valid payout method.","httpStatusCode":400,"type":"invalid_payout_method"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/payout_methods/{id}/archive":{"post":{"summary":"Archive a Payout Method","description":"Archive a PayoutMethod object. Archived objects cannot be used as payout methods\nand will not appear in the payout method list.","operationId":"PostV2MoneyManagementPayoutMethodsIdArchive","parameters":[{"name":"id","in":"path","description":"ID of the payout method.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.payout_method"},"examples":{"example":{"value":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":true,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.default_payout_method_cannot_be_archived"},{"$ref":"#/components/schemas/v2.error.invalid_payout_method"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.payout_method_cannot_be_archived"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_archive_payout_method","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2"},"requestBody":{}},"response":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":true,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true}}],"x-stripeErrors":[{"code":"default_payout_method_cannot_be_archived","description":"Returned when the PayoutMethod object is set as default_for_currency and cannot be archived.","httpStatusCode":400,"type":"cannot_proceed"},{"code":"invalid_payout_method","description":"Returned in cases where the ID provided doesn't correspond to a valid payout method.","httpStatusCode":400,"type":"invalid_payout_method"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"payout_method_cannot_be_archived","description":"Returned when the PayoutMethod object is controlled by an alternate resource so cannot be archived.","httpStatusCode":400,"type":"controlled_by_alternate_resource"}],"x-stripeNotPublic":true}},"/v2/money_management/payout_methods/{id}/disable":{"post":{"summary":"Disable a Payout Method","description":"Disable a PayoutMethod object. The payout method will not be available for use in outbound money movement.\nTo re-enable the payout method, create an OutboundSetupIntent\nusing [`POST /v2/money_management/outbound_setup_intents`](https://docs.stripe.com/api/v2/money-management/outbound-setup-intents/create).","operationId":"PostV2MoneyManagementPayoutMethodsIdDisable","parameters":[{"name":"id","in":"path","description":"ID of the payout method to disable.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.payout_method"},"examples":{"example":{"value":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_schemes":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"disabled","transfers":"disabled"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.default_payout_method_cannot_be_disabled"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_disable_payout_method","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2"},"requestBody":{}},"response":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_schemes":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"],"bank_account_type":"checking"},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"disabled","transfers":"disabled"},"livemode":true}}],"x-stripeErrors":[{"code":"default_payout_method_cannot_be_disabled","description":"Returned when the PayoutMethod object is set as default_for_currency and cannot be disabled.","httpStatusCode":400,"type":"cannot_proceed"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/payout_methods/{id}/unarchive":{"post":{"summary":"Unarchive a Payout Method","description":"Unarchive an PayoutMethod object.","operationId":"PostV2MoneyManagementPayoutMethodsIdUnarchive","parameters":[{"name":"id","in":"path","description":"ID of the Payout Method.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.payout_method"},"examples":{"example":{"value":{"id":"card_test_61SITa59fSaPfOGuU16QsOpAPpE97EJALhqt1U5mC1lg","object":"v2.money_management.payout_method","available_payout_speeds":["standard","instant"],"card":{"archived":false,"exp_month":"10","exp_year":"2028","fingerprint":"k2E5yfcy8efOo0G1","last4":"5556"},"created":"2025-04-01T14:17:05.425Z","latest_outbound_setup_intent":null,"type":"card","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_payout_method"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.payout_method_cannot_be_unarchived"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_unarchive_payout_method","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"card_test_61SITa59fSaPfOGuU16QsOpAPpE97EJALhqt1U5mC1lg"},"requestBody":{}},"response":{"id":"card_test_61SITa59fSaPfOGuU16QsOpAPpE97EJALhqt1U5mC1lg","object":"v2.money_management.payout_method","available_payout_speeds":["standard","instant"],"card":{"archived":false,"exp_month":"10","exp_year":"2028","fingerprint":"k2E5yfcy8efOo0G1","last4":"5556"},"created":"2025-04-01T14:17:05.425Z","latest_outbound_setup_intent":null,"type":"card","usage_status":{"payments":"eligible","transfers":"eligible"},"livemode":true}}],"x-stripeErrors":[{"code":"invalid_payout_method","description":"Returned in cases where the ID provided doesn't correspond to a valid payout method.","httpStatusCode":400,"type":"invalid_payout_method"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"payout_method_cannot_be_unarchived","description":"Returned when the PayoutMethodBankAccount object is controlled by the Stripe Dashboard, and cannot be unarchived.","httpStatusCode":400,"type":"controlled_by_alternate_resource"}],"x-stripeNotPublic":true}},"/v2/money_management/payout_methods_bank_account_spec":{"get":{"summary":"Retrieve Bank Account Specification by country","description":"Fetch the specifications for a set of countries to know which\ncredential fields are required, the validations for each fields, and how to translate these\ncountry-specific fields to the generic fields in the PayoutMethodBankAccount type.","operationId":"GetV2MoneyManagementPayoutMethodsBankAccountSpec","parameters":[{"name":"countries","in":"query","description":"The countries to fetch the bank account spec for.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.payout_methods_bank_account_spec"},"examples":{"example":{"value":{"object":"v2.money_management.payout_methods_bank_account_spec","countries":{"US":{"fields":[{"local_name":"account_number","local_name_human":{"localization_key":"payout_methods.bank_account.account_number","content":"Account Number"},"max_length":17,"min_length":1,"placeholder":"000123456789","stripe_name":"account_number","validation_regex":"\\A\\d{1,17}\\z"},{"local_name":"routing_number","local_name_human":{"localization_key":"payout_methods.bank_account.routing_number","content":"Routing Number"},"max_length":9,"min_length":9,"placeholder":"110000000","stripe_name":"routing_number","validation_regex":"\\A(01|02|03|04|05|06|07|08|09|10|11|12|21|22|23|24|25|26|27|28|29|30|31|32)[0-9]{7}\\z"}]}},"livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_country_code"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_payout_methods_bank_account_spec","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"countries":["US"]}},"response":{"object":"v2.money_management.payout_methods_bank_account_spec","countries":{"US":{"fields":[{"local_name":"account_number","local_name_human":{"localization_key":"payout_methods.bank_account.account_number","content":"Account Number"},"max_length":17,"min_length":1,"placeholder":"000123456789","stripe_name":"account_number","validation_regex":"\\A\\d{1,17}\\z"},{"local_name":"routing_number","local_name_human":{"localization_key":"payout_methods.bank_account.routing_number","content":"Routing Number"},"max_length":9,"min_length":9,"placeholder":"110000000","stripe_name":"routing_number","validation_regex":"\\A(01|02|03|04|05|06|07|08|09|10|11|12|21|22|23|24|25|26|27|28|29|30|31|32)[0-9]{7}\\z"}]}},"livemode":true}}],"x-stripeErrors":[{"code":"invalid_country_code","description":"Returned in cases where the country code requested for the bank account spec is invalid.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/received_credits":{"get":{"summary":"List Received Credits","description":"Retrieves a list of ReceivedCredits.","operationId":"GetV2MoneyManagementReceivedCredits","parameters":[{"name":"created","in":"query","description":"Hash of options for filtering on creation time.","required":false,"style":"deepObject","schema":{"type":"object","properties":{"gt":{"type":"string","description":"Filter for objects created after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"gte":{"type":"string","description":"Filter for objects created on or after the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"lt":{"type":"string","description":"Filter for objects created before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"},"lte":{"type":"string","description":"Filter for objects created on or before the specified timestamp.\nMust be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.","format":"date-time"}}}},{"name":"limit","in":"query","description":"The page limit.","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":"The retrieved ReceivedCredits.","items":{"$ref":"#/components/schemas/v2.money_management.received_credit"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"rc_61O18kMR4G9BiyFkn16NsjVW2gfQu2lIgkGQVy6ueCx6","object":"v2.money_management.received_credit","financial_account":"fa_65NvHabRWMmVKVjernQ16NsjgsfdSQu2lIgkGQVy6ueDtY","amount":{"value":100,"currency":"usd"},"description":"Weekly transfer 1","type":"bank_transfer","bank_transfer":{"origin_type":"us_bank_account","statement_descriptor":"Fund Stripe account 05/12","us_bank_account":{"last4":"4557","routing_number":"011000022","bank_name":"Goldman Sachs","network":"ach"},"financial_address":"finaddr_61NvHgGH9ksEFkYqj16NsjVW4dSQu2lIgkGQVy6ueWsx"},"status":"succeeded","status_details":null,"created":"2023-05-12T16:27:02.086Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk8wTVlLWjBTUURuM3A5OG9tZkQwWEEowNT4ogYyBvspfuDuEjpFlCZjXpjpVKRcHPK43kfFldwrwOO8ZPmRHjQmXL1jPf1GWWgoFxtL61dBWz-W2mEzwRgIgC0wPJi7M3HCUIOkSlwyfvHi","status_transitions":{"succeeded_at":"2023-05-12T16:27:02.086Z","failed_at":null,"returned_at":null},"livemode":true},{"id":"rc_61NvJ0vCutkwhd9kv16NsjVW3dSQu2lIasGQVy6sdAEq","object":"v2.money_management.received_credit","financial_account":"fa_65NvHabRWMmVKVjernQ16NsjgsfdSQu2lIgkGQVy6ueDtY","amount":{"value":100000000,"currency":"usd"},"description":"Weekly transfer 2","type":"bank_transfer","bank_transfer":{"origin_type":"us_bank_account","statement_descriptor":"Fund Stripe account 05/09","us_bank_account":{"last4":"4557","routing_number":"011000022","bank_name":"Goldman Sachs","network":"ach"},"financial_address":"finaddr_61NvHgGH9ksEFkYqj16NsjVW4dSQu2lIgkGQVy6ueWsx"},"status":"succeeded","status_details":null,"created":"2023-05-09T16:27:02.086Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk8wTVlLWjBTUURuM3A5OG9tZkQwWEEowNT4ogYyBiOaJJNGOjpFlA46et0qfvfYTzz0191oHra4Wpa5K80tLvWbiq3egozdIXbUTF95Ot0b5mwx6cf8iCmz28lFtP_Lo3X6MBS_B26m3aCj","status_transitions":{"succeeded_at":"2023-05-09T16:27:02.086Z","failed_at":null,"returned_at":null},"livemode":true}],"next_page_url":null,"previous_page_url":null}}}}}},"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_list_received_credits","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"created":{"gte":"2023-05-01T00:00:00Z"}},"gated":true},"response":{"data":[{"id":"rc_61O18kMR4G9BiyFkn16NsjVW2gfQu2lIgkGQVy6ueCx6","object":"v2.money_management.received_credit","financial_account":"fa_65NvHabRWMmVKVjernQ16NsjgsfdSQu2lIgkGQVy6ueDtY","amount":{"value":100,"currency":"usd"},"description":"Weekly transfer 1","type":"bank_transfer","bank_transfer":{"origin_type":"us_bank_account","statement_descriptor":"Fund Stripe account 05/12","us_bank_account":{"last4":"4557","routing_number":"011000022","bank_name":"Goldman Sachs","network":"ach"},"financial_address":"finaddr_61NvHgGH9ksEFkYqj16NsjVW4dSQu2lIgkGQVy6ueWsx"},"status":"succeeded","status_details":null,"created":"2023-05-12T16:27:02.086Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk8wTVlLWjBTUURuM3A5OG9tZkQwWEEowNT4ogYyBvspfuDuEjpFlCZjXpjpVKRcHPK43kfFldwrwOO8ZPmRHjQmXL1jPf1GWWgoFxtL61dBWz-W2mEzwRgIgC0wPJi7M3HCUIOkSlwyfvHi","status_transitions":{"succeeded_at":"2023-05-12T16:27:02.086Z","failed_at":null,"returned_at":null},"livemode":true},{"id":"rc_61NvJ0vCutkwhd9kv16NsjVW3dSQu2lIasGQVy6sdAEq","object":"v2.money_management.received_credit","financial_account":"fa_65NvHabRWMmVKVjernQ16NsjgsfdSQu2lIgkGQVy6ueDtY","amount":{"value":100000000,"currency":"usd"},"description":"Weekly transfer 2","type":"bank_transfer","bank_transfer":{"origin_type":"us_bank_account","statement_descriptor":"Fund Stripe account 05/09","us_bank_account":{"last4":"4557","routing_number":"011000022","bank_name":"Goldman Sachs","network":"ach"},"financial_address":"finaddr_61NvHgGH9ksEFkYqj16NsjVW4dSQu2lIgkGQVy6ueWsx"},"status":"succeeded","status_details":null,"created":"2023-05-09T16:27:02.086Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk8wTVlLWjBTUURuM3A5OG9tZkQwWEEowNT4ogYyBiOaJJNGOjpFlA46et0qfvfYTzz0191oHra4Wpa5K80tLvWbiq3egozdIXbUTF95Ot0b5mwx6cf8iCmz28lFtP_Lo3X6MBS_B26m3aCj","status_transitions":{"succeeded_at":"2023-05-09T16:27:02.086Z","failed_at":null,"returned_at":null},"livemode":true}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/received_credits/{id}":{"get":{"summary":"Retrieve a Received Credit","description":"Retrieve a ReceivedCredit by ID.","operationId":"GetV2MoneyManagementReceivedCreditsId","parameters":[{"name":"id","in":"path","description":"The ID of the ReceivedCredit to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.received_credit"},"examples":{"example":{"value":{"id":"rc_61O18kMR4G9BiyFkn16NsjVW2gfQu2lIgkGQVy6ueCx6","object":"v2.money_management.received_credit","financial_account":"fa_65NvHabRWMmVKVjernQ16NsjgsfdSQu2lIgkGQVy6ueDtY","amount":{"value":100,"currency":"usd"},"description":"Weekly transfer 1","type":"bank_transfer","bank_transfer":{"origin_type":"us_bank_account","statement_descriptor":"Fund Stripe account 05/12","us_bank_account":{"last4":"4557","routing_number":"011000022","bank_name":"Goldman Sachs","network":"ach"},"financial_address":"finaddr_61NvHgGH9ksEFkYqj16NsjVW4dSQu2lIgkGQVy6ueWsx"},"status":"succeeded","status_details":null,"created":"2023-05-12T16:27:02.086Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk8wTVlLWjBTUURuM3A5OG9tZkQwWEEowNT4ogYyBvspfuDuEjpFlCZjXpjpVKRcHPK43kfFldwrwOO8ZPmRHjQmXL1jPf1GWWgoFxtL61dBWz-W2mEzwRgIgC0wPJi7M3HCUIOkSlwyfvHi","status_transitions":{"succeeded_at":"2023-05-12T16:27:02.086Z","failed_at":null,"returned_at":null},"livemode":true}}}}}},"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_received_credit","x-stripeDocsSamples":[{"skip_validation":true,"request":{"pathParams":{"id":"rc_61O18kMR4G9BiyFkn16NsjVW2gfQu2lIgkGQVy6ueCx6"},"requestBody":{}},"response":{"id":"rc_61O18kMR4G9BiyFkn16NsjVW2gfQu2lIgkGQVy6ueCx6","object":"v2.money_management.received_credit","financial_account":"fa_65NvHabRWMmVKVjernQ16NsjgsfdSQu2lIgkGQVy6ueDtY","amount":{"value":100,"currency":"usd"},"description":"Weekly transfer 1","type":"bank_transfer","bank_transfer":{"origin_type":"us_bank_account","statement_descriptor":"Fund Stripe account 05/12","us_bank_account":{"last4":"4557","routing_number":"011000022","bank_name":"Goldman Sachs","network":"ach"},"financial_address":"finaddr_61NvHgGH9ksEFkYqj16NsjVW4dSQu2lIgkGQVy6ueWsx"},"status":"succeeded","status_details":null,"created":"2023-05-12T16:27:02.086Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk8wTVlLWjBTUURuM3A5OG9tZkQwWEEowNT4ogYyBvspfuDuEjpFlCZjXpjpVKRcHPK43kfFldwrwOO8ZPmRHjQmXL1jPf1GWWgoFxtL61dBWz-W2mEzwRgIgC0wPJi7M3HCUIOkSlwyfvHi","status_transitions":{"succeeded_at":"2023-05-12T16:27:02.086Z","failed_at":null,"returned_at":null},"livemode":true}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/received_debits":{"get":{"summary":"List Received Debits","description":"Retrieves a list of ReceivedDebits, given the selected filters.","operationId":"GetV2MoneyManagementReceivedDebits","parameters":[{"name":"limit","in":"query","description":"The page limit.","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":"The retrieved ReceivedDebits.","items":{"$ref":"#/components/schemas/v2.money_management.received_debit"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"rd_test_61PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWDo","object":"v2.money_management.received_debit","amount":{"value":55,"currency":"usd"},"created":"2023-11-06T11:01:26.155Z","description":"ACCTVERIFY","financial_account":"fa_test_65PIoVY8QWjXEgwaibT16PITSVZ3SQ2qpWK2k4kS9loJCK","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNlBJVFNWWjNTUTJxcFdLMms0a1M5bG8o-5CjqgYyBpSiNl2FdDpFlHfRZ5aHTmKqCIlJoG1eu5-2rKOgobcjIGeYgU0QZtZwAanr_6Q_NFssjur4JAGk0YwgBgi9FwzPenc5_eYHxa6q8IaH","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"succeeded_at":"2023-11-06T11:01:26.155Z"},"type":"bank_transfer","livemode":false}],"next_page_url":"0X41451dLDMbApu3Gs3UY6gR7kb7gi6L83Hc4tD5kv7wQ6xK3p56TR7wR3HC5LV5cB5kY3Pv5PG7YO5oR3MB3UR5Xd7Dj5oK7P60DK0sT3bt3oA3bs3Tc3bl3Xh","previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_filters"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_received_debits","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"rd_test_61PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWDo","object":"v2.money_management.received_debit","amount":{"value":55,"currency":"usd"},"created":"2023-11-06T11:01:26.155Z","description":"ACCTVERIFY","financial_account":"fa_test_65PIoVY8QWjXEgwaibT16PITSVZ3SQ2qpWK2k4kS9loJCK","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNlBJVFNWWjNTUTJxcFdLMms0a1M5bG8o-5CjqgYyBpSiNl2FdDpFlHfRZ5aHTmKqCIlJoG1eu5-2rKOgobcjIGeYgU0QZtZwAanr_6Q_NFssjur4JAGk0YwgBgi9FwzPenc5_eYHxa6q8IaH","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"succeeded_at":"2023-11-06T11:01:26.155Z"},"type":"bank_transfer","livemode":false}],"next_page_url":"0X41451dLDMbApu3Gs3UY6gR7kb7gi6L83Hc4tD5kv7wQ6xK3p56TR7wR3HC5LV5cB5kY3Pv5PG7YO5oR3MB3UR5Xd7Dj5oK7P60DK0sT3bt3oA3bs3Tc3bl3Xh","previous_page_url":null}}],"x-stripeErrors":[{"code":"invalid_filters","description":"Error returned when filter parameters in the request are invalid.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/received_debits/{id}":{"get":{"summary":"Retrieve a Received Debit","description":"Retrieves a single ReceivedDebit by ID.","operationId":"GetV2MoneyManagementReceivedDebitsId","parameters":[{"name":"id","in":"path","description":"The ID of the ReceivedDebit to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.received_debit"},"examples":{"example":{"value":{"id":"rd_test_61PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWDo","object":"v2.money_management.received_debit","amount":{"value":55,"currency":"usd"},"created":"2023-11-06T11:01:26.155Z","description":"ACCTVERIFY","financial_account":"fa_test_65PIoVY8QWjXEgwaibT16PITSVZ3SQ2qpWK2k4kS9loJCK","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNlBJVFNWWjNTUTJxcFdLMms0a1M5bG8osJGjqgYyBlCBssNJPDpFlMRJIX8eJhbfPGVgqFw4oOmpp3COHbLKGzjRWAayQfKXUHSmoeS_VZTkCI9thg4KQHQUKGXSq5XRO06x44xrmFQCcRT6","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"succeeded_at":"2023-11-06T11:01:26.155Z"},"type":"bank_transfer","livemode":false}}}}}},"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_received_debit","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"rd_test_61PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWDo"},"requestBody":{}},"response":{"id":"rd_test_61PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWDo","object":"v2.money_management.received_debit","amount":{"value":55,"currency":"usd"},"created":"2023-11-06T11:01:26.155Z","description":"ACCTVERIFY","financial_account":"fa_test_65PIoVY8QWjXEgwaibT16PITSVZ3SQ2qpWK2k4kS9loJCK","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNlBJVFNWWjNTUTJxcFdLMms0a1M5bG8osJGjqgYyBlCBssNJPDpFlMRJIX8eJhbfPGVgqFw4oOmpp3COHbLKGzjRWAayQfKXUHSmoeS_VZTkCI9thg4KQHQUKGXSq5XRO06x44xrmFQCcRT6","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"succeeded_at":"2023-11-06T11:01:26.155Z"},"type":"bank_transfer","livemode":false}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/test_helpers/financial_addresses/{id}/credit":{"post":{"summary":"Credit a Financial Address","description":"Simulate crediting a FinancialAddress in a Sandbox environment. This can be used to add virtual funds and increase your balance for testing.","operationId":"PostV2MoneyManagementTestHelpersFinancialAddressesIdCredit","parameters":[{"name":"id","in":"path","description":"The ID of the FinancialAddress to credit.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["amount","network"],"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":"Object containing the amount value and currency to credit."},"network":{"type":"string","description":"Open Enum. The network to use in simulating the funds flow. This will be the reflected in the resulting ReceivedCredit.","enum":["ach","chaps","fps","rtp","wire"],"x-stripeEnum":{"kind":"open","values":[{"description":"US - The Automated Clearing House (ACH) money movement.","value":"ach"},{"description":"UK - Clearing House Automated Payment System (CHAPS) money movement.","value":"chaps"},{"description":"UK - Faster Payments System (FPS) money movement.","value":"fps"},{"description":"US - Real-Time Payments (RTP) money movement.","value":"rtp"},{"description":"A wire transfer money movement.","value":"wire"}]}},"statement_descriptor":{"type":"string","description":"String explaining funds flow. Use this field to populate the statement descriptor of the ReceivedCredit created as an eventual result of this simulation."}}},"examples":{"example":{"value":{"pathParams":{"id":"finaddr_test_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls"},"requestBody":{"amount":{"value":2500,"currency":"usd"},"network":"ach"}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.financial_address_credit_simulation"},"examples":{"example":{"value":{"object":"v2.money_management.financial_address_credit_simulation","status":"accepted","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.financial_account_balance_does_not_support_currency"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_not_enabled"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_restricted"},{"$ref":"#/components/schemas/v2.error.financial_address_not_active"},{"$ref":"#/components/schemas/v2.error.financial_addresses_api_only_in_sandbox"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.storer_capability_missing"},{"$ref":"#/components/schemas/v2.error.storer_capability_not_active"},{"$ref":"#/components/schemas/v2.error.unsupported_currency"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_credit_financial_address","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"finaddr_test_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls"},"requestBody":{"amount":{"value":2500,"currency":"usd"},"network":"ach"}},"response":{"object":"v2.money_management.financial_address_credit_simulation","status":"accepted","livemode":true}}],"x-stripeErrors":[{"code":"financial_account_balance_does_not_support_currency","httpStatusCode":400},{"code":"financial_account_capability_not_enabled","description":"Error thrown when attempting to add currencies that require capabilities that are not enabled.","httpStatusCode":400},{"code":"financial_account_capability_restricted","description":"Error thrown when attempting to add currencies that require capabilities that are restricted.","httpStatusCode":400},{"code":"financial_address_not_active","httpStatusCode":400},{"code":"financial_addresses_api_only_in_sandbox","httpStatusCode":400},{"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},{"code":"storer_capability_missing","description":"The required storer capabilities are missing.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"storer_capability_not_active","description":"The required storer capabilities are not active.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"unsupported_currency","description":"The currency is not supported for Financial Accounts.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/test_helpers/financial_addresses/{id}/generate_microdeposits":{"post":{"summary":"Generate Microdeposits for a Financial Address","description":"Generates microdeposits for a FinancialAddress in a Sandbox environment.","operationId":"PostV2MoneyManagementTestHelpersFinancialAddressesIdGenerateMicrodeposits","parameters":[{"name":"id","in":"path","description":"The id of the financial address to generate microdeposits for.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.financial_address_generated_microdeposits"},"examples":{"example":{"value":{"object":"v2.money_management.financial_address_generated_microdeposits","amounts":[{"value":24,"currency":"usd"},{"value":46,"currency":"usd"}],"status":"accepted","livemode":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.financial_account_balance_does_not_support_currency"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_not_enabled"},{"$ref":"#/components/schemas/v2.error.financial_account_capability_restricted"},{"$ref":"#/components/schemas/v2.error.financial_address_not_active"},{"$ref":"#/components/schemas/v2.error.financial_addresses_api_only_in_sandbox"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.storer_capability_missing"},{"$ref":"#/components/schemas/v2.error.storer_capability_not_active"},{"$ref":"#/components/schemas/v2.error.unsupported_currency"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_generate_microdeposits_financial_address","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"finaddr_test_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls"},"requestBody":{}},"response":{"object":"v2.money_management.financial_address_generated_microdeposits","amounts":[{"value":24,"currency":"usd"},{"value":46,"currency":"usd"}],"status":"accepted","livemode":true}}],"x-stripeErrors":[{"code":"financial_account_balance_does_not_support_currency","httpStatusCode":400},{"code":"financial_account_capability_not_enabled","description":"Error thrown when attempting to add currencies that require capabilities that are not enabled.","httpStatusCode":400},{"code":"financial_account_capability_restricted","description":"Error thrown when attempting to add currencies that require capabilities that are restricted.","httpStatusCode":400},{"code":"financial_address_not_active","httpStatusCode":400},{"code":"financial_addresses_api_only_in_sandbox","httpStatusCode":400},{"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},{"code":"storer_capability_missing","description":"The required storer capabilities are missing.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"storer_capability_not_active","description":"The required storer capabilities are not active.","httpStatusCode":400,"type":"feature_not_enabled"},{"code":"unsupported_currency","description":"The currency is not supported for Financial Accounts.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/money_management/transaction_entries":{"get":{"summary":"List Transaction Entries","description":"Returns a list of TransactionEntries that match the provided filters.","operationId":"GetV2MoneyManagementTransactionEntries","parameters":[{"name":"created","in":"query","description":"Set of filters to query TransactionEntries within a range of `created` timestamps.","required":false,"style":"deepObject","schema":{"type":"object","properties":{"gt":{"type":"string","description":"Filter for Transactions created after the specified timestamp.","format":"date-time"},"gte":{"type":"string","description":"Filter for Transactions created at or after the specified timestamp.","format":"date-time"},"lt":{"type":"string","description":"Filter for Transactions created before the specified timestamp.","format":"date-time"},"lte":{"type":"string","description":"Filter for Transactions created at or before the specified timestamp.","format":"date-time"}}}},{"name":"limit","in":"query","description":"The page limit.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"transaction","in":"query","description":"Filter for TransactionEntries belonging to a Transaction.","required":false,"style":"form","schema":{"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 TransactionEntry objects.","items":{"$ref":"#/components/schemas/v2.money_management.transaction_entry"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"trxne_65O8p4G0x1Sbs2xoeZy16NoTesLDSQ1IgNPigisRKq0NhQ","object":"v2.money_management.transaction_entry","balance_impact":{"available":{"value":-1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":1000,"currency":"usd"}},"created":"2023-04-21T21:03:16.775Z","effective_at":"2023-04-21T21:03:14.418Z","livemode":true,"transaction":"trxne_65O8p4G0x1Sbs2xoeZy16NoTesLDSQ1IgNPigisRKq0NhQ","transaction_details":{"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","category":"outbound_transfer","flow":{"outbound_transfer":"obt_65O8p4ExNCNlP9gLp4c16NoTesLDSQ1IgNPigisRKq0Nou","type":"outbound_transfer"}}},{"id":"trxne_65O8oG8wjR3SwkR7NrZ16NoTesLDSQ1IgNPigisRKq020u","object":"v2.money_management.transaction_entry","balance_impact":{"available":{"value":0,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":-1000,"currency":"usd"}},"created":"2023-04-21T21:11:28.257Z","effective_at":"2023-04-21T21:11:26.032Z","livemode":true,"transaction":"trxn_65O8oG0K8YH83tRWorZ16NoTesLDSQ1IgNPigisRKq0OiG","transaction_details":{"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","category":"outbound_transfer","flow":{"outbound_transfer":"obt_65O8p4ExNCNlP9gLp4c16NoTesLDSQ1IgNPigisRKq0Nou","type":"outbound_transfer"}}}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_filters"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_transaction_entries","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"created":{"gte":"2023-01-01T00:00:00Z"}}},"response":{"data":[{"id":"trxne_65O8p4G0x1Sbs2xoeZy16NoTesLDSQ1IgNPigisRKq0NhQ","object":"v2.money_management.transaction_entry","balance_impact":{"available":{"value":-1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":1000,"currency":"usd"}},"created":"2023-04-21T21:03:16.775Z","effective_at":"2023-04-21T21:03:14.418Z","livemode":true,"transaction":"trxne_65O8p4G0x1Sbs2xoeZy16NoTesLDSQ1IgNPigisRKq0NhQ","transaction_details":{"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","category":"outbound_transfer","flow":{"outbound_transfer":"obt_65O8p4ExNCNlP9gLp4c16NoTesLDSQ1IgNPigisRKq0Nou","type":"outbound_transfer"}}},{"id":"trxne_65O8oG8wjR3SwkR7NrZ16NoTesLDSQ1IgNPigisRKq020u","object":"v2.money_management.transaction_entry","balance_impact":{"available":{"value":0,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":-1000,"currency":"usd"}},"created":"2023-04-21T21:11:28.257Z","effective_at":"2023-04-21T21:11:26.032Z","livemode":true,"transaction":"trxn_65O8oG0K8YH83tRWorZ16NoTesLDSQ1IgNPigisRKq0OiG","transaction_details":{"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","category":"outbound_transfer","flow":{"outbound_transfer":"obt_65O8p4ExNCNlP9gLp4c16NoTesLDSQ1IgNPigisRKq0Nou","type":"outbound_transfer"}}}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"invalid_filters","description":"Error returned when filter parameters in the request are invalid.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/transaction_entries/{id}":{"get":{"summary":"Retrieve a Transaction Entry","description":"Retrieves the details of a TransactionEntry by ID.","operationId":"GetV2MoneyManagementTransactionEntriesId","parameters":[{"name":"id","in":"path","description":"The ID of the TransactionEntry to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.transaction_entry"},"examples":{"example":{"value":{"id":"trxne_65O8p4MRdLlbQQi89Zy16NoTesLDSQ1IgNPigisRKq0N8y","object":"v2.money_management.transaction_entry","balance_impact":{"available":{"value":0,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":-100,"currency":"usd"}},"created":"2023-04-21T21:03:22.244Z","effective_at":"2023-04-21T21:03:19.873Z","livemode":true,"transaction":"trxn_65O8p4Ez7cWUhTaRLZy16NoTesLDSQ1IgNPigisRKq0Ino","transaction_details":{"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","category":"outbound_transfer","flow":{"outbound_transfer":"obt_5O8p4ExNCNlP9gLp4c16NoTesLDSQ1IgNPigisRKq0Nou","type":"outbound_transfer"}}}}}}}},"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_transaction_entry","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"trxne_65O8p4MRdLlbQQi89Zy16NoTesLDSQ1IgNPigisRKq0N8y"},"requestBody":{}},"response":{"id":"trxne_65O8p4MRdLlbQQi89Zy16NoTesLDSQ1IgNPigisRKq0N8y","object":"v2.money_management.transaction_entry","balance_impact":{"available":{"value":0,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":-100,"currency":"usd"}},"created":"2023-04-21T21:03:22.244Z","effective_at":"2023-04-21T21:03:19.873Z","livemode":true,"transaction":"trxn_65O8p4Ez7cWUhTaRLZy16NoTesLDSQ1IgNPigisRKq0Ino","transaction_details":{"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","category":"outbound_transfer","flow":{"outbound_transfer":"obt_5O8p4ExNCNlP9gLp4c16NoTesLDSQ1IgNPigisRKq0Nou","type":"outbound_transfer"}}}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/transactions":{"get":{"summary":"List Transactions","description":"Returns a list of Transactions that match the provided filters.","operationId":"GetV2MoneyManagementTransactions","parameters":[{"name":"created","in":"query","description":"Set of filters to query Transactions within a range of `created` timestamps.","required":false,"style":"deepObject","schema":{"type":"object","properties":{"gt":{"type":"string","description":"Filter for Transactions created after the specified timestamp.","format":"date-time"},"gte":{"type":"string","description":"Filter for Transactions created at or after the specified timestamp.","format":"date-time"},"lt":{"type":"string","description":"Filter for Transactions created before the specified timestamp.","format":"date-time"},"lte":{"type":"string","description":"Filter for Transactions created at or before the specified timestamp.","format":"date-time"}}}},{"name":"financial_account","in":"query","description":"Filter for Transactions belonging to a FinancialAccount.","required":false,"style":"form","schema":{"type":"string"}},{"name":"flow","in":"query","description":"Filter for Transactions corresponding to a Flow.","required":false,"style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","description":"The page limit.","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 Transaction objects.","items":{"$ref":"#/components/schemas/v2.money_management.transaction"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"trxn_65NygiBHKcUPGUI8A5Q16NoTesLDSQ1IgNPigisRKq0GAq","object":"v2.money_management.transaction","amount":{"value":-1000,"currency":"usd"},"balance_impact":{"available":{"value":-1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":0,"currency":"usd"}},"category":"outbound_transfer","created":"2023-03-24T22:06:37.343Z","financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","flow":{"outbound_transfer":"obt_65NygiAXfaPmQ5ev3oz16NoTesLDSQ1IgNPigisRKq07Fg","type":"outbound_transfer"},"livemode":true,"status":"posted","status_transitions":{"posted_at":"2023-03-24T22:06:35.409Z","void_at":null}},{"id":"trxn_65NygdWJ4oXvPH8YeYq16NoTesLDSQ1IgNPigisRKq0Flo","object":"v2.money_management.transaction","amount":{"value":1000,"currency":"usd"},"balance_impact":{"available":{"value":1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":0,"currency":"usd"}},"category":"received_credit","created":"2023-03-24T22:01:48.394Z","financial_account":"fa_65NygYWKxfJHZ49zLiX16NoTesLDSQ1IgNPigisRKq0Vqy","flow":{"received_credit":"rc_61NygdVsGgIDm9k6816NoTesLDSQ1IgNPigisRKq06Cu","type":"received_credit"},"livemode":true,"status":"posted","status_transitions":{"posted_at":"2023-03-24T22:01:46.107Z","void_at":null}}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_filters"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_transactions","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"created":{"gte":"2023-01-01T00:00:00Z"}}},"response":{"data":[{"id":"trxn_65NygiBHKcUPGUI8A5Q16NoTesLDSQ1IgNPigisRKq0GAq","object":"v2.money_management.transaction","amount":{"value":-1000,"currency":"usd"},"balance_impact":{"available":{"value":-1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":0,"currency":"usd"}},"category":"outbound_transfer","created":"2023-03-24T22:06:37.343Z","financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","flow":{"outbound_transfer":"obt_65NygiAXfaPmQ5ev3oz16NoTesLDSQ1IgNPigisRKq07Fg","type":"outbound_transfer"},"livemode":true,"status":"posted","status_transitions":{"posted_at":"2023-03-24T22:06:35.409Z","void_at":null}},{"id":"trxn_65NygdWJ4oXvPH8YeYq16NoTesLDSQ1IgNPigisRKq0Flo","object":"v2.money_management.transaction","amount":{"value":1000,"currency":"usd"},"balance_impact":{"available":{"value":1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":0,"currency":"usd"}},"category":"received_credit","created":"2023-03-24T22:01:48.394Z","financial_account":"fa_65NygYWKxfJHZ49zLiX16NoTesLDSQ1IgNPigisRKq0Vqy","flow":{"received_credit":"rc_61NygdVsGgIDm9k6816NoTesLDSQ1IgNPigisRKq06Cu","type":"received_credit"},"livemode":true,"status":"posted","status_transitions":{"posted_at":"2023-03-24T22:01:46.107Z","void_at":null}}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"invalid_filters","description":"Error returned when filter parameters in the request are invalid.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/money_management/transactions/{id}":{"get":{"summary":"Retrieve a Transaction","description":"Retrieves the details of a Transaction by ID.","operationId":"GetV2MoneyManagementTransactionsId","parameters":[{"name":"id","in":"path","description":"The ID of the Transaction to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.money_management.transaction"},"examples":{"example":{"value":{"id":"trxn_65NygiBHKcUPGUI8A5Q16NoTesLDSQ1IgNPigisRKq0GAq","object":"v2.money_management.transaction","amount":{"value":-1000,"currency":"usd"},"balance_impact":{"available":{"value":-1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":0,"currency":"usd"}},"category":"outbound_transfer","created":"2023-03-24T22:06:37.343Z","livemode":true,"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","flow":{"outbound_transfer":"obt_65NygiAXfaPmQ5ev3oz16NoTesLDSQ1IgNPigisRKq07Fg","type":"outbound_transfer"},"status":"posted","status_transitions":{"posted_at":"2023-03-24T22:06:35.409Z","void_at":null}}}}}}},"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_transaction","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"trxn_65NygiBHKcUPGUI8A5Q16NoTesLDSQ1IgNPigisRKq0GAq"},"requestBody":{}},"response":{"id":"trxn_65NygiBHKcUPGUI8A5Q16NoTesLDSQ1IgNPigisRKq0GAq","object":"v2.money_management.transaction","amount":{"value":-1000,"currency":"usd"},"balance_impact":{"available":{"value":-1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":0,"currency":"usd"}},"category":"outbound_transfer","created":"2023-03-24T22:06:37.343Z","livemode":true,"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","flow":{"outbound_transfer":"obt_65NygiAXfaPmQ5ev3oz16NoTesLDSQ1IgNPigisRKq07Fg","type":"outbound_transfer"},"status":"posted","status_transitions":{"posted_at":"2023-03-24T22:06:35.409Z","void_at":null}}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/network/business_profiles/me":{"get":{"summary":"Retrieve my Business Profile","description":"Retrieve the Stripe business profile associated with the requesting merchant and livemode.","operationId":"GetV2NetworkBusinessProfilesMe","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.network.business_profile"},"examples":{"example":{"value":{"id":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk","object":"v2.network.business_profile","username":"furever","display_name":"Furever","description":"Premium pet supplies and grooming products.","url":"https://furever.com","branding":{"primary_color":"#635BFF","secondary_color":"#0A2540"}}}}}}},"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_network_business_profile_me","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"id":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk","object":"v2.network.business_profile","username":"furever","display_name":"Furever","description":"Premium pet supplies and grooming products.","url":"https://furever.com","branding":{"primary_color":"#635BFF","secondary_color":"#0A2540"}}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/network/business_profiles/{id}":{"get":{"summary":"Retrieve a Business Profile","description":"Retrieve a Stripe business profile by its Network ID.","operationId":"GetV2NetworkBusinessProfilesId","parameters":[{"name":"id","in":"path","description":"The Network ID of the Stripe business profile to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.network.business_profile"},"examples":{"example":{"value":{"id":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk","object":"v2.network.business_profile","username":"furever","display_name":"Furever","description":"Premium pet supplies and grooming products.","url":"https://furever.com","branding":{"primary_color":"#635BFF","secondary_color":"#0A2540"}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.network_business_profile_livemode_mismatch"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_business_profile","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"requestBody":{}},"response":{"id":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk","object":"v2.network.business_profile","username":"furever","display_name":"Furever","description":"Premium pet supplies and grooming products.","url":"https://furever.com","branding":{"primary_color":"#635BFF","secondary_color":"#0A2540"}}}],"x-stripeErrors":[{"code":"network_business_profile_livemode_mismatch","description":"The livemode of the request must match the livemode of the provided Network ID(s).","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/orchestrated_commerce/agreements":{"get":{"summary":"List Agreements","description":"List Agreements for the profile associated with the authenticated merchant.","operationId":"GetV2OrchestratedCommerceAgreements","parameters":[{"name":"limit","in":"query","description":"The limit for the number of results per page.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"network_business_profile","in":"query","description":"Filter list to Orchestrated Commerce Agreements with a specific counterparty.","required":false,"style":"form","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.network.business_profile"}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"An array containing the actual response elements, paginated by any request parameters.","items":{"$ref":"#/components/schemas/v2.orchestrated_commerce.agreement"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"confirmed","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":"2026-04-06T10:05:00Z","terminated_at":null},"terminated_by":null}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.network_business_profile_required"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_orchestrated_commerce_agreements","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"data":[{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"confirmed","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":"2026-04-06T10:05:00Z","terminated_at":null},"terminated_by":null}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"network_business_profile_required","description":"The authenticated party making the request does not have a Stripe business profile.","httpStatusCode":400}],"x-stripeNotPublic":true},"post":{"summary":"Create an Agreement","description":"Create a new Agreement.","operationId":"PostV2OrchestratedCommerceAgreements","requestBody":{"content":{"application/json":{"schema":{"required":["orchestrator"],"type":"object","properties":{"orchestrator":{"type":"string","description":"The Network ID of the orchestrator to create an agreement with."}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"orchestrator":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.orchestrated_commerce.agreement"},"examples":{"example":{"value":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"initiated","status_transitions":{"seller_confirmed_at":null,"orchestrator_confirmed_at":null,"terminated_at":null}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.agreement_already_exists"},{"$ref":"#/components/schemas/v2.error.connected_account_configuration_not_found"},{"$ref":"#/components/schemas/v2.error.connected_account_configuration_orchestrator_not_enabled"},{"$ref":"#/components/schemas/v2.error.network_business_profile_livemode_mismatch"},{"$ref":"#/components/schemas/v2.error.network_business_profile_not_found"},{"$ref":"#/components/schemas/v2.error.network_business_profile_required"},{"$ref":"#/components/schemas/v2.error.previous_agreement_terminated_by_counterparty"},{"$ref":"#/components/schemas/v2.error.same_network_business_profile"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_orchestrated_commerce_agreement","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"orchestrator":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"}},"response":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"initiated","status_transitions":{"seller_confirmed_at":null,"orchestrator_confirmed_at":null,"terminated_at":null}}}],"x-stripeErrors":[{"code":"agreement_already_exists","description":"When trying to create an agreement, the request will fail if an active agreement already exists between the parties.","httpStatusCode":400},{"code":"connected_account_configuration_not_found","description":"When a connected account tries to create an OCA but the platform has not configured\nAgenticCommerceConfig for it.","httpStatusCode":400},{"code":"connected_account_configuration_orchestrator_not_enabled","description":"When a connected account tries to create an OCA with an orchestrator that the platform has not\nenabled in AgenticCommerceConfig.","httpStatusCode":400},{"code":"network_business_profile_livemode_mismatch","description":"The livemode of the request must match the livemode of the provided Network ID(s).","httpStatusCode":400},{"code":"network_business_profile_not_found","description":"A Stripe business profile with the provided Network ID cannot be found.","httpStatusCode":400},{"code":"network_business_profile_required","description":"The authenticated party making the request does not have a Stripe business profile.","httpStatusCode":400},{"code":"previous_agreement_terminated_by_counterparty","description":"In order to prevent spam, if one party terminates an agreement, that same party must create the next agreement.","httpStatusCode":400},{"code":"same_network_business_profile","description":"Callers must provide different Network IDs for the seller and orchestrator, because every agreement needs two parties.","httpStatusCode":400}],"x-stripeNotPublic":true}},"/v2/orchestrated_commerce/agreements/{id}":{"get":{"summary":"Retrieve an Agreement","description":"Retrieve an Agreement by ID.","operationId":"GetV2OrchestratedCommerceAgreementsId","parameters":[{"name":"id","in":"path","description":"The ID of the OrchestratedCommerceAgreement to retrieve.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.orchestrated_commerce.agreement"}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.orchestrated_commerce.agreement"},"examples":{"example":{"value":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"confirmed","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":"2026-04-06T10:05:00Z","terminated_at":null},"terminated_by":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.network_business_profile_required"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_orchestrated_commerce_agreement","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"requestBody":{}},"response":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"confirmed","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":"2026-04-06T10:05:00Z","terminated_at":null},"terminated_by":null}}],"x-stripeErrors":[{"code":"network_business_profile_required","description":"The authenticated party making the request does not have a Stripe business profile.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/orchestrated_commerce/agreements/{id}/confirm":{"post":{"summary":"Confirm an Agreement","description":"Confirm an Agreement.","operationId":"PostV2OrchestratedCommerceAgreementsIdConfirm","parameters":[{"name":"id","in":"path","description":"The ID of the OrchestratedCommerceAgreement to confirm.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.orchestrated_commerce.agreement"}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.orchestrated_commerce.agreement"},"examples":{"example":{"value":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"partially_confirmed","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":null,"terminated_at":null},"terminated_by":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.agreement_already_confirmed"},{"$ref":"#/components/schemas/v2.error.agreement_already_terminated"},{"$ref":"#/components/schemas/v2.error.network_business_profile_required"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_confirm_orchestrated_commerce_agreement","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"requestBody":{}},"response":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"partially_confirmed","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":null,"terminated_at":null},"terminated_by":null}}],"x-stripeErrors":[{"code":"agreement_already_confirmed","description":"When trying to confirm an agreement, the request will fail if it has already been confirmed by the authenticated party.","httpStatusCode":400},{"code":"agreement_already_terminated","description":"When trying to confirm or terminate an agreement, the request will fail if it is already terminated.","httpStatusCode":400},{"code":"network_business_profile_required","description":"The authenticated party making the request does not have a Stripe business profile.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/orchestrated_commerce/agreements/{id}/terminate":{"post":{"summary":"Terminate an Agreement","description":"Terminate an Agreement.","operationId":"PostV2OrchestratedCommerceAgreementsIdTerminate","parameters":[{"name":"id","in":"path","description":"The ID of the OrchestratedCommerceAgreement to terminate.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.orchestrated_commerce.agreement"}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.orchestrated_commerce.agreement"},"examples":{"example":{"value":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"terminated","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":"2026-04-06T10:05:00Z","terminated_at":"2026-04-06T11:00:00Z"},"terminated_by":"seller"}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.agreement_already_terminated"},{"$ref":"#/components/schemas/v2.error.network_business_profile_required"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_terminate_orchestrated_commerce_agreement","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"requestBody":{}},"response":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"terminated","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":"2026-04-06T10:05:00Z","terminated_at":"2026-04-06T11:00:00Z"},"terminated_by":"seller"}}],"x-stripeErrors":[{"code":"agreement_already_terminated","description":"When trying to confirm or terminate an agreement, the request will fail if it is already terminated.","httpStatusCode":400},{"code":"network_business_profile_required","description":"The authenticated party making the request does not have a Stripe business profile.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}],"x-stripeNotPublic":true}},"/v2/signals/account_activities":{"post":{"summary":"Create an Account Activity","description":"Creates a new account activity to report account registration, login, or evaluation follow-up activity.","operationId":"PostV2SignalsAccountActivities","requestBody":{"content":{"application/json":{"schema":{"required":["type"],"type":"object","properties":{"account_details":{"type":"object","properties":{"account":{"type":"string","description":"The v2 account ID of the account."},"customer":{"type":"string","description":"The v1 customer ID of the account, for users not yet migrated to v2/accounts."},"data":{"type":"object","properties":{"defaults":{"required":["profile"],"type":"object","properties":{"profile":{"required":["business_url"],"type":"object","properties":{"business_url":{"type":"string","description":"The business URL."},"doing_business_as":{"type":"string","description":"Doing business as (DBA) name."},"product_description":{"type":"string","description":"Description of the account's product or service."}},"description":"Account profile data."}},"description":"Default account settings."},"identity":{"required":["business_details"],"type":"object","properties":{"business_details":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered business name."}},"description":"Business details for identity data."}},"description":"Identity data."}},"description":"Inline account data to evaluate without creating a v2 account."}},"description":"The account, customer, or inline account data associated with the activity."},"account_evaluation":{"type":"string","description":"The account evaluation this activity is associated with, when applicable.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.signals.account_evaluation"}}},"login_attempt":{"required":["client_details"],"type":"object","properties":{"client_details":{"type":"object","properties":{"data":{"required":["ip"],"type":"object","properties":{"ip":{"type":"string","description":"The IP address associated with the activity."},"referrer":{"type":"string","description":"The referrer associated with the activity."},"user_agent":{"type":"string","description":"The user agent associated with the activity."}},"description":"Raw client details for the activity, when a Radar session is not available."},"radar_session":{"type":"string","description":"The Radar session ID capturing client details for the activity."}},"description":"Client details captured for the attempt."}},"description":"Details for the login attempt. Provide only when type is login_attempt."},"login_decision":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The action the merchant took following the evaluation.","enum":["allowed","blocked","restricted"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The merchant allowed the registration or login.","value":"allowed"},{"description":"The merchant blocked the registration or login.","value":"blocked"},{"description":"The merchant restricted the registration or login.","value":"restricted"}]}}},"description":"Details for the login decision. Provide only when type is login_decision."},"occurred_at":{"type":"string","description":"Timestamp at which the activity occurred. Defaults to the created time if not provided.","format":"date-time"},"registration_attempt":{"required":["client_details"],"type":"object","properties":{"client_details":{"type":"object","properties":{"data":{"required":["ip"],"type":"object","properties":{"ip":{"type":"string","description":"The IP address associated with the activity."},"referrer":{"type":"string","description":"The referrer associated with the activity."},"user_agent":{"type":"string","description":"The user agent associated with the activity."}},"description":"Raw client details for the activity, when a Radar session is not available."},"radar_session":{"type":"string","description":"The Radar session ID capturing client details for the activity."}},"description":"Client details captured for the attempt."}},"description":"Details for the registration attempt. Provide only when type is registration_attempt."},"registration_decision":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The action the merchant took following the evaluation.","enum":["allowed","blocked","restricted"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The merchant allowed the registration or login.","value":"allowed"},{"description":"The merchant blocked the registration or login.","value":"blocked"},{"description":"The merchant restricted the registration or login.","value":"restricted"}]}}},"description":"Details for the registration decision. Provide only when type is registration_decision."},"type":{"type":"string","description":"The type of activity.","enum":["login_attempt","login_decision","registration_attempt","registration_decision"],"x-stripeEnum":{"kind":"open","values":[{"description":"A reported account login attempt.","value":"login_attempt"},{"description":"A reported decision following a login evaluation.","value":"login_decision"},{"description":"A reported account registration attempt.","value":"registration_attempt"},{"description":"A reported decision following a registration evaluation.","value":"registration_decision"}]}}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"type":"registration_decision","account_evaluation":"acctevl_123","registration_decision":{"status":"blocked"}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.signals.account_activity"},"examples":{"example":{"value":{"id":"accact_123","object":"v2.signals.account_activity","created":"2026-06-12T00:00:00.000Z","occurred_at":"2026-06-12T00:00:00.000Z","account_evaluation":"acctevl_123","type":"registration_decision","registration_decision":{"status":"blocked"}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_inaccessible"},{"$ref":"#/components/schemas/v2.error.invalid_account_details"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_signals_account_activity","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"type":"registration_decision","account_evaluation":"acctevl_123","registration_decision":{"status":"blocked"}}},"response":{"id":"accact_123","object":"v2.signals.account_activity","created":"2026-06-12T00:00:00.000Z","occurred_at":"2026-06-12T00:00:00.000Z","account_evaluation":"acctevl_123","type":"registration_decision","registration_decision":{"status":"blocked"}}}],"x-stripeErrors":[{"code":"account_inaccessible","description":"Error returned when the caller does not have access to the requested account.","httpStatusCode":403},{"code":"invalid_account_details","description":"Error returned when account_details does not specify exactly one of account or customer.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/signals/account_activities/{id}":{"get":{"summary":"Retrieve an Account Activity","description":"Retrieves an AccountActivity by its ID.","operationId":"GetV2SignalsAccountActivitiesId","parameters":[{"name":"id","in":"path","description":"The ID of the account activity to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.signals.account_activity"},"examples":{"example":{"value":{"id":"accact_123","object":"v2.signals.account_activity","created":"2026-06-12T00:00:00.000Z","occurred_at":"2026-06-12T00:00:00.000Z","account_evaluation":"acctevl_123","type":"registration_decision","registration_decision":{"status":"blocked"}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_activity_permission_denied"},{"$ref":"#/components/schemas/v2.error.account_inaccessible"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_signals_account_activity","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"accact_123"},"requestBody":{}},"response":{"id":"accact_123","object":"v2.signals.account_activity","created":"2026-06-12T00:00:00.000Z","occurred_at":"2026-06-12T00:00:00.000Z","account_evaluation":"acctevl_123","type":"registration_decision","registration_decision":{"status":"blocked"}}}],"x-stripeErrors":[{"code":"account_activity_permission_denied","description":"Error returned when the caller does not have access to the Account Activity API.","httpStatusCode":403},{"code":"account_inaccessible","description":"Error returned when the caller does not have access to the requested account.","httpStatusCode":403},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]},"delete":{"summary":"Delete an Account Activity","description":"Deletes an AccountActivity by its ID.","operationId":"DeleteV2SignalsAccountActivitiesId","parameters":[{"name":"id","in":"path","description":"The ID of the account activity to delete.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.deleted_object"},"examples":{"example":{"value":{"id":"accact_123","object":"v2.signals.account_activity","deleted":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_inaccessible"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_delete_signals_account_activity","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"accact_123"},"requestBody":{}},"response":{"id":"accact_123","object":"v2.signals.account_activity","deleted":true}}],"x-stripeErrors":[{"code":"account_inaccessible","description":"Error returned when the caller does not have access to the requested account.","httpStatusCode":403},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/signals/account_evaluations":{"post":{"summary":"Create an Account Evaluation","description":"Creates a new account evaluation to request signal evaluations on an account, customer, or inline account data.","operationId":"PostV2SignalsAccountEvaluations","requestBody":{"content":{"application/json":{"schema":{"required":["account_details","requested_signals"],"type":"object","properties":{"account_activity_details":{"type":"object","properties":{"account_activity":{"type":"string","description":"The ID of an existing account activity to associate with the evaluation.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.signals.account_activity"}}},"data":{"required":["type"],"type":"object","properties":{"login_attempt":{"required":["client_details"],"type":"object","properties":{"client_details":{"type":"object","properties":{"data":{"required":["ip"],"type":"object","properties":{"ip":{"type":"string","description":"The IP address associated with the activity."},"referrer":{"type":"string","description":"The referrer associated with the activity."},"user_agent":{"type":"string","description":"The user agent associated with the activity."}},"description":"Raw client details for the activity, when a Radar session is not available."},"radar_session":{"type":"string","description":"The Radar session ID capturing client details for the activity."}},"description":"Client details captured for the attempt."}},"description":"Details for the login attempt. Provide only when type is login_attempt."},"occurred_at":{"type":"string","description":"Timestamp at which the activity occurred. Defaults to the created time if not provided.","format":"date-time"},"registration_attempt":{"required":["client_details"],"type":"object","properties":{"client_details":{"type":"object","properties":{"data":{"required":["ip"],"type":"object","properties":{"ip":{"type":"string","description":"The IP address associated with the activity."},"referrer":{"type":"string","description":"The referrer associated with the activity."},"user_agent":{"type":"string","description":"The user agent associated with the activity."}},"description":"Raw client details for the activity, when a Radar session is not available."},"radar_session":{"type":"string","description":"The Radar session ID capturing client details for the activity."}},"description":"Client details captured for the attempt."}},"description":"Details for the registration attempt. Provide only when type is registration_attempt."},"type":{"type":"string","description":"The type of activity. Must be registration_attempt or login_attempt.","enum":["login_attempt","login_decision","registration_attempt","registration_decision"],"x-stripeEnum":{"kind":"open","values":[{"description":"A reported account login attempt.","value":"login_attempt"},{"description":"A reported decision following a login evaluation.","value":"login_decision"},{"description":"A reported account registration attempt.","value":"registration_attempt"},{"description":"A reported decision following a registration evaluation.","value":"registration_decision"}]}}},"description":"Inline activity data used to create a new account activity for the evaluation."}},"description":"Account activity to record alongside this evaluation."},"account_details":{"type":"object","properties":{"account":{"type":"string","description":"The v2 account ID of the account."},"customer":{"type":"string","description":"The v1 customer ID of the account, for users not yet migrated to v2/accounts."},"data":{"type":"object","properties":{"defaults":{"required":["profile"],"type":"object","properties":{"profile":{"required":["business_url"],"type":"object","properties":{"business_url":{"type":"string","description":"The business URL."},"doing_business_as":{"type":"string","description":"Doing business as (DBA) name."},"product_description":{"type":"string","description":"Description of the account's product or service."}},"description":"Account profile data."}},"description":"Default account settings."},"identity":{"required":["business_details"],"type":"object","properties":{"business_details":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered business name."}},"description":"Business details for identity data."}},"description":"Identity data."}},"description":"Inline account data to evaluate without creating a v2 account."}},"description":"The account, customer, or inline account data to evaluate."},"requested_signals":{"type":"array","description":"List of signals to evaluate.","items":{"type":"string","enum":["fraudulent_website","user_account_sharing","user_multi_accounting"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fraudulent website signal evaluating website risk.","value":"fraudulent_website"},{"description":"User account-sharing signal.","value":"user_account_sharing"},{"description":"User multi-accounting signal.","value":"user_multi_accounting"}]}}}}},"examples":{"example":{"value":{"pathParams":{},"requestBody":{"account_details":{"account":"acct_123"},"requested_signals":["user_multi_accounting"]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.signals.account_evaluation"},"examples":{"example":{"value":{"id":"acctevl_123","object":"v2.signals.account_evaluation","created":"2026-06-12T00:00:00.000Z","account_details":{"account":"acct_123"},"requested_signals":["user_multi_accounting"],"pending_signals":["user_multi_accounting"]}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_inaccessible"},{"$ref":"#/components/schemas/v2.error.fraudulent_website_quota_exceeded"},{"$ref":"#/components/schemas/v2.error.invalid_account_details"},{"$ref":"#/components/schemas/v2.error.missing_data_for_evaluation"},{"$ref":"#/components/schemas/v2.error.signal_type_access_denied"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_signals_account_evaluation","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"account_details":{"account":"acct_123"},"requested_signals":["user_multi_accounting"]}},"response":{"id":"acctevl_123","object":"v2.signals.account_evaluation","created":"2026-06-12T00:00:00.000Z","account_details":{"account":"acct_123"},"requested_signals":["user_multi_accounting"],"pending_signals":["user_multi_accounting"]}}],"x-stripeErrors":[{"code":"account_inaccessible","description":"Error returned when the caller does not have access to the requested account.","httpStatusCode":403},{"code":"fraudulent_website_quota_exceeded","description":"Error returned when the caller has exhausted its monthly quota for the fraudulent_website signal.","httpStatusCode":429},{"code":"invalid_account_details","description":"Error returned when account_details does not specify exactly one of account or customer.","httpStatusCode":400},{"code":"missing_data_for_evaluation","description":"Error returned when required data for evaluation is missing.","httpStatusCode":400},{"code":"signal_type_access_denied","description":"Error returned when the caller does not have access to the requested signal type,\ne.g. the user is not onboarded to a product that provides this signal.","httpStatusCode":403}]}},"/v2/signals/account_evaluations/{id}":{"get":{"summary":"Retrieve an Account Evaluation","description":"Retrieves an AccountEvaluation by its ID for up to 90 days after creation. Evaluations more than 90 days old are inaccessible.","operationId":"GetV2SignalsAccountEvaluationsId","parameters":[{"name":"id","in":"path","description":"The ID of the account evaluation to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.signals.account_evaluation"},"examples":{"example":{"value":{"id":"acctevl_123","object":"v2.signals.account_evaluation","created":"2026-06-12T00:00:00.000Z","account_details":{"account":"acct_123"},"requested_signals":["user_multi_accounting"],"pending_signals":[],"evaluated_signals":{"user_multi_accounting":{"signal":"acctsig_123","evaluated_at":"2026-06-12T00:01:00.000Z","risk_level":"elevated","score":"80.0"}}}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_evaluation_inaccessible"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_signals_account_evaluation","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"acctevl_123"},"requestBody":{}},"response":{"id":"acctevl_123","object":"v2.signals.account_evaluation","created":"2026-06-12T00:00:00.000Z","account_details":{"account":"acct_123"},"requested_signals":["user_multi_accounting"],"pending_signals":[],"evaluated_signals":{"user_multi_accounting":{"signal":"acctsig_123","evaluated_at":"2026-06-12T00:01:00.000Z","risk_level":"elevated","score":"80.0"}}}}],"x-stripeErrors":[{"code":"account_evaluation_inaccessible","description":"Error returned when the requested account evaluation is missing or inaccessible.","httpStatusCode":403}]}},"/v2/signals/account_signals":{"get":{"summary":"List Account Signals","description":"Lists AccountSignals for a given account or customer. Signals more than 90 days old are omitted. Returns only the latest AccountSignal for each requested signal type.","operationId":"GetV2SignalsAccountSignals","parameters":[{"name":"account_details","in":"query","description":"The account or customer to list signals for. Exactly one of account_details.account or\naccount_details.customer must be provided.","required":false,"style":"deepObject","schema":{"type":"object","properties":{"account":{"type":"string","description":"The v2 account ID of the account."},"customer":{"type":"string","description":"The v1 customer ID of the account, for users not yet migrated to v2/accounts."}}}},{"name":"limit","in":"query","description":"Maximum number of results to return per page. Defaults to 20.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"type","in":"query","description":"Signal types to filter by.","required":true,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["fraudulent_merchant","fraudulent_website","user_account_sharing","user_multi_accounting"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fraudulent merchant signal.","value":"fraudulent_merchant"},{"description":"Fraudulent website signal.","value":"fraudulent_website"},{"description":"User account-sharing signal.","value":"user_account_sharing"},{"description":"User multi-accounting signal.","value":"user_multi_accounting"}]}}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"The list of account signals matching the request.","items":{"$ref":"#/components/schemas/v2.signals.account_signal"}},"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}}},"examples":{"example":{"value":{"data":[{"id":"acctsig_1234567890","object":"v2.signals.account_signal","created":"2025-01-01T00:00:00.000Z","type":"fraudulent_merchant","account_details":{"account":"acct_1234567890"},"fraudulent_merchant":{"risk_level":"elevated","probability":"53.75","indicators":[{"indicator":"owner_email","impact":"slight_increase","explanation":"This account shares a matching owner email with at least 1 suspicious account found in the Stripe network."},{"indicator":"geolocation","impact":"slight_increase","explanation":"There are mismatches between the merchant country (CA), bank country (CA), and login country (MA), as well as between bank country and login country."},{"indicator":"bank_account","impact":"slight_increase","explanation":"This account shares a matching bank account with at least 1 suspicious account found in the Stripe network."}]},"livemode":false},{"id":"acctsig_0987654321","object":"v2.signals.account_signal","created":"2025-01-01T00:00:00.000Z","type":"merchant_delinquency","account_details":{"account":"acct_1234567890"},"merchant_delinquency":{"risk_level":"normal","probability":"11.32","indicators":[{"indicator":"lifetime_metrics","impact":"decrease","explanation":"Lifetime dispute rate of 0.43%."},{"indicator":"tenure","impact":"decrease","explanation":"Account age: 708 day(s) since account activation."},{"indicator":"payouts","impact":"decrease","explanation":"Variance in payout amount: Payout amount of $2,112.35 in the last 7 days relative to $8,499.09 in the last 30 days."}]},"livemode":false}],"next_page_url":null,"previous_page_url":null}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_inaccessible"},{"$ref":"#/components/schemas/v2.error.invalid_account_details"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.signal_type_access_denied"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_account_signals","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"account_details":{"account":"acct_1234567890"},"type":["fraudulent_merchant","merchant_delinquency"]}},"response":{"data":[{"id":"acctsig_1234567890","object":"v2.signals.account_signal","created":"2025-01-01T00:00:00.000Z","type":"fraudulent_merchant","account_details":{"account":"acct_1234567890"},"fraudulent_merchant":{"risk_level":"elevated","probability":"53.75","indicators":[{"indicator":"owner_email","impact":"slight_increase","explanation":"This account shares a matching owner email with at least 1 suspicious account found in the Stripe network."},{"indicator":"geolocation","impact":"slight_increase","explanation":"There are mismatches between the merchant country (CA), bank country (CA), and login country (MA), as well as between bank country and login country."},{"indicator":"bank_account","impact":"slight_increase","explanation":"This account shares a matching bank account with at least 1 suspicious account found in the Stripe network."}]},"livemode":false},{"id":"acctsig_0987654321","object":"v2.signals.account_signal","created":"2025-01-01T00:00:00.000Z","type":"merchant_delinquency","account_details":{"account":"acct_1234567890"},"merchant_delinquency":{"risk_level":"normal","probability":"11.32","indicators":[{"indicator":"lifetime_metrics","impact":"decrease","explanation":"Lifetime dispute rate of 0.43%."},{"indicator":"tenure","impact":"decrease","explanation":"Account age: 708 day(s) since account activation."},{"indicator":"payouts","impact":"decrease","explanation":"Variance in payout amount: Payout amount of $2,112.35 in the last 7 days relative to $8,499.09 in the last 30 days."}]},"livemode":false}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[{"code":"account_inaccessible","description":"Error returned when the caller does not have access to the requested account.","httpStatusCode":403},{"code":"invalid_account_details","description":"Error returned when account_details does not specify exactly one of account or customer.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"signal_type_access_denied","description":"Error returned when the caller does not have access to the requested signal type,\ne.g. the user is not onboarded to a product that provides this signal.","httpStatusCode":403}]}},"/v2/signals/account_signals/{id}":{"get":{"summary":"Retrieve an Account Signal","description":"Retrieves an AccountSignal by its ID for up to 90 days after creation. Signals more than 90 days old are inaccessible.","operationId":"GetV2SignalsAccountSignalsId","parameters":[{"name":"id","in":"path","description":"The ID of the account signal to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.signals.account_signal"},"examples":{"example":{"value":{"id":"acctsig_1234567890","object":"v2.signals.account_signal","created":"2025-01-01T00:00:00.000Z","type":"fraudulent_merchant","account_details":{"account":"acct_1234567890"},"fraudulent_merchant":{"risk_level":"elevated","probability":"53.75","indicators":[{"indicator":"owner_email","impact":"slight_increase","explanation":"This account shares a matching owner email with at least 1 suspicious account found in the Stripe network."},{"indicator":"geolocation","impact":"slight_increase","explanation":"There are mismatches between the merchant country (CA), bank country (CA), and login country (MA), as well as between bank country and login country."},{"indicator":"bank_account","impact":"slight_increase","explanation":"This account shares a matching bank account with at least 1 suspicious account found in the Stripe network."}]},"livemode":false}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.signal_inaccessible"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_account_signal","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"acctsig_1234567890"},"requestBody":{}},"response":{"id":"acctsig_1234567890","object":"v2.signals.account_signal","created":"2025-01-01T00:00:00.000Z","type":"fraudulent_merchant","account_details":{"account":"acct_1234567890"},"fraudulent_merchant":{"risk_level":"elevated","probability":"53.75","indicators":[{"indicator":"owner_email","impact":"slight_increase","explanation":"This account shares a matching owner email with at least 1 suspicious account found in the Stripe network."},{"indicator":"geolocation","impact":"slight_increase","explanation":"There are mismatches between the merchant country (CA), bank country (CA), and login country (MA), as well as between bank country and login country."},{"indicator":"bank_account","impact":"slight_increase","explanation":"This account shares a matching bank account with at least 1 suspicious account found in the Stripe network."}]},"livemode":false}}],"x-stripeErrors":[{"code":"signal_inaccessible","description":"Error returned when the caller does not have access to the requested signal.","httpStatusCode":403}]}}},"components":{"schemas":{"abstract_card_api_resource_redaction":{"title":"AbstractCardAPIResourceRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"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"},"risk_controls":{"$ref":"#/components/schemas/connect_risk_account_risk_controls"},"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","risk_controls","settings","tos_acceptance"],"x-resourceId":"account","x-stableId":"connect_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"},{"method_name":"unreject","method_on":"service","method_type":"custom","operation":"post","path":"/v1/accounts/{account}/unreject"}],"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_bank_bca_onboarding_settings":{"title":"AccountBankBcaOnboardingSettings","type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"Bank BCA business account holder name."},"business_account_number":{"maxLength":5000,"type":"string","description":"Bank BCA business account number."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_holder_name","business_account_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","specified_commercial_transactions_act_url","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},"specified_commercial_transactions_act_url":{"maxLength":5000,"type":"string","description":"A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.","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","specified_commercial_transactions_act_url","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"]},"app_distribution":{"type":"string","description":"The status of the `app_distribution` capability of the account, or whether the platform can distribute apps to other accounts.","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"]},"automatic_indirect_tax":{"type":"string","description":"The status of the automatic_indirect_tax capability of the account.","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"]},"bizum_payments":{"type":"string","description":"The status of the Bizum capability of the account, or whether the account can directly process Bizum 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"]},"blik_recurring_payments":{"type":"string","description":"The status of the BLIK recurring payments capability of the account, or whether the account can accept recurring and subscription BLIK payments.","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"]},"gopay_payments":{"type":"string","description":"The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.","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"]},"id_bank_transfer_payments":{"type":"string","description":"The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.","enum":["active","inactive","pending"]},"id_bank_transfer_payments_bca":{"type":"string","description":"The status of Bank BCA onboarding of the account.","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"]},"paypal_payments":{"type":"string","description":"The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.","enum":["active","inactive","pending"]},"paypay_payments":{"type":"string","description":"The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.","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"]},"qris_payments":{"type":"string","description":"The status of the Qris capability of the account, or whether the account can directly process Qris payments.","enum":["active","inactive","pending"]},"rechnung_payments":{"type":"string","description":"The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.","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"]},"scalapay_payments":{"type":"string","description":"The status of the Scalapay capability of the account, or whether the account can directly process Scalapay 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"]},"sequra_payments":{"type":"string","description":"The status of the SeQura capability of the account, or whether the account can directly process SeQura payments.","enum":["active","inactive","pending"]},"shopeepay_payments":{"type":"string","description":"The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.","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"]},"stripe_balance_payments":{"type":"string","description":"The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.","enum":["active","inactive","pending"]},"sunbit_payments":{"type":"string","description":"The status of the Sunbit capability of the account, or whether the account can directly process Sunbit payments.","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"]},"treasury_evolve":{"type":"string","description":"The status of the treasury_evolve capability of the account.","enum":["active","inactive","pending"]},"treasury_fifth_third":{"type":"string","description":"The status of the treasury_fifth_third capability of the account.","enum":["active","inactive","pending"]},"treasury_goldman_sachs":{"type":"string","description":"The status of the treasury_goldman_sachs capability of the account.","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","app_distribution","au_becs_debit_payments","automatic_indirect_tax","bacs_debit_payments","bancontact_payments","bank_transfer_payments","billie_payments","bizum_payments","blik_payments","blik_recurring_payments","boleto_payments","card_issuing","card_payments","cartes_bancaires_payments","cashapp_payments","crypto_payments","eps_payments","fpx_payments","gb_bank_transfer_payments","giropay_payments","gopay_payments","grabpay_payments","id_bank_transfer_payments","id_bank_transfer_payments_bca","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","paypal_payments","paypay_payments","payto_payments","pix_payments","promptpay_payments","qris_payments","rechnung_payments","revolut_pay_payments","samsung_pay_payments","satispay_payments","scalapay_payments","sepa_bank_transfer_payments","sepa_debit_payments","sequra_payments","shopeepay_payments","sofort_payments","stripe_balance_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","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":"Fields that are `currently_due` and need to be collected again because validation or verification failed.","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":"Fields that are `currently_due` and need to be collected again because validation or verification failed.","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"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The account has been disabled because its requested capabilities require action.","value":"action_required.requested_capabilities"},{"description":"The account has been listed.","value":"listed"},{"description":"The account has been disabled for another reason.","value":"other"},{"description":"The account has been paused by the platform.","value":"platform_paused"},{"description":"The account has been rejected for fraud.","value":"rejected.fraud"},{"description":"The account has been rejected for incomplete verification.","value":"rejected.incomplete_verification"},{"description":"The account has been rejected because it is listed.","value":"rejected.listed"},{"description":"The account has been rejected for another reason.","value":"rejected.other"},{"description":"The account has been rejected by the platform for fraud.","value":"rejected.platform_fraud"},{"description":"The account has been rejected by the platform.","value":"rejected.platform_other"},{"description":"The account has been rejected by the platform for violating the Stripe services agreement.","value":"rejected.platform_terms_of_service"},{"description":"The account has been rejected because it does not meet Stripe's terms of service.","value":"rejected.terms_of_service"},{"description":"The account has been disabled because requirements are past_due.","value":"requirements.past_due"},{"description":"The account has been disabled because requirements are pending verification.","value":"requirements.pending_verification"},{"description":"The account has been disabled because it is under review.","value":"under_review"}]}},"errors":{"type":"array","description":"Fields that are `currently_due` and need to be collected again because validation or verification failed.","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":"Account Link","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-stableId":"connect_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_notice":{"title":"Account Notice","required":["created","deadline","email","id","linked_objects","livemode","metadata","object","reason","sent_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"},"deadline":{"type":"integer","description":"When present, the deadline for sending the notice to meet the relevant regulations.","format":"unix-time","nullable":true},"email":{"description":"Information about the email when sent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_compliance_notice_email"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"linked_objects":{"description":"Information about objects related to the notice.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_compliance_notice_linked_objects"}]},"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":["account_notice"]},"reason":{"type":"string","description":"Reason the notice is being sent. The reason determines what copy the notice must contain. See the [regulated customer notices](https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices) guide. All reasons might not apply to your integration, and Stripe might add new reasons in the future, so we recommend an internal warning when you receive an unknown reason.","enum":["issuing.account_closed_for_inactivity","issuing.account_closed_for_not_providing_business_model_clarification","issuing.account_closed_for_not_providing_url_clarification","issuing.account_closed_for_not_providing_use_case_clarification","issuing.account_closed_for_terms_of_service_violation","issuing.application_rejected_for_failure_to_verify","issuing.credit_application_rejected","issuing.credit_increase_application_rejected","issuing.credit_limit_decreased","issuing.credit_line_closed","issuing.dispute_lost","issuing.dispute_submitted","issuing.dispute_won"],"x-stripeBypassValidation":true},"sent_at":{"type":"integer","description":"Date when the notice was sent. When absent, you must send the notice, update the content of the email and date when it was sent.","format":"unix-time","nullable":true}},"description":"A notice to a Connected account. Notice can be sent by Stripe on your behalf or you can opt to send the notices yourself.\n\nSee the [guide to send notices](https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices) to your connected accounts.","x-expandableFields":["email","linked_objects"],"x-resourceId":"account_notice","x-stableId":"connect_account_notice","x-stripeMostCommon":["deadline","email","id","linked_objects","metadata","reason","sent_at"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/account_notices"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/account_notices/{account_notice}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v1/account_notices/{account_notice}"}],"x-stripeResource":{"class_name":"AccountNotice","has_collection_class":true,"in_package":""}},"account_notice.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/account_notice"}},"description":"Occurs whenever an AccountNotice is created.","x-expandableFields":[],"x-stripeEvent":{"type":"account_notice.created"}},"account_notice.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/account_notice"}},"description":"Occurs whenever an AccountNotice is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"account_notice.updated"}},"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":{"email_customers_on_successful_payment":{"type":"boolean","description":"When enabled, the customer of this Account will receive an email receipt when their payment is successful. If this parameter is not set, the default value is `false`.","nullable":true},"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":["email_customers_on_successful_payment","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_paypay_payments_settings":{"title":"AccountPaypayPaymentsSettings","type":"object","properties":{"additional_files":{"type":"array","description":"Additional files that are required to support the onboarding process of your business.","items":{"maxLength":5000,"type":"string"}},"goods_type":{"type":"string","description":"The type of goods your business sells. Use `digital_content` if you sell digital content. Use `other` for all other types of goods or services.","enum":["digital_content","other"],"x-stripeEnum":{"kind":"closed","values":[{"value":"digital_content"},{"value":"other"}]}},"site":{"$ref":"#/components/schemas/account_paypay_site_settings"}},"description":"","x-expandableFields":["site"],"x-stripeMostCommon":["additional_files","goods_type","site"]},"account_paypay_site_accessible_settings":{"title":"AccountPaypaySiteAccessibleSettings","type":"object","properties":{},"description":"","x-expandableFields":[]},"account_paypay_site_in_development_settings":{"title":"AccountPaypaySiteInDevelopmentSettings","required":["username"],"type":"object","properties":{"password_provided":{"type":"boolean","description":"Field to indicate that the website password has been provided."},"username":{"maxLength":5000,"type":"string","description":"The username needed to access your business's website.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["password_provided","username"]},"account_paypay_site_restricted_settings":{"title":"AccountPaypaySiteRestrictedSettings","required":["payment_flow_file"],"type":"object","properties":{"payment_flow_file":{"maxLength":5000,"type":"string","description":"File explaining the payment flow for your business.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["payment_flow_file"]},"account_paypay_site_settings":{"title":"AccountPaypaySiteSettings","type":"object","properties":{"accessible":{"$ref":"#/components/schemas/account_paypay_site_accessible_settings"},"in_development":{"$ref":"#/components/schemas/account_paypay_site_in_development_settings"},"restricted":{"$ref":"#/components/schemas/account_paypay_site_restricted_settings"},"type":{"type":"string","description":"The status of your business's website.","enum":["accessible","in_development","restricted"],"x-stripeEnum":{"kind":"closed","values":[{"value":"accessible"},{"value":"in_development"},{"value":"restricted"}]}}},"description":"","x-expandableFields":["accessible","in_development","restricted"],"x-stripeMostCommon":["accessible","in_development","restricted","type"]},"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 will be 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"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The account has been disabled because its requested capabilities require action.","value":"action_required.requested_capabilities"},{"description":"The account has been listed.","value":"listed"},{"description":"The account has been disabled for another reason.","value":"other"},{"description":"The account has been paused by the platform.","value":"platform_paused"},{"description":"The account has been rejected for fraud.","value":"rejected.fraud"},{"description":"The account has been rejected for incomplete verification.","value":"rejected.incomplete_verification"},{"description":"The account has been rejected because it is listed.","value":"rejected.listed"},{"description":"The account has been rejected for another reason.","value":"rejected.other"},{"description":"The account has been rejected by the platform for fraud.","value":"rejected.platform_fraud"},{"description":"The account has been rejected by the platform.","value":"rejected.platform_other"},{"description":"The account has been rejected by the platform for violating the Stripe services agreement.","value":"rejected.platform_terms_of_service"},{"description":"The account has been rejected because it does not meet Stripe's terms of service.","value":"rejected.terms_of_service"},{"description":"The account has been disabled because requirements are past_due.","value":"requirements.past_due"},{"description":"The account has been disabled because requirements are pending verification.","value":"requirements.pending_verification"},{"description":"The account has been disabled because it is under review.","value":"under_review"}]}},"errors":{"type":"array","description":"Fields that are `currently_due` and need to be collected again because validation or verification failed.","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_cmra_address","invalid_address_highway_contract_box","invalid_address_private_mailbox","invalid_address_registered_agent_address","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_data_not_found","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,"x-stripeEnum":{"kind":"closed","values":[{"description":"There is an active hold on the account due to a third party request. Please contact the third party to resolve the hold.","value":"external_request"},{"description":"The requirement associated with this error is missing critical information. The associated error reason provides more details.","value":"information_missing"},{"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":"The address you provided appears to be associated with a mailbox or virtual address service, which we can't accept. Please update your address to proceed.","value":"invalid_address_cmra_address"},{"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":"The address you provided appears to be associated with a registered agent, which we can't accept. Please update your address to proceed. If you believe this is an error, you can submit a proof of address document for review.","value":"invalid_address_registered_agent_address"},{"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":"We could not verify the professional certifying body of this document.","value":"invalid_signator"},{"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"},{"value":"invalid_url_length"},{"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":"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":"An invalid value was provided for the related field. This is a general error code.","value":"invalid_value_other"},{"description":"The business type you provided isn't supported in this country.","value":"unsupported_business_type"},{"description":"We were unable to find information based on the data entered. Please confirm that the details are correct.","value":"verification_data_not_found"},{"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 account authorizer is not a registered authorized representative. Refer to [this support article](https://support.stripe.com/questions/representative-authority-verification) for more information.","value":"verification_failed_authorizer_authority"},{"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":"Business type or structure seems to be incorrect. Provide the correct business type and structure for this account.","value":"verification_legal_entity_structure_mismatch"},{"description":"We identified that your business has directors that have not been added to the account. Please add missing directors to your account.","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":"The ownership exemption reason was rejected.","value":"verification_rejected_ownership_exemption_reason"},{"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":"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"}]}},"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":"Account Session","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-stableId":"connect_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"},"bank_bca_onboarding":{"$ref":"#/components/schemas/account_bank_bca_onboarding_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"},"paypay_payments":{"$ref":"#/components/schemas/account_paypay_payments_settings"},"sepa_debit_payments":{"$ref":"#/components/schemas/account_sepa_debit_payments_settings"},"smart_disputes":{"$ref":"#/components/schemas/account_smart_disputes_settings"},"tax_forms":{"$ref":"#/components/schemas/tax_reporting_account_settings_resource_tax_form_settings"},"treasury":{"$ref":"#/components/schemas/account_treasury_settings"}},"description":"","x-expandableFields":["bacs_debit_payments","bank_bca_onboarding","branding","card_issuing","card_payments","dashboard","invoices","payments","payouts","paypay_payments","sepa_debit_payments","smart_disputes","tax_forms","treasury"],"x-stripeMostCommon":["bacs_debit_payments","bank_bca_onboarding","branding","card_issuing","card_payments","dashboard","invoices","payments","payouts","paypay_payments","sepa_debit_payments","smart_disputes","tax_forms","treasury"]},"account_smart_disputes_auto_respond":{"title":"AccountSmartDisputesAutoRespond","required":["preference","value"],"type":"object","properties":{"preference":{"type":"string","description":"The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.","enum":["inherit","off","on"],"x-stripeEnum":{"kind":"closed","values":[{"value":"inherit"},{"value":"off"},{"value":"on"}]}},"value":{"type":"string","description":"The effective value for auto-respond. Can be 'on' or 'off'.","enum":["off","on"],"x-stripeEnum":{"kind":"closed","values":[{"value":"off"},{"value":"on"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["preference","value"]},"account_smart_disputes_settings":{"title":"AccountSmartDisputesSettings","required":["auto_respond"],"type":"object","properties":{"auto_respond":{"$ref":"#/components/schemas/account_smart_disputes_auto_respond"}},"description":"","x-expandableFields":["auto_respond"],"x-stripeMostCommon":["auto_respond"]},"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":{"application":{"$ref":"#/components/schemas/account_unification_account_controller_application"},"dashboard":{"$ref":"#/components/schemas/account_unification_account_controller_dashboard"},"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":["application","dashboard","fees","losses","stripe_dashboard"],"x-stripeMostCommon":["application","dashboard","fees","is_controller","losses","requirement_collection","stripe_dashboard","type"]},"account_unification_account_controller_application":{"title":"AccountUnificationAccountControllerApplication","required":["loss_liable","onboarding_owner","pricing_controls"],"type":"object","properties":{"loss_liable":{"type":"boolean","description":"`true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account."},"onboarding_owner":{"type":"boolean","description":"`true` if the Connect application is responsible for onboarding the account."},"pricing_controls":{"type":"boolean","description":"`true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["loss_liable","onboarding_owner","pricing_controls"]},"account_unification_account_controller_dashboard":{"title":"AccountUnificationAccountControllerDashboard","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).","enum":["express","full","none"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["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","application_unified_accounts_beta"]}},"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":""}},"address_api_resource_terminal":{"title":"AddressAPIResourceTerminal","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"]},"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/card#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","action_blocked","alipay_upgrade_required","amount_too_large","amount_too_small","anomalous_money_movement_request","api_key_expired","application_fees_not_allowed","approval_required","authentication_failure","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","capability_not_active","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","dispute_evidence_page_limit_exceeded","email_invalid","expired_card","expired_payment_method","failed_tax_calculation","financial_account_balance_does_not_support_currency","financial_account_capability_not_enabled","financial_account_capability_restricted","financial_connections_account_inactive","financial_connections_account_pending_account_numbers","financial_connections_account_unavailable_account_numbers","financial_connections_consent_locale_invalid","financial_connections_consent_locale_unsupported","financial_connections_institution_unavailable","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_postal_code","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_canceled_subscription_fields","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_evaluation_on_api_version_not_supported","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_processing_error","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_restricted","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","sensitive_data_access_expired","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","siret_invalid","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_collected_data_invalid","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","v2_account_disconnection_unsupported","v2_account_missing_configuration"]},"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-stableId":"payment_error","x-stripeMostCommon":["code","decline_code","message","param","payment_intent","type"],"x-stripeResource":{"class_name":"StripeError","in_package":""}},"app_service_resource_install_content_security_policy":{"title":"AppServiceResourceInstallContentSecurityPolicy","required":["connect_src","image_src"],"type":"object","properties":{"connect_src":{"type":"array","description":"The URLs that the app can make network requests to.","items":{"maxLength":5000,"type":"string"}},"image_src":{"type":"array","description":"The URLs that the app can load images from.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["connect_src","image_src"]},"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.install":{"title":"App Install","required":["account","app","approval_required","auth_code","channel","content_security_policy_granted","content_security_policy_pending","created","created_by","endpoints_granted","endpoints_pending","id","livemode","object","permissions_granted","permissions_pending","status"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The ID of the account that the app install belongs to."},"app":{"maxLength":5000,"type":"string","description":"The ID of the app installed."},"approval_required":{"type":"boolean","description":"Whether the installer must authorize pending permissions, content security policy entries, or endpoints. For private apps, `approval_required` stays `false`; creating or reauthorizing the install through the API installs the newest completed upload and grants its permissions."},"auth_code":{"maxLength":5000,"type":"string","description":"The authorization code for an oauth app install.","nullable":true},"channel":{"type":"string","description":"The distribution channel associated with the app install.","enum":["private_live","private_test","public","review","testing"],"x-stripeEnum":{"kind":"open","values":[{"description":"A private app installed in live mode.","value":"private_live"},{"description":"A private app installed in test mode.","value":"private_test"},{"description":"The published version of the app.","value":"public"},{"description":"The app as installed by Stripe for app review.","value":"review"},{"description":"A pre-release version of the app installed for external testing.","value":"testing"}]}},"content_security_policy_granted":{"$ref":"#/components/schemas/app_service_resource_install_content_security_policy"},"content_security_policy_pending":{"$ref":"#/components/schemas/app_service_resource_install_content_security_policy"},"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 ID of the embedding platform that created the install, if applicable.","nullable":true},"endpoints_granted":{"type":"array","description":"The endpoint URLs authorized by the installer.","items":{"maxLength":5000,"type":"string"}},"endpoints_pending":{"type":"array","description":"The endpoint URLs requested by the latest app version that the installer has not authorized.","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`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["apps.install"]},"permissions_granted":{"type":"array","description":"The permissions authorized by the installer.","items":{"maxLength":5000,"type":"string"}},"permissions_pending":{"type":"array","description":"The permissions requested by the latest app version that the installer has not authorized.","items":{"maxLength":5000,"type":"string"}},"status":{"type":"string","description":"The status of the app install.","enum":["install_failed","installed","installing","uninstall_failed","uninstalling"],"x-stripeEnum":{"kind":"open","values":[{"description":"The install did not complete. The app cannot be used.","value":"install_failed"},{"description":"The app is installed and can be used. Access that the installer has not authorized yet is listed in the pending fields.","value":"installed"},{"description":"The install is in progress.","value":"installing"},{"description":"The uninstall did not complete.","value":"uninstall_failed"},{"description":"The uninstall is in progress.","value":"uninstalling"}]}}},"description":"An app install represents a Stripe App that is installed on an account. It reports the permissions,\ncontent security policy entries, and endpoints that the installing account has authorized, along with any\nthat the app's latest version requests but the account has not authorized yet. Use the Install API to\ninstall, reauthorize, and uninstall apps, and to check the state of existing installs.","x-expandableFields":["content_security_policy_granted","content_security_policy_pending"],"x-resourceId":"apps.install","x-stableId":"app_install","x-stripeMostCommon":["account","app","approval_required","channel","content_security_policy_granted","id","permissions_granted","permissions_pending","status"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/apps/installs"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/apps/installs/{id}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/apps/installs"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v1/apps/installs/{id}"},{"method_name":"uninstall","method_on":"service","method_type":"custom","operation":"post","path":"/v1/apps/installs/{id}/uninstall"}],"x-stripeResource":{"class_name":"Install","has_collection_class":true,"in_package":"Apps"}},"apps.install.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/apps.install"}},"description":"Occurs whenever a user installs a Stripe app. Sent to the app developer, embedding platform, and installing merchant.","x-expandableFields":[],"x-stripeEvent":{"type":"apps.install.created"}},"apps.install.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/apps.install"}},"description":"Occurs whenever a user uninstalls a Stripe app. Sent to the app developer, embedding platform, and installing merchant.","x-expandableFields":[],"x-stripeEvent":{"type":"apps.install.deleted"}},"apps.install.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/apps.install"}},"description":"Occurs whenever a user updates a Stripe app. Sent to the app developer, embedding platform, and installing merchant.","x-expandableFields":[],"x-stripeEvent":{"type":"apps.install.updated"}},"apps.secret":{"title":"Secret","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-stableId":"connect_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://docs.stripe.com/api#transfers) or [Payouts API](https://docs.stripe.com/api#payouts). You can find the available balance for each currency and payment type in the `source_types` property.","items":{"$ref":"#/components/schemas/balance_amount"}},"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"},"risk_reserved":{"$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","risk_reserved"],"x-resourceId":"balance","x-stableId":"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":"Balance Setting","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-stableId":"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_automatic_transfer_rule":{"title":"BalanceSettingsResourceAutomaticTransferRule","required":["payout_method","transfer_up_to_amount","type"],"type":"object","properties":{"payout_method":{"maxLength":5000,"type":"string","description":"The ID of the FinancialAccount that funds will be transferred to during automatic transfers."},"transfer_up_to_amount":{"type":"integer","description":"The maximum amount in minor units to transfer to the FinancialAccount. Only applicable when `type` is `transfer_up_to_amount`.","nullable":true},"type":{"type":"string","description":"The type of automatic transfer rule.","enum":["transfer_all","transfer_up_to_amount"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["payout_method","transfer_up_to_amount","type"]},"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"],"x-stripeBypassValidation":true},"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":["automatic_transfer_rules_by_currency","minimum_balance_by_currency","schedule","statement_descriptor","status"],"type":"object","properties":{"automatic_transfer_rules_by_currency":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/balance_settings_resource_automatic_transfer_rule"}},"description":"Configures per-currency rules for automatically transferring funds from the payments balance to a FinancialAccount.","nullable":true},"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":["automatic_transfer_rules_by_currency","schedule"],"x-stripeMostCommon":["automatic_transfer_rules_by_currency","minimum_balance_by_currency","schedule","statement_descriptor","status"]},"balance_settings_resource_settlement_timing":{"title":"BalanceSettingsResourceSettlementTiming","required":["delay_days","start_of_day"],"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."},"start_of_day":{"description":"Customized start of day configuration for automatic payouts to group and send payments in local timezones with a customized day starting time. For details, see our [Customized start of day](/connect/customized-start-of-day) documentation.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/balance_settings_resource_start_of_day"}]}},"description":"","x-expandableFields":["start_of_day"],"x-stripeMostCommon":["delay_days","delay_days_override","start_of_day"]},"balance_settings_resource_start_of_day":{"title":"BalanceSettingsResourceStartOfDay","required":["hour","minutes","timezone"],"type":"object","properties":{"hour":{"type":"integer","description":"Hour at which the customized start of day begins according to the given timezone. Must be a [supported customized start of day hour](/connect/customized-start-of-day#available-timezones-and-cutoffs)."},"minutes":{"type":"integer","description":"Minutes at which the customized start of day begins according to the given timezone. Must be either 0 or 30."},"timezone":{"maxLength":5000,"type":"string","description":"Timezone for the customized start of day. Must be a [supported customized start of day timezone](/connect/customized-start-of-day#available-timezones-and-cutoffs)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["hour","minutes","timezone"]},"balance_transaction":{"title":"Balance Transaction","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, multiplied 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: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_dispute_provisional_credit`, `issuing_dispute_provisional_credit_reversal`, `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`, `transfer_refund`, or `fee_credit_funding`. 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","fee_credit_funding","inbound_transfer","inbound_transfer_reversal","issuing_authorization_hold","issuing_authorization_release","issuing_dispute","issuing_dispute_provisional_credit","issuing_dispute_provisional_credit_reversal","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","tax_fund","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-stableId":"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":"Bank Account","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-stableId":"customer_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","expired","pending","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_account_status_details":{"title":"BankConnectionsResourceAccountStatusDetails","type":"object","properties":{"active":{"$ref":"#/components/schemas/bank_connections_resource_account_status_details_api_resource_active_status_details"},"inactive":{"$ref":"#/components/schemas/bank_connections_resource_account_status_details_api_resource_inactive_status_details"}},"description":"","x-expandableFields":["active","inactive"],"x-stripeMostCommon":["active","inactive"]},"bank_connections_resource_account_status_details_api_resource_active_status_details":{"title":"BankConnectionsResourceAccountStatusDetailsAPIResourceActiveStatusDetails","required":["action","cause","expected_deactivation_date"],"type":"object","properties":{"action":{"type":"string","description":"The action (if any) to proactively relink the Account.","enum":["none","relink_required"],"x-stripeEnum":{"kind":"open","values":[{"description":"There is no action recommended at this time to resolve the upcoming Account deactivation.","value":"none"},{"description":"You may proactively relink the Account by having your end user complete the [streamlined relink flow](https://docs.stripe.com/financial-connections/relink).","value":"relink_required"}]}},"cause":{"type":"string","description":"The underlying cause of the Account becoming inactive.","enum":["access_expired","institution_requirement","unspecified"],"x-stripeEnum":{"kind":"open","values":[{"description":"Access to the account will expire.","value":"access_expired"},{"description":"The institution is introducing a change which will break existing connections shortly.","value":"institution_requirement"},{"description":"The account is expected to become inactive for an unspecified or ambiguous reason.","value":"unspecified"}]}},"expected_deactivation_date":{"type":"integer","description":"When the Account is expected to become inactive, if applicable.","format":"unix-time"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["action","cause","expected_deactivation_date"]},"bank_connections_resource_account_status_details_api_resource_inactive_status_details":{"title":"BankConnectionsResourceAccountStatusDetailsAPIResourceInactiveStatusDetails","required":["action","cause"],"type":"object","properties":{"action":{"type":"string","description":"The action (if any) to relink the inactive Account.","enum":["none","relink_required"],"x-stripeEnum":{"kind":"open","values":[{"description":"There is no action recommended at this time to resolve the inactive Account.","value":"none"},{"description":"You may relink the inactive Account by having your end user complete the [streamlined relink flow](https://docs.stripe.com/financial-connections/relink).","value":"relink_required"}]}},"cause":{"type":"string","description":"The underlying cause of the Account being inactive.","enum":["access_denied","access_expired","account_closed","account_unavailable","institution_requirement","unspecified"],"x-stripeEnum":{"kind":"open","values":[{"description":"The latest attempt to retrieve the account was denied by the institution. This may indicate the account holder needs to log into their account management portal, or contact their institution, to permit Stripe to access this account.","value":"access_denied"},{"description":"Access to the account has expired.","value":"access_expired"},{"description":"The account has been marked as closed.","value":"account_closed"},{"description":"The account is no longer available.","value":"account_unavailable"},{"description":"The institution has introduced a change which broke existing connections.","value":"institution_requirement"},{"description":"The account is inactive for an unspecified or ambiguous reason.","value":"unspecified"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["action","cause"]},"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_authorization_status_details":{"title":"BankConnectionsResourceAuthorizationStatusDetails","type":"object","properties":{"active":{"$ref":"#/components/schemas/bank_connections_resource_authorization_status_details_api_resource_active_status_details"},"inactive":{"$ref":"#/components/schemas/bank_connections_resource_authorization_status_details_api_resource_inactive_status_details"}},"description":"","x-expandableFields":["active","inactive"],"x-stripeMostCommon":["active","inactive"]},"bank_connections_resource_authorization_status_details_api_resource_active_status_details":{"title":"BankConnectionsResourceAuthorizationStatusDetailsAPIResourceActiveStatusDetails","required":["action","expected_deactivation_date"],"type":"object","properties":{"action":{"type":"string","description":"The action (if any) to proactively relink the Authorization.","enum":["none","relink_required"],"x-stripeEnum":{"kind":"open","values":[{"description":"There is no action recommended at this time to resolve the upcoming Authorization deactivation.","value":"none"},{"description":"You may proactively relink the Authorization by having your end user complete the streamlined relink flow.","value":"relink_required"}]}},"expected_deactivation_date":{"type":"integer","description":"When the Authorization is expected to become inactive, if applicable.","format":"unix-time"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["action","expected_deactivation_date"]},"bank_connections_resource_authorization_status_details_api_resource_inactive_status_details":{"title":"BankConnectionsResourceAuthorizationStatusDetailsAPIResourceInactiveStatusDetails","required":["action"],"type":"object","properties":{"action":{"type":"string","description":"The action (if any) to relink the inactive Authorization.","enum":["none","relink_required"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["action"]},"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_inferred_balances_refresh":{"title":"BankConnectionsResourceInferredBalancesRefresh","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 inferred 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_institution_feature_support":{"title":"BankConnectionsResourceInstitutionFeatureSupport","required":["balances","ownership","payment_method","transactions"],"type":"object","properties":{"balances":{"$ref":"#/components/schemas/bank_connections_resource_institution_supported_feature"},"ownership":{"$ref":"#/components/schemas/bank_connections_resource_institution_supported_feature"},"payment_method":{"$ref":"#/components/schemas/bank_connections_resource_institution_supported_feature"},"transactions":{"$ref":"#/components/schemas/bank_connections_resource_institution_supported_feature"}},"description":"","x-expandableFields":["balances","ownership","payment_method","transactions"],"x-stripeMostCommon":["balances","ownership","payment_method","transactions"]},"bank_connections_resource_institution_supported_feature":{"title":"BankConnectionsResourceInstitutionSupportedFeature","required":["supported"],"type":"object","properties":{"supported":{"type":"boolean","description":"Whether the given feature is supported by this institution."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["supported"]},"bank_connections_resource_link_account_session_filters":{"title":"BankConnectionsResourceLinkAccountSessionFilters","required":["account_subcategories","country"],"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"]}},"country":{"maxLength":5000,"type":"string","description":"Country from which to filter accounts.","nullable":true},"institution":{"maxLength":5000,"type":"string","description":"Stripe ID of the institution with which the customer should be directed to log in."},"require_payment_method_support":{"type":"string","description":"Whether the Session should require that linked accounts support payments and retrieve account numbers before completion.","enum":["all","at_least_one","none"],"x-stripeEnum":{"kind":"closed","values":[{"description":"All accounts in the Session must be payment-eligible, and at least one payment-eligible account must successfully retrieve account and routing numbers before the Session can complete.","value":"all"},{"description":"At least one account in the Session must be payment-eligible and successfully retrieve account and routing numbers before the Session can complete.","value":"at_least_one"},{"description":"Accounts are not required to be payment-eligible.","value":"none"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_subcategories","country","institution","require_payment_method_support"]},"bank_connections_resource_link_account_session_hosted":{"title":"BankConnectionsResourceLinkAccountSessionHosted","required":["return_url"],"type":"object","properties":{"delivery_method":{"type":"string","description":"How the user enters the hosted flow. You can only use the values `email` and `url` if you provide `relink_options`.","enum":["email","url"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"The user receives an email from Stripe with a link to a hosted page.","value":"email"},{"description":"Receive a URL to the hosted page that you can send to your user asynchronously. These URLs expire after 30 days if they're not visited, but the user can request a new URL without requiring you to make another API request.","value":"url"}]}},"return_url":{"maxLength":5000,"type":"string","description":"The URL to redirect your customer back to after they link their accounts or cancel this Session. This parameter is required if `ui_mode` is `hosted`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["delivery_method","return_url"]},"bank_connections_resource_link_account_session_limits":{"title":"BankConnectionsResourceLinkAccountSessionLimits","required":["accounts"],"type":"object","properties":{"accounts":{"type":"integer","description":"The number of accounts that can be linked in this Session."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["accounts"]},"bank_connections_resource_link_account_session_manual_entry":{"title":"BankConnectionsResourceLinkAccountSessionManualEntry","type":"object","properties":{"mode":{"type":"string","description":"Controls how manual entry of bank account details is presented to the user.","enum":["automatic","custom","disabled"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["mode"]},"bank_connections_resource_link_account_session_relink_options":{"title":"BankConnectionsResourceLinkAccountSessionRelinkOptions","required":["authorization"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"Requires the end user to repair this specific account during the authentication flow instead of connecting a different one.","nullable":true},"authorization":{"maxLength":5000,"type":"string","description":"The authorization to relink in the Session."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account","authorization"]},"bank_connections_resource_link_account_session_relink_result":{"title":"BankConnectionsResourceLinkAccountSessionRelinkResult","required":["account","authorization","failure_reason"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The account relinked in the Session. Only present if `relink_options[account]` is set and relink is successful.","nullable":true},"authorization":{"maxLength":5000,"type":"string","description":"The authorization relinked in the Session. Only present if relink is successful.","nullable":true},"failure_reason":{"type":"string","description":"Reason for why relink failed. One of `no_authorization`, `no_account`, or `other`.","nullable":true,"enum":["no_account","no_authorization","other"],"x-stripeEnum":{"kind":"open","values":[{"description":"The relink session didn't complete with the required account.","value":"no_account"},{"description":"The account holder wasn't able to authorize any accounts to relink.","value":"no_authorization"},{"description":"The relink session failed for an unknown reason.","value":"other"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account","authorization","failure_reason"]},"bank_connections_resource_link_account_session_status_details":{"title":"BankConnectionsResourceLinkAccountSessionStatusDetails","type":"object","properties":{"cancelled":{"$ref":"#/components/schemas/bank_connections_resource_link_account_session_status_details_resource_cancelled_status_details"}},"description":"","x-expandableFields":["cancelled"],"x-stripeMostCommon":["cancelled"]},"bank_connections_resource_link_account_session_status_details_resource_cancelled_status_details":{"title":"BankConnectionsResourceLinkAccountSessionStatusDetailsResourceCancelledStatusDetails","required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"The reason for the Session being cancelled.","enum":["custom_manual_entry","other"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reason"]},"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":"Alert","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-stableId":"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":"string","description":"The value triggering the alert","format":"decimal"}},"description":"","x-expandableFields":["alert"],"x-stripeMostCommon":["alert","created","customer","livemode","object","value"],"x-stripeResource":{"class_name":"AlertTriggered","in_package":"Billing"}},"billing.analytics.meter_usage":{"title":"Meter usage data","required":["livemode","object","refreshed_at","rows"],"type":"object","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`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.analytics.meter_usage"]},"refreshed_at":{"type":"integer","description":"The timestamp to indicate data freshness, measured in seconds since the Unix epoch.","format":"unix-time"},"rows":{"$ref":"#/components/schemas/billing_overview_resources_meter_usage_rows"}},"description":"A billing meter usage event represents an aggregated view of a customer’s billing meter events within a specified timeframe.","x-expandableFields":["rows"],"x-resourceId":"billing.analytics.meter_usage","x-stableId":"billing_meter_usage","x-stripeMostCommon":["livemode","object","refreshed_at","rows"],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/billing/analytics/meter_usage"}],"x-stripeResource":{"class_name":"MeterUsage","in_package":"Billing.analytics"}},"billing.analytics.meter_usage_row":{"title":"BillingOverviewResourcesMeterUsageRow","required":["dimensions","ends_at","id","meter","object","starts_at","value"],"type":"object","properties":{"dimensions":{"type":"object","additionalProperties":{"maxLength":5000,"type":"string"},"description":"A set of key-value pairs representing the dimensions of the meter usage.","nullable":true},"ends_at":{"type":"integer","description":"Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"meter":{"maxLength":5000,"type":"string","description":"The unique identifier for the meter. Null if no meters were provided and usage was aggregated across all meters.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.analytics.meter_usage_row"]},"starts_at":{"type":"integer","description":"Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch.","format":"unix-time"},"value":{"type":"number","description":"The aggregated meter usage value for the specified bucket."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["dimensions","ends_at","id","meter","object","starts_at","value"],"x-stripeResource":{"class_name":"MeterUsageRow","in_package":"Billing.analytics"}},"billing.credit_balance_summary":{"title":"Credit Balance Summary","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-stableId":"billing_credit_grant_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":"Credit Balance Transaction","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-stableId":"billing_credit_grant_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":"Credit Grant","required":["amount","applicability_config","category","created","customer","customer_account","effective_at","expires_at","id","livemode","metadata","name","object","priority","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-stableId":"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.feedback_option":{"title":"Feedback Option","required":["description","id","livemode","object","status","status_transitions"],"type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"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.feedback_option"]},"status":{"type":"string","description":"The feedback option's status.","enum":["active","inactive"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The feedback option is active and available for use.","value":"active"},{"description":"The feedback option has been deactivated and is no longer available for use.","value":"inactive"}]}},"status_transitions":{"$ref":"#/components/schemas/feedback_options_status_transitions"}},"description":"A feedback option is a reason you can present to customers when they cancel a\nsubscription through the customer portal. Configure the set of options a customer\ncan choose from on a [portal configuration](/api/customer_portal/configuration).\n\nRelated guide: [Customer management](/customer-management)","x-expandableFields":["status_transitions"],"x-resourceId":"billing.feedback_option","x-stableId":"billing_feedback_option","x-stripeMostCommon":["description","id","livemode","object","status","status_transitions"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/billing/feedback_options"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/billing/feedback_options/{id}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/billing/feedback_options"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v1/billing/feedback_options/{id}"},{"method_name":"deactivate","method_on":"service","method_type":"custom","operation":"post","path":"/v1/billing/feedback_options/{id}/deactivate"}],"x-stripeResource":{"class_name":"FeedbackOption","has_collection_class":true,"in_package":"Billing"}},"billing.meter":{"title":"Billing Meter","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-stableId":"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":"Billing Meter Event","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-stableId":"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":"Billing Meter Event Adjustment","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-stableId":"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":"Billing Meter Event Summary","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-stableId":"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_common_invoice_pause_collection":{"title":"Pause Collection","required":["behavior","resumes_at"],"type":"object","properties":{"behavior":{"type":"string","description":"The payment collection behavior for this subscription while paused.","nullable":true,"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","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"]},"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},"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/billing_bill_resource_invoicing_common_invoice_pause_collection"}]},"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":["pause_collection","subscription"],"x-stripeMostCommon":["metadata","pause_collection","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":{"description":"ID of the tax rate","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/tax_rate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/tax_rate"}]}}},"description":"","x-expandableFields":["tax_rate"],"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_overview_resources_meter_usage_rows":{"title":"BillingOverviewResourcesMeterUsageRows","required":["data","has_more","total","url"],"type":"object","properties":{"data":{"type":"array","description":"The aggregated meter usage data for the specified customer and time range.","items":{"$ref":"#/components/schemas/billing.analytics.meter_usage_row"}},"has_more":{"type":"boolean","description":"The value is `true` if this list has another page of items to fetch."},"total":{"type":"integer","description":"The total number of items across all pages."},"url":{"maxLength":5000,"type":"string","description":"The URL where you can access this list."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","total","url"]},"billing_portal.configuration":{"title":"Customer portal configuration","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 [overridden](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-stableId":"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":"Customer Portal Session","required":["configuration","created","customer","customer_account","flow","id","livemode","locale","object","on_behalf_of","return_url","url"],"type":"object","properties":{"after_expiration":{"description":"Behavior after the portal session expires.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_after_expiration"}]},"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":["after_expiration","configuration","flow"],"x-resourceId":"billing_portal.session","x-stableId":"billing_portal_session","x-stripeMostCommon":["after_expiration","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","feedback_option","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"]},"feedback_option":{"description":"Customized feedback options that provide deeper insight into why the subscription was canceled, if the subscription was canceled explicitly by the user.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/billing.feedback_option"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/billing.feedback_option"}]}},"reason":{"type":"string","description":"Why this subscription was canceled.","nullable":true,"enum":["canceled_by_retention_policy","cancellation_requested","payment_disputed","payment_failed"],"x-stripeEnum":{"kind":"open","values":[{"description":"Canceled because our [retention policy](https://support.stripe.com/questions/test-mode-subscription-data-retention) automatically expires subscriptions with `livemode: false`.","value":"canceled_by_retention_policy"},{"description":"Canceled explicitly through the API or Dashboard.","value":"cancellation_requested"},{"description":"Canceled automatically after a dispute was opened, according to your [billing settings](https://dashboard.stripe.com/settings/billing/subscriptions).","value":"payment_disputed"},{"description":"Canceled automatically after payment failure, according to your [billing settings](https://dashboard.stripe.com/settings/billing/subscriptions).","value":"payment_failed"}]}}},"description":"","x-expandableFields":["feedback_option"],"x-stripeMostCommon":["comment","feedback","feedback_option","reason"]},"capability":{"title":"Capability","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-stableId":"connect_account_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"}},"capital.financing_offer":{"title":"Financing offer","required":["account","created","expires_after","id","livemode","object","status"],"type":"object","properties":{"accepted_terms":{"$ref":"#/components/schemas/capital_connect_connect_financing_accepted_terms"},"account":{"maxLength":5000,"type":"string","description":"The ID of the merchant associated with this financing object."},"charged_off_at":{"type":"integer","description":"The time at which this financing offer was charged off, if applicable. Given in seconds since unix epoch.","format":"unix-time"},"created":{"type":"integer","description":"Time at which the offer was created. Given in seconds since unix epoch."},"disclaimer_variant":{"type":"string","description":"The type of disclaimer to use for a financing offer in user-facing surfaces. The corresponding disclaimer text to use for each disclaimer_variant value can be found in the [marketing docs](https://docs.stripe.com/capital/marketing).","enum":["celtic_us_loan","fundbox_au_financing","fundbox_ca_financing","youlend_de_financing","youlend_fr_financing","youlend_uk_mca","youlend_us_mca"],"x-stripeEnum":{"kind":"open","values":[{"description":"Capital's Loan offers, issued by Celtic Bank in the US.","value":"celtic_us_loan"},{"description":"Capital financing offer provided by FundBox in Australia.","value":"fundbox_au_financing"},{"description":"Capital financing offer provided by FundBox in Canada.","value":"fundbox_ca_financing"},{"description":"Capital financing offer provided by YouLend in Germany.","value":"youlend_de_financing"},{"description":"Capital financing offer provided by YouLend in France.","value":"youlend_fr_financing"},{"description":"Capital offer provided by YouLend in the UK. The underlying financing may be a loan or a merchant cash advance.","value":"youlend_uk_mca"},{"description":"Capital offer provided by YouLend in the US.","value":"youlend_us_mca"}]}},"expires_after":{"type":"number","description":"Time at which the offer expires. Given in seconds since unix epoch."},"financing_type":{"type":"string","description":"The type of financing being offered.","enum":["cash_advance","flex_loan"],"x-stripeBypassValidation":true},"id":{"maxLength":5000,"type":"string","description":"A unique identifier for the financing 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":"The object type: financing_offer.","enum":["capital.financing_offer"]},"offered_terms":{"$ref":"#/components/schemas/capital_connect_connect_financing_offered_terms"},"product_type":{"type":"string","description":"Financing product identifier.","enum":["refill","standard"],"x-stripeBypassValidation":true},"replacement":{"maxLength":5000,"type":"string","description":"The ID of the financing offer that replaced this offer."},"replacement_for":{"maxLength":5000,"type":"string","description":"The ID of the financing offer that this offer is a replacement for."},"status":{"type":"string","description":"The current status of the offer.","enum":["accepted","canceled","completed","delivered","expired","fully_repaid","paid_out","rejected","replaced","undelivered"],"x-stripeBypassValidation":true},"type":{"type":"string","description":"See [financing_type](https://docs.stripe.com/api/capital/connect_financing_object#financing_offer_object-financing_type).","enum":["cash_advance","fixed_term_loan","flex_loan"]}},"description":"This is an object representing an offer of financing from\nStripe Capital to a Connect subaccount.","x-expandableFields":["accepted_terms","offered_terms"],"x-resourceId":"capital.financing_offer","x-stableId":"capital_connect_financing_offer","x-stripeMostCommon":["accepted_terms","account","charged_off_at","created","disclaimer_variant","expires_after","financing_type","id","livemode","metadata","object","offered_terms","product_type","replacement","replacement_for","status","type"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/capital/financing_offers"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/capital/financing_offers/{financing_offer}"},{"method_name":"mark_delivered","method_on":"service","method_type":"custom","operation":"post","path":"/v1/capital/financing_offers/{financing_offer}/mark_delivered"}],"x-stripeResource":{"class_name":"FinancingOffer","has_collection_class":true,"in_package":"Capital"}},"capital.financing_offer.accepted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capital.financing_offer"}},"description":"Occurs whenever a connected account accepts a financing offer.","x-expandableFields":[],"x-stripeEvent":{"type":"capital.financing_offer.accepted"}},"capital.financing_offer.canceled":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capital.financing_offer"}},"description":"Occurs whenever a financing offer is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"capital.financing_offer.canceled"}},"capital.financing_offer.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capital.financing_offer"}},"description":"Occurs whenever a new financing offer is created for a connected account.","x-expandableFields":[],"x-stripeEvent":{"type":"capital.financing_offer.created"}},"capital.financing_offer.expired":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capital.financing_offer"}},"description":"Occurs whenever a financing offer expires.","x-expandableFields":[],"x-stripeEvent":{"type":"capital.financing_offer.expired"}},"capital.financing_offer.fully_repaid":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capital.financing_offer"}},"description":"Occurs whenever a financing offer is fully repaid.","x-expandableFields":[],"x-stripeEvent":{"type":"capital.financing_offer.fully_repaid"}},"capital.financing_offer.paid_out":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capital.financing_offer"}},"description":"Occurs whenever a financing offer is paid out.","x-expandableFields":[],"x-stripeEvent":{"type":"capital.financing_offer.paid_out"}},"capital.financing_offer.rejected":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capital.financing_offer"}},"description":"Occurs whenever a financing offer is rejected.","x-expandableFields":[],"x-stripeEvent":{"type":"capital.financing_offer.rejected"}},"capital.financing_offer.replacement_created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capital.financing_offer"}},"description":"Occurs whenever a replacement for a financing offer has been created. More details can be [found here](https://docs.stripe.com/capital/replacements).","x-expandableFields":[],"x-stripeEvent":{"type":"capital.financing_offer.replacement_created"}},"capital.financing_summary":{"title":"Financing Summary","required":["details","financing_offer","object","status"],"type":"object","properties":{"details":{"description":"Additional information about the financing summary. Describes currency, advance amount,\nfee amount, withhold rate, remaining amount, paid amount, current repayment interval,\nrepayment start date, and advance payout date.\n\nOnly present for financing offers with a `status` other than `none`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/capital_connect_financing_summary_details"}]},"financing_offer":{"maxLength":5000,"type":"string","description":"The unique identifier of the Financing Offer object that corresponds to the Financing Summary object.","nullable":true},"object":{"type":"string","description":"The object type: financing_summary","enum":["capital.financing_summary"]},"status":{"type":"string","description":"The financing status of the connected account.","nullable":true,"enum":["accepted","delivered","none"]}},"description":"A financing summary object describes a connected account's financing details in real time.","x-expandableFields":["details"],"x-resourceId":"capital.financing_summary","x-stableId":"capital_connect_financing_summary","x-stripeMostCommon":["details","financing_offer","object","status"],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/capital/financing_summary"}],"x-stripeResource":{"class_name":"FinancingSummary","in_package":"Capital"}},"capital.financing_transaction":{"title":"Financing Transaction","required":["account","created_at","details","financing_offer","id","livemode","object","type","user_facing_description"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The ID of the merchant associated with this financing transaction."},"created_at":{"type":"integer","description":"Time at which the financing transaction was created. Given in seconds since unix epoch.","format":"unix-time"},"details":{"$ref":"#/components/schemas/capital_connect_financing_transaction_details"},"financing_offer":{"maxLength":5000,"type":"string","description":"The Capital financing offer for this financing transaction.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"A unique identifier for the financing transaction object."},"legacy_balance_transaction_source":{"maxLength":5000,"type":"string","description":"The Capital transaction object that predates the Financing Transactions API and\ncorresponds with the balance transaction that was created as a result of this\nfinancing transaction."},"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":"The object type: financing_transaction","enum":["capital.financing_transaction"]},"type":{"type":"string","description":"The type of the financing transaction.","enum":["payment","payout","reversal"]},"user_facing_description":{"maxLength":5000,"type":"string","description":"A human-friendly description of the financing transaction.","nullable":true}},"description":"This is an object representing the details of a transaction on a Capital financing object.","x-expandableFields":["details"],"x-resourceId":"capital.financing_transaction","x-stableId":"capital_connect_financing_transaction","x-stripeMostCommon":["account","created_at","details","financing_offer","id","legacy_balance_transaction_source","livemode","object","type","user_facing_description"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/capital/financing_transactions"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/capital/financing_transactions/{financing_transaction}"}],"x-stripeResource":{"class_name":"FinancingTransaction","has_collection_class":true,"in_package":"Capital"}},"capital.financing_transaction.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capital.financing_transaction"}},"description":"Occurs whenever a financing transaction is created.","x-expandableFields":[],"x-stripeEvent":{"type":"capital.financing_transaction.created"}},"capital_connect_connect_financing_accepted_terms":{"title":"Financing accepted term","required":["advance_amount","currency","fee_amount","previous_financing_fee_discount_amount","withhold_rate"],"type":"object","properties":{"advance_amount":{"type":"integer","description":"Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000."},"currency":{"maxLength":5000,"type":"string","description":"Currency that the financing offer is transacted in. For example, `usd`."},"fee_amount":{"type":"integer","description":"Fixed fee amount, in minor units. For example, 100 USD is represented as 10000."},"previous_financing_fee_discount_amount":{"type":"integer","description":"Populated when the `product_type` of the `financingoffer` is `refill`.\nRepresents the discount amount on remaining premium for the existing loan at payout time.","nullable":true},"withhold_rate":{"type":"number","description":"Per-transaction rate at which Stripe withholds funds to repay the financing."}},"description":"This is an object representing the terms of an offer of financing from\nStripe Capital to a Connected account. This resource represents\nthe terms accepted by the Connected account, which may differ from those\noffered.","x-expandableFields":[],"x-stripeMostCommon":["advance_amount","currency","fee_amount","previous_financing_fee_discount_amount","withhold_rate"]},"capital_connect_connect_financing_offered_terms":{"title":"Financing offered term","required":["advance_amount","campaign_type","currency","fee_amount","previous_financing_fee_discount_rate","withhold_rate"],"type":"object","properties":{"advance_amount":{"type":"integer","description":"Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000."},"campaign_type":{"type":"string","description":"Describes the type of user the offer is being extended to.","enum":["newly_eligible_user","previously_eligible_user","repeat_user"]},"currency":{"maxLength":5000,"type":"string","description":"Currency that the financing offer is transacted in. For example, `usd`."},"fee_amount":{"type":"integer","description":"Fixed fee amount, in minor units. For example, 100 USD is represented as 10000."},"previous_financing_fee_discount_rate":{"type":"number","description":"Populated when the `product_type` of the `financingoffer` is `refill`.\nRepresents the discount rate percentage on remaining fee on the existing loan. When the `financing_offer`\nis paid out, the `previous_financing_fee_discount_amount` will be computed as the multiple of this rate\nand the remaining fee.","nullable":true},"withhold_rate":{"type":"number","description":"Per-transaction rate at which Stripe withholds funds to repay the financing."}},"description":"This is an object representing the terms of an offer of financing from\nStripe Capital to a Connected account. This resource represents\nboth the terms offered to the Connected account.","x-expandableFields":[],"x-stripeMostCommon":["advance_amount","campaign_type","currency","fee_amount","previous_financing_fee_discount_rate","withhold_rate"]},"capital_connect_financing_summary_current_repayment_window":{"title":"Current Repayment Interval","required":["due_at","paid_amount","remaining_amount"],"type":"object","properties":{"due_at":{"type":"number","description":"The time at which the minimum payment amount will be due. If not met through withholding, the Connected account's linked bank account or account balance will be debited.\nGiven in seconds since unix epoch."},"paid_amount":{"type":"integer","description":"The amount that has already been paid in the current repayment interval, in minor units. For example, 100 USD is represented as 10000.","nullable":true},"remaining_amount":{"type":"integer","description":"The amount that is yet to be paid in the current repayment interval, in minor units. For example, 100 USD is represented as 10000."}},"description":"The current repayment interval for the Connected account.","x-expandableFields":[],"x-stripeMostCommon":["due_at","paid_amount","remaining_amount"]},"capital_connect_financing_summary_details":{"title":"Financing Summary Detail","required":["advance_amount","advance_paid_out_at","currency","current_repayment_interval","fee_amount","paid_amount","remaining_amount","repayments_begin_at","withhold_rate"],"type":"object","properties":{"advance_amount":{"type":"integer","description":"Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000."},"advance_paid_out_at":{"type":"number","description":"The time at which the funds were paid out to the connected account's Stripe balance. Given in milliseconds since unix epoch.","nullable":true},"currency":{"maxLength":5000,"type":"string","description":"Currency that the financing offer is transacted in. For example, `usd`."},"current_repayment_interval":{"description":"The chronologically current repayment interval for the financing offer.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/capital_connect_financing_summary_current_repayment_window"}]},"disclaimer_variant":{"type":"string","description":"The type of disclaimer to use for a financing offer in user-facing surfaces. The corresponding disclaimer text to use for each disclaimer_variant value can be found in the [regulatory compliance docs](https://docs.stripe.com/capital/regulatory-compliance).","enum":["celtic_us_loan","fundbox_au_financing","fundbox_ca_financing","youlend_de_financing","youlend_fr_financing","youlend_uk_mca","youlend_us_mca"],"x-stripeEnum":{"kind":"open","values":[{"description":"Capital's Loan offers, issued by Celtic Bank in the US.","value":"celtic_us_loan"},{"description":"Capital financing offer provided by FundBox in Australia.","value":"fundbox_au_financing"},{"description":"Capital financing offer provided by FundBox in Canada.","value":"fundbox_ca_financing"},{"description":"Capital financing offer provided by YouLend in Germany.","value":"youlend_de_financing"},{"description":"Capital financing offer provided by YouLend in France.","value":"youlend_fr_financing"},{"description":"Capital offer provided by YouLend in the UK. The underlying financing may be a loan or a merchant cash advance.","value":"youlend_uk_mca"},{"description":"Capital offer provided by YouLend in the US.","value":"youlend_us_mca"}]}},"fee_amount":{"type":"integer","description":"Fixed fee amount, in minor units. For example, 100 USD is represented as 10000."},"paid_amount":{"type":"integer","description":"The amount the Connected account has paid toward the financing debt so far, in minor units. For example, 1,000 USD is represented as 100000."},"remaining_amount":{"type":"integer","description":"The balance remaining to be paid on the financing, in minor units. For example, 1,000 USD is represented as 100000."},"repayments_begin_at":{"type":"number","description":"The time at which Capital will begin withholding from payments. Given in seconds since unix epoch.","nullable":true},"withhold_rate":{"type":"number","description":"Per-transaction rate at which Stripe withholds funds to repay the financing."}},"description":"","x-expandableFields":["current_repayment_interval"],"x-stripeMostCommon":["advance_amount","advance_paid_out_at","currency","current_repayment_interval","disclaimer_variant","fee_amount","paid_amount","remaining_amount","repayments_begin_at","withhold_rate"]},"capital_connect_financing_transaction_details":{"title":"Financing Transaction Detail","required":["advance_amount","currency","fee_amount","total_amount"],"type":"object","properties":{"advance_amount":{"type":"integer","description":"The advance amount being repaid, paid out, or reversed in minor units."},"currency":{"maxLength":5000,"type":"string","description":"The currency of the financing transaction."},"fee_amount":{"type":"integer","description":"The fee amount being repaid, paid out, or reversed in minor units."},"linked_payment":{"maxLength":5000,"type":"string","description":"The linked payment for the transaction. This field only applies to financing transactions of type `payment` and reason `automatic_withholding`."},"reason":{"type":"string","description":"The reason for the financing transaction (if applicable).","enum":["automatic_withholding","automatic_withholding_refund","collection","collection_failure","financing_cancellation","refill","requested_by_user","user_initiated"],"x-stripeBypassValidation":true},"reversed_transaction":{"maxLength":5000,"type":"string","description":"The reversed transaction. This field only applies to financing\ntransactions of type `reversal`."},"total_amount":{"type":"integer","description":"The advance and fee amount being repaid, paid out, or reversed in minor units."},"transaction":{"$ref":"#/components/schemas/capital_connect_financing_transaction_details_transaction"}},"description":"This is an object representing a transaction on a Capital financing offer.","x-expandableFields":["transaction"],"x-stripeMostCommon":["advance_amount","currency","fee_amount","linked_payment","reason","reversed_transaction","total_amount","transaction"]},"capital_connect_financing_transaction_details_transaction":{"title":"Financing Transaction Details Transaction","type":"object","properties":{"charge":{"maxLength":5000,"type":"string","description":"The linked payment ID."},"treasury_transaction":{"maxLength":5000,"type":"string","description":"The linked Treasury Financing Transaction ID."}},"description":"This is an object representing a linked transaction on a Capital Financing Transaction.","x-expandableFields":[],"x-stripeMostCommon":["charge","treasury_transaction"]},"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`."},"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. (For internal use only and not typically available in standard API requests.)","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},"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"]},"redaction":{"description":"Redaction status of this card. If not null, this card is associated to a redaction job.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/abstract_card_api_resource_redaction"}]},"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","redaction"],"x-resourceId":"card","x-stableId":"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":{"india":{"$ref":"#/components/schemas/card_mandate_payment_method_details_india"}},"description":"","x-expandableFields":["india"],"x-stripeMostCommon":["india"]},"card_mandate_payment_method_details_india":{"title":"card_mandate_payment_method_details_india","required":["inactive_reason"],"type":"object","properties":{"inactive_reason":{"type":"string","description":"The reason why the mandate has an `inactive` status. This field is only populated if the mandate is inactive.","nullable":true,"enum":["canceled","card_not_supported","currency_not_supported","expired","issuer_not_supported","processing_error","undetermined"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["inactive_reason"],"x-stripeResource":{"class_name":"India","in_package":""}},"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-stableId":"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},"redaction":{"description":"Redaction status of this charge. If not null, this charge is associated to a redaction job.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/charge_api_resource_redaction"}]},"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.\nThe create and capture methods are deprecated and will be deleted soon. If your integration uses either of them, you need to update it to use a different payment flow, such as [the Payment Intents API](https://docs.stripe.com/payments/payment-intents).","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","redaction","refunds","review","shipping","source","source_transfer","transfer","transfer_data"],"x-resourceId":"charge","x-stableId":"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_api_resource_redaction":{"title":"ChargeAPIResourceRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"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":"Checkout Session","required":["adaptive_pricing","after_expiration","allow_promotion_codes","allowed_payment_method_types","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","managed_payments","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},"allowed_payment_method_types":{"type":"array","description":"A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"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_page` or `ui_mode: elements`. For `ui_mode: embedded_page`, the client secret is to be used when initializing Stripe.js embedded checkout.\n For `ui_mode: elements`, 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 `elements`.","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},"managed_payments":{"description":"Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_managed_payments"}]},"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 for sessions with mode `payment`. Defaults to `always`.","nullable":true,"enum":["always","if_required"],"x-stripeBypassValidation":true},"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},"redaction":{"description":"The redaction status of the Checkout Session. If the Session is not redacted, this field is null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_checkout_session_resource_resource_fields_redaction"}]},"redirect_on_completion":{"type":"string","description":"This parameter applies to `ui_mode: embedded_page`. 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_page` or `ui_mode: elements`. 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"],"x-stripeEnum":{"kind":"open","values":[{"description":"The checkout session is complete. Payment processing may still be in progress","value":"complete"},{"description":"The checkout session has expired. No further processing will occur","value":"expired"},{"description":"The checkout session is still in progress. Payment processing has not started","value":"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_page`. 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","managed_payments","name_collection","optional_items","payment_intent","payment_link","payment_method_configuration_details","payment_method_options","permissions","phone_number_collection","presentment_details","redaction","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-stableId":"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,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"}]}}},"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","off_session"]}},"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_decremental_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_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_decremental_authorization","request_extended_authorization","request_incremental_authorization","request_multicapture","request_overcapture","request_three_d_secure","restrictions","setup_future_usage","statement_descriptor_suffix_kana","statement_descriptor_suffix_kanji"]},"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_financial_connections_payment_method_options":{"title":"CheckoutFinancialConnectionsPaymentMethodOptions","required":["prefetch"],"type":"object","properties":{"filters":{"$ref":"#/components/schemas/checkout_financial_connections_payment_method_options_filters"},"manual_entry":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_financial_connections_common_linked_account_options_manual_entry"},"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"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"Data features requested to be retrieved upon account creation.","nullable":true,"items":{"type":"string","enum":["balances","inferred_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","manual_entry"],"x-stripeMostCommon":["filters","manual_entry","permissions","prefetch","return_url"]},"checkout_financial_connections_payment_method_options_filters":{"title":"CheckoutFinancialConnectionsPaymentMethodOptionsFilters","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"]}},"institution":{"maxLength":5000,"type":"string","description":"The institution to use to filter for possible accounts to link."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_subcategories","institution"]},"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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_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"]},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","preferred_locale","reference","setup_future_usage","subsellers"]},"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},"mandate_options":{"$ref":"#/components/schemas/payment_method_options_mandate_options_pix"},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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":["amount_includes_iof","expires_after_seconds","mandate_options","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"},{"description":"Use `off_session` if your customer may or may not be present in your checkout flow.","value":"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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_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_scalapay_payment_method_options":{"title":"CheckoutScalapayPaymentMethodOptions","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_sequra_payment_method_options":{"title":"CheckoutSequraPaymentMethodOptions","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_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"},"scalapay":{"$ref":"#/components/schemas/checkout_scalapay_payment_method_options"},"sepa_debit":{"$ref":"#/components/schemas/checkout_sepa_debit_payment_method_options"},"sequra":{"$ref":"#/components/schemas/checkout_sequra_payment_method_options"},"sofort":{"$ref":"#/components/schemas/checkout_sofort_payment_method_options"},"sunbit":{"$ref":"#/components/schemas/checkout_sunbit_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"},"wechat_pay":{"$ref":"#/components/schemas/checkout_wechat_pay_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","scalapay","sepa_debit","sequra","sofort","sunbit","swish","twint","upi","us_bank_account","wechat_pay"],"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","scalapay","sepa_debit","sequra","sofort","sunbit","swish","twint","upi","us_bank_account","wechat_pay"]},"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_sunbit_payment_method_options":{"title":"CheckoutSunbitPaymentMethodOptions","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_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","off_session"]}},"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/checkout_financial_connections_payment_method_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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["financial_connections"],"x-stripeMostCommon":["financial_connections","setup_future_usage","target_date","verification_method"]},"checkout_wechat_pay_payment_method_options":{"title":"CheckoutWechatPayPaymentMethodOptions","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,"x-stripeEnum":{"kind":"open","values":[{"description":"The end customer will pay from an Android app","value":"android"},{"description":"The end customer will pay from an iOS app","value":"ios"},{"description":"The end customer will pay from web browser","value":"web"}]}},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["app_id","client","setup_future_usage"]},"climate.order":{"title":"Climate order","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. If the year is in the past, the order is a spot purchase and will be delivered within 30 days of purchase."},"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-stableId":"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":"Climate product","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. If the year is in the past, this represents spot inventory with guaranteed delivery.","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-stableId":"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":"Climate supplier","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-stableId":"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":"Climate order delivery","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":"Confirmation Token","required":["created","expires_at","id","livemode","metadata","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"}]},"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.","nullable":true},"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-stableId":"confirmation_tokens","x-stripeMostCommon":["created","expires_at","id","livemode","mandate_data","metadata","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":"Mandate Data","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":"Customer Acceptance","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":"Online","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":"Payment Method Option","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":"Card","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":"Installment","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":"Payment Method Preview","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"},"bizum":{"$ref":"#/components/schemas/payment_method_bizum"},"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"},"gopay":{"$ref":"#/components/schemas/payment_method_gopay"},"grabpay":{"$ref":"#/components/schemas/payment_method_grabpay"},"id_bank_transfer":{"$ref":"#/components/schemas/payment_method_id_bank_transfer"},"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"},"paypay":{"$ref":"#/components/schemas/payment_method_paypay"},"payto":{"$ref":"#/components/schemas/payment_method_payto"},"pix":{"$ref":"#/components/schemas/payment_method_pix"},"promptpay":{"$ref":"#/components/schemas/payment_method_promptpay"},"qris":{"$ref":"#/components/schemas/payment_method_qris"},"rechnung":{"$ref":"#/components/schemas/payment_method_rechnung"},"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"},"scalapay":{"$ref":"#/components/schemas/payment_method_scalapay"},"sepa_debit":{"$ref":"#/components/schemas/payment_method_sepa_debit"},"sequra":{"$ref":"#/components/schemas/payment_method_sequra"},"shopeepay":{"$ref":"#/components/schemas/payment_method_shopeepay"},"sofort":{"$ref":"#/components/schemas/payment_method_sofort"},"stripe_balance":{"$ref":"#/components/schemas/payment_method_stripe_balance"},"sunbit":{"$ref":"#/components/schemas/payment_method_sunbit"},"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","bizum","blik","boleto","card","card_present","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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","bizum","blik","boleto","card","card_present","cashapp","crypto","customer","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeMostCommon":["billing_details","customer","customer_account","type"]},"confirmation_tokens_resource_shipping":{"title":"Shipping","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","balance_report","balances","disputes_list","documents","financial_account","financial_account_transactions","instant_payouts_promotion","issuing_card","issuing_cards_list","notification_banner","payment_details","payment_disputes","payment_method_settings","payments","payout_details","payout_reconciliation_report","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"},"balance_report":{"$ref":"#/components/schemas/connect_embedded_base_config_claim"},"balances":{"$ref":"#/components/schemas/connect_embedded_payouts_config"},"capital_financing":{"nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_embedded_base_config"}]},"capital_financing_application":{"nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_embedded_base_config"}]},"capital_financing_promotion":{"nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_embedded_base_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"},"payment_method_settings":{"$ref":"#/components/schemas/connect_embedded_payment_method_settings_config_claim"},"payments":{"$ref":"#/components/schemas/connect_embedded_payments_config_claim"},"payout_details":{"$ref":"#/components/schemas/connect_embedded_base_config_claim"},"payout_reconciliation_report":{"$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","balance_report","balances","capital_financing","capital_financing_application","capital_financing_promotion","disputes_list","documents","financial_account","financial_account_transactions","instant_payouts_promotion","issuing_card","issuing_cards_list","notification_banner","payment_details","payment_disputes","payment_method_settings","payments","payout_details","payout_reconciliation_report","payouts","payouts_list","tax_registrations","tax_settings"],"x-stripeMostCommon":["account_management","account_onboarding","balance_report","balances","capital_financing","capital_financing_application","capital_financing_promotion","disputes_list","documents","financial_account","financial_account_transactions","instant_payouts_promotion","issuing_card","issuing_cards_list","notification_banner","payment_details","payment_disputes","payment_method_settings","payments","payout_details","payout_reconciliation_report","payouts","payouts_list","tax_registrations","tax_settings"],"x-stripeResource":{"class_name":"Components","in_package":""}},"connect_embedded_base_config":{"title":"ConnectEmbeddedBaseConfig","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_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","smart_disputes_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."},"smart_disputes_management":{"type":"boolean","description":"Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management","smart_disputes_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","smart_disputes_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."},"smart_disputes_management":{"type":"boolean","description":"Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["destination_on_behalf_of_charge_management","dispute_management","refund_management","smart_disputes_management"],"x-stripeResource":{"class_name":"PaymentDisputesFeatures","in_package":""}},"connect_embedded_payment_method_settings_config_claim":{"title":"ConnectEmbeddedPaymentMethodSettingsConfigClaim","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_payment_method_settings_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"PaymentMethodSettingsConfig","in_package":""}},"connect_embedded_payment_method_settings_features":{"title":"ConnectEmbeddedPaymentMethodSettingsFeatures","required":["disable_stripe_user_authentication"],"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. This is `false` by default."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["disable_stripe_user_authentication"],"x-stripeResource":{"class_name":"PaymentMethodSettingsFeatures","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","smart_disputes_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."},"smart_disputes_management":{"type":"boolean","description":"Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management","smart_disputes_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":""}},"connect_risk_account_risk_control":{"title":"Account Risk Control API Resource","required":["pause_requested"],"type":"object","properties":{"pause_requested":{"type":"boolean","description":"Whether a pause of the risk control has been requested."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["pause_requested"]},"connect_risk_account_risk_controls":{"title":"Account Risk Controls Hash API Resource","required":["charges","payouts"],"type":"object","properties":{"charges":{"$ref":"#/components/schemas/connect_risk_account_risk_control"},"payouts":{"$ref":"#/components/schemas/connect_risk_account_risk_control"},"rejected_reason":{"type":"string","description":"Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://docs.stripe.com/connect/)","nullable":true,"enum":["credit","fraud","fraud_no_intent_to_fulfill","fraud_other","fraud_payment_method_casher","fraud_payment_method_tester","other","terms_of_service"]}},"description":"","x-expandableFields":["charges","payouts"],"x-stripeMostCommon":["charges","payouts","rejected_reason"]},"country_spec":{"title":"Country Spec","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-stableId":"connect_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},"script":{"description":"Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/script"}]},"times_redeemed":{"type":"integer","description":"Number of times this coupon has been applied to a customer."},"type":{"type":"string","description":"The type of coupon logic used to calculate the discount.","nullable":true,"enum":["amount_off","percent_off","script"],"x-stripeBypassValidation":true},"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://docs.stripe.com/api#subscriptions), [invoices](https://docs.stripe.com/api#invoices),\n[checkout sessions](https://docs.stripe.com/api/checkout/sessions), [quotes](https://docs.stripe.com/api#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","script"],"x-resourceId":"coupon","x-stableId":"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":"AppliesTo","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":"Credit Note","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"],"x-stripeBypassValidation":true},"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-stableId":"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":"Credit Note Line Item","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_calculation_reference":{"description":"The tax calculation identifiers of the line item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_integration_resource_tax_calculation_reference"}]},"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_calculation_reference","tax_rates","taxes"],"x-resourceId":"credit_note_line_item","x-stableId":"credit_note_line_item","x-stripeMostCommon":["amount","description","discount_amount","discount_amounts","id","invoice_line_item","livemode","metadata","object","pretax_credit_amounts","quantity","tax_calculation_reference","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":"Credit Note Refund","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"]},"credited_items_invoice_line_items":{"title":"CreditedItemsInvoiceLineItems","required":["invoice","invoice_line_items"],"type":"object","properties":{"invoice":{"maxLength":5000,"type":"string","description":"The invoice id for the debited line item(s)."},"invoice_line_items":{"type":"array","description":"IDs of the debited invoice line item(s) on the invoice that correspond to the credit proration.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["invoice","invoice_line_items"]},"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 billing 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"}},"redaction":{"description":"Redaction status of this customer. If not null, this customer is associated to a redaction job.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/customer_resource_customer_api_resource_redaction"}]},"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","redaction","shipping","sources","subscriptions","tax","tax_ids","test_clock"],"x-resourceId":"customer","x-stableId":"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.collection_paused":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"description":"Occurs whenever collection is paused on a customer's subscription. Only applies when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is paused, not when subscriptions enter `status=paused`.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.collection_paused"}},"customer.subscription.collection_resumed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"description":"Occurs whenever collection is resumed on a customer's subscription that is currently paused. Only applies when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed, not when subscriptions exit `status=paused`.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.collection_resumed"}},"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.custom_event":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"description":"An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.custom_event"}},"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.price_migration_failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"description":"Occurs whenever a price migration failed to transition prices on a subscription.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.price_migration_failed"}},"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 immediately when a trial is ended early (for example, with `trial_end=now` or when a Customer Portal plan change ends a trial). If a trial is shortened so that fewer than three days remain, this event can fire immediately, including during the same transaction that collects payment. Before sending payment-reminder communications from this webhook, check the subscription status and latest invoice to determine whether payment has already been collected.","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":"Customer Balance Transaction","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-stableId":"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":"Cash Balance Transaction","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-stableId":"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_resource_customer_api_resource_redaction":{"title":"CustomerResourceCustomerAPIResourceRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"customer_session":{"title":"Customer Session","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-stableId":"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":"Component","required":["active_entitlements","buy_button","customer_portal","customer_sheet","mobile_payment_element","payment_element","pricing_table"],"type":"object","properties":{"active_entitlements":{"$ref":"#/components/schemas/customer_session_resource_components_resource_active_entitlements"},"buy_button":{"$ref":"#/components/schemas/customer_session_resource_components_resource_buy_button"},"customer_portal":{"$ref":"#/components/schemas/customer_session_resource_components_resource_customer_portal"},"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"},"tax_id_element":{"$ref":"#/components/schemas/customer_session_resource_tax_id_element"}},"description":"Configuration for the components supported by this Customer Session.","x-expandableFields":["active_entitlements","buy_button","customer_portal","customer_sheet","mobile_payment_element","payment_element","pricing_table","tax_id_element"],"x-stripeMostCommon":["active_entitlements","buy_button","customer_portal","customer_sheet","mobile_payment_element","payment_element","pricing_table","tax_id_element"]},"customer_session_resource_components_resource_active_entitlements":{"title":"Active Entitlement","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the active entitlements is enabled."}},"description":"This hash contains whether the active entitlements is enabled.","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"customer_session_resource_components_resource_buy_button":{"title":"Buy Button","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_portal":{"title":"Customer Portal","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the customer portal is enabled."}},"description":"This hash contains whether the customer portal is enabled.","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"customer_session_resource_components_resource_customer_sheet":{"title":"Customer Sheet","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":"Feature","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":"Mobile Payment Element","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":"Feature","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":"Payment Element","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":"Feature","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":"Pricing Table","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_session_resource_tax_id_element":{"title":"Tax ID Element","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the Tax ID Element is enabled."},"features":{"description":"This hash defines whether the Tax ID Element supports certain features.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/customer_session_resource_tax_id_element_resource_features"}]}},"description":"This hash contains whether the Tax ID Element is enabled and the features it supports.","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"]},"customer_session_resource_tax_id_element_resource_features":{"title":"Tax ID Element Feature","required":["tax_id_redisplay","tax_id_save"],"type":"object","properties":{"tax_id_redisplay":{"type":"string","description":"Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`.\n\nWhen enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers.","enum":["disabled","enabled"],"x-stripeBypassValidation":true},"tax_id_save":{"type":"string","description":"Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`.\n\nWhen enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use.","enum":["disabled","enabled"],"x-stripeBypassValidation":true}},"description":"This hash defines whether the Tax ID Element supports certain features.","x-expandableFields":[],"x-stripeMostCommon":["tax_id_redisplay","tax_id_save"]},"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. Not 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 can't 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"]},"redaction":{"description":"Redaction status of this item. If not null, this item is associated to a redaction job.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/radar_list_redaction"}]}},"description":"","x-expandableFields":["redaction"],"x-resourceId":"deleted_radar.value_list_item","x-stripeMostCommon":["deleted","id","object","redaction"],"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_verifone_m425","simulated_verifone_p630","simulated_verifone_ux700","simulated_verifone_v660p","simulated_wisepos_e","stripe_m2","stripe_s700","stripe_s710","verifone_P400","verifone_m425","verifone_p630","verifone_ux700","verifone_v660p"],"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. Not 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 can't 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://docs.stripe.com/api#coupons) or [promotion code](https://docs.stripe.com/api#promotion_codes).\nIt contains information about when the discount began, when it will end, and what it is applied to.\n\nRelated guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts)","x-expandableFields":["customer","promotion_code","source"],"x-stableId":"discount","x-stripeMostCommon":["customer","customer_account","end","id","source","start","subscription"],"x-stripeResource":{"class_name":"Discount","in_package":""}},"discount_end":{"title":"DiscountEnd","required":["timestamp","type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"The discount end timestamp.","format":"unix-time","nullable":true},"type":{"type":"string","description":"The discount end type.","enum":["timestamp"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["timestamp","type"]},"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Coupon source type","value":"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"}]}},"discount_end":{"description":"Details to determine how long the discount should be applied for.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/discount_end"}]},"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","discount_end","promotion_code"],"x-stripeMostCommon":["coupon","discount","discount_end","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":["mastercard_compliance","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."},"intended_submission_method":{"type":"string","description":"Intended submission method for the dispute.","nullable":true,"enum":["manual","prefer_manual","prefer_smart_disputes","smart_disputes"],"x-stripeEnum":{"kind":"closed","values":[{"description":"You'll submit the manual packet if you upload evidence and won't ever use Smart Disputes to respond to the dispute.","value":"manual"},{"description":"You'll submit the manual packet if you upload evidence, but use Smart Disputes if you have no evidence to add to the dispute response.","value":"prefer_manual"},{"description":"You'll let Smart Disputes submit the dispute response if it detects Stripe evidence, but use the manual packet otherwise.","value":"prefer_smart_disputes"},{"description":"You'll let Smart Disputes submit the dispute response if it detects Stripe evidence, and won't use the manual packet.","value":"smart_disputes"}]}},"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)."},"smart_disputes":{"$ref":"#/components/schemas/dispute_smart_disputes"},"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,"x-stripeEnum":{"kind":"open","values":[{"description":"A dispute resolved in the customer's favor.","value":"lost"},{"description":"A dispute that requires a response.","value":"needs_response"},{"description":"A dispute that was prevented from becoming a formal chargeback.","value":"prevented"},{"description":"A dispute under review after evidence submission.","value":"under_review"},{"description":"An inquiry closed without becoming a formal dispute.","value":"warning_closed"},{"description":"An inquiry that requires a response.","value":"warning_needs_response"},{"description":"An inquiry under review after evidence submission.","value":"warning_under_review"},{"description":"A dispute resolved in the merchant's favor.","value":"won"}]}}},"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","smart_disputes"],"x-resourceId":"dispute","x-stableId":"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_appeal":{"title":"DisputeAppeal","type":"object","properties":{"card":{"$ref":"#/components/schemas/dispute_appeal_card"}},"description":"","x-expandableFields":["card"],"x-stripeMostCommon":["card"]},"dispute_appeal_card":{"title":"DisputeAppealCard","type":"object","properties":{"reason_for_filing":{"maxLength":20000,"type":"string","description":"The reason for filing the appeal."},"supporting_files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `dispute_evidence` to support the appeal.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reason_for_filing","supporting_files"]},"dispute_enhanced_eligibility":{"title":"DisputeEnhancedEligibility","type":"object","properties":{"mastercard_compliance":{"$ref":"#/components/schemas/dispute_enhanced_eligibility_mastercard_compliance"},"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":["mastercard_compliance","visa_compelling_evidence_3","visa_compliance"],"x-stripeMostCommon":["mastercard_compliance","visa_compelling_evidence_3","visa_compliance"]},"dispute_enhanced_eligibility_mastercard_compliance":{"title":"DisputeEnhancedEligibilityMastercardCompliance","required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Mastercard compliance eligibility status.","enum":["fee_acknowledged","requires_fee_acknowledgement"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The network fee for submitting evidence for Mastercard compliance disputes has been acknowledged. Submitting evidence for this dispute is permitted.","value":"fee_acknowledged"},{"description":"The network fee for submitting evidence for Mastercard compliance disputes has not been acknowledged. Submitting evidence for this dispute is not permitted.","value":"requires_fee_acknowledgement"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"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":{"mastercard_compliance":{"$ref":"#/components/schemas/dispute_enhanced_evidence_mastercard_compliance"},"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":["mastercard_compliance","visa_compelling_evidence_3","visa_compliance"],"x-stripeMostCommon":["mastercard_compliance","visa_compelling_evidence_3","visa_compliance"]},"dispute_enhanced_evidence_mastercard_compliance":{"title":"DisputeEnhancedEvidenceMastercardCompliance","required":["fee_acknowledged"],"type":"object","properties":{"fee_acknowledged":{"type":"boolean","description":"A field acknowledging the fee incurred when countering a Mastercard compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fee_acknowledged"]},"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},"appeal":{"$ref":"#/components/schemas/dispute_appeal"},"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":["appeal","cancellation_policy","customer_communication","customer_signature","duplicate_charge_documentation","enhanced_evidence","receipt","refund_policy","service_documentation","shipping_documentation","uncategorized_file"],"x-stableId":"dispute_evidence","x-stripeMostCommon":["access_activity_log","appeal","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."},"submission_method":{"type":"string","description":"Whether the dispute was submitted manually, with Smart Disputes, or not submitted.","enum":["manual","not_submitted","smart_disputes"]}},"description":"","x-expandableFields":["enhanced_eligibility"],"x-stripeMostCommon":["due_by","enhanced_eligibility","has_evidence","past_due","submission_count","submission_method"]},"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","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"A dispute opened by a cardholder that the card network blocked before it could become a chargeback.","value":"block"},{"description":"The action taken by a cardholder's bank to debit a business's account in response to a dispute from the cardholder. The debited funds are held until the dispute is resolved.","value":"chargeback"},{"description":"An action taken by the card network when they believe the merchant does not conform to network rules.","value":"compliance"},{"description":"A pre-dispute request from a card issuer, asking for information about a charge. Based on the response from the business, an inquiry might or might not escalate to a full chargeback. Inquiries are sometimes called retrievals or requests for information.","value":"inquiry"},{"description":"A dispute opened by a cardholder that was resolved (refunded) before it could become a chargeback.","value":"resolution"}]}},"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`."},"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","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_smart_disputes":{"title":"DisputeSmartDisputes","required":["recommended_evidence","status"],"type":"object","properties":{"recommended_evidence":{"type":"array","description":"Evidence that could be provided to improve the Smart Disputes packet","nullable":true,"items":{"type":"array","items":{"maxLength":5000,"type":"string"}}},"status":{"type":"string","description":"Smart Disputes auto representment packet availability status.","enum":["available","processing","requires_evidence","unavailable"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Smart Disputes packet is available for auto representment","value":"available"},{"description":"The system is processing provided evidence and analyzing whether the Smart Disputes packet is available","value":"processing"},{"description":"Smart Disputes packet can be made available with additional manual evidence","value":"requires_evidence"},{"description":"Smart Disputes packet is not available for auto representment","value":"unavailable"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["recommended_evidence","status"]},"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":"Active Entitlement","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-stableId":"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":"Active Entitlement summary","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-stableId":"active_entitlement_summary","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-stableId":"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":"Ephemeral Key","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":"Ephemeral keys give the SDKs (like Stripe's mobile SDKs and Issuing Elements) temporary, scoped access to a specific\nresource, such as a Customer, Issuing Card, or Identity VerificationSession, without exposing your secret API key.\n\nRelated guides: [Using Issuing Elements](https://docs.stripe.com/issuing/elements).","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":"Event","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."},"reason":{"description":"Information about the action that causes the event. Only present when the event is triggered by an API request or an [Automation](https://docs.stripe.com/billing/automations) action.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/notification_event_reason"}]},"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","account_notice.created","account_notice.updated","application_fee.created","application_fee.refund.updated","application_fee.refunded","apps.install.created","apps.install.deleted","apps.install.updated","balance.available","balance_settings.updated","billing.alert.triggered","billing.credit_balance_transaction.created","billing.credit_grant.created","billing.credit_grant.updated","billing.meter.created","billing.meter.deactivated","billing.meter.reactivated","billing.meter.updated","billing_portal.configuration.created","billing_portal.configuration.updated","billing_portal.session.created","capability.updated","capital.financing_offer.accepted","capital.financing_offer.accepted_other_offer","capital.financing_offer.canceled","capital.financing_offer.created","capital.financing_offer.expired","capital.financing_offer.fully_repaid","capital.financing_offer.paid_out","capital.financing_offer.rejected","capital.financing_offer.replacement_created","capital.financing_summary.line_of_credit_update","capital.financing_transaction.created","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.collection_paused","customer.subscription.collection_resumed","customer.subscription.created","customer.subscription.custom_event","customer.subscription.deleted","customer.subscription.paused","customer.subscription.pending_update_applied","customer.subscription.pending_update_expired","customer.subscription.price_migration_failed","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.expected_deactivation_date_updated","financial_connections.account.reactivated","financial_connections.account.refreshed_balance","financial_connections.account.refreshed_inferred_balances","financial_connections.account.refreshed_ownership","financial_connections.account.refreshed_transactions","financial_connections.account.supported_payment_method_types_updated","financial_connections.account.upcoming_account_number_expiry","financial_connections.account.upcoming_deactivation","financial_connections.authorization.expected_deactivation_date_updated","financial_connections.authorization.upcoming_deactivation","financial_connections.session.updated","fx_quote.expired","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.overpaid","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.detached","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_dispute_settlement_detail.created","issuing_dispute_settlement_detail.updated","issuing_fraud_liability_debit.created","issuing_personalization_design.activated","issuing_personalization_design.deactivated","issuing_personalization_design.rejected","issuing_personalization_design.updated","issuing_settlement.created","issuing_settlement.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","privacy.redaction_job.canceled","privacy.redaction_job.created","privacy.redaction_job.ready","privacy.redaction_job.succeeded","privacy.redaction_job.validation_error","product.created","product.deleted","product.updated","promotion_code.created","promotion_code.updated","quote.accept_failed","quote.accepted","quote.accepting","quote.canceled","quote.created","quote.draft","quote.finalized","quote.reestimate_failed","quote.reestimated","quote.stale","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.price_migration_failed","subscription_schedule.released","subscription_schedule.updated","tax.form.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","reason","request"],"x-resourceId":"event","x-stableId":"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":"Exchange Rate","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-stableId":"exchange_rate_v1","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":"delete","method_on":"service","method_type":"delete","operation":"delete","path":"/v1/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":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/external_accounts"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/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}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/external_accounts"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v1/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":"Fields that are `currently_due` and need to be collected again because validation or verification failed.","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`, `tax`, or `withheld_tax`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","application","currency","description","type"]},"fee_refund":{"title":"Application Fee Refund","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-stableId":"connect_application_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"]}},"feedback_options_status_transitions":{"title":"FeedbackOptionsStatusTransitions","required":["deactivated_at"],"type":"object","properties":{"deactivated_at":{"type":"integer","description":"The time the feedback option was deactivated, if any. Measured in seconds since Unix epoch.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["deactivated_at"]},"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://docs.stripe.com/api#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://docs.stripe.com/api#create_file) request\n(for example, when uploading dispute evidence). Stripe also\ncreates files independently (for example, the results of a [Sigma scheduled\nquery](#scheduled_queries)).\n\nRelated guide: [File upload guide](https://docs.stripe.com/file-upload)","x-expandableFields":["links"],"x-resourceId":"file","x-stableId":"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":"File Link","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-stableId":"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":"Account","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"}},"authorization":{"maxLength":5000,"type":"string","description":"The ID of the Financial Connections Authorization this account belongs to."},"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."},"inferred_balances_refresh":{"description":"The state of the most recent attempt to refresh the account's inferred balance history.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/bank_connections_resource_inferred_balances_refresh"}]},"institution":{"description":"The ID of the Financial Connections Institution this account belongs to. Note that this relationship may sometimes change in rare circumstances (e.g. institution mergers).","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/financial_connections.institution"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/financial_connections.institution"}]}},"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"]},"status_details":{"$ref":"#/components/schemas/bank_connections_resource_account_status_details"},"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":["balance","inferred_balances","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","inferred_balances_refresh","institution","ownership","ownership_refresh","status_details","transaction_refresh"],"x-resourceId":"financial_connections.account","x-stableId":"financial_connections_account","x-stripeMostCommon":["account_holder","account_numbers","authorization","balance","balance_refresh","category","created","display_name","id","inferred_balances_refresh","institution","institution_name","last4","livemode","object","ownership","ownership_refresh","permissions","status","status_details","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.expected_deactivation_date_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when a Financial Connections account’s `expected_deactivation_date` changes.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.expected_deactivation_date_updated"}},"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_inferred_balances":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.refreshed_inferred_balances"}},"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.supported_payment_method_types_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when the supported_payment_method_types array on a Financial Connections account changes.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.supported_payment_method_types_updated"}},"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.upcoming_deactivation":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when a Financial Connections account is about to become `inactive`.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.upcoming_deactivation"}},"financial_connections.account_inferred_balance":{"title":"Inferred Account Balance","required":["as_of","current","id","object"],"type":"object","properties":{"as_of":{"type":"integer","description":"The time for which this balance was calculated, measured in seconds since the Unix epoch. If the balance was computed by Stripe and not provided directly by a financial institution, it will always be 23:59:59 UTC.","format":"unix-time"},"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."},"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_inferred_balance"]}},"description":"A historical balance for the account on a particular day. It may be sourced from a balance snapshot provided by a financial institution, or inferred using transactions data.","x-expandableFields":[],"x-resourceId":"financial_connections.account_inferred_balance","x-stableId":"financial_connections_inferred_balance","x-stripeMostCommon":["as_of","current","id"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/financial_connections/accounts/{account}/inferred_balances"}],"x-stripeResource":{"class_name":"AccountInferredBalance","has_collection_class":true,"in_package":"FinancialConnections"}},"financial_connections.account_owner":{"title":"Account Owner","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-stableId":"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":"Account Ownership","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-stableId":"financial_connections_account_ownership","x-stripeMostCommon":["created","id","object","owners"],"x-stripeResource":{"class_name":"AccountOwnership","in_package":"FinancialConnections"}},"financial_connections.authorization":{"title":"Authorization","required":["id","institution_name","livemode","object","status","status_details"],"type":"object","properties":{"account_holder":{"description":"The account holder that this authorization belongs to.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/bank_connections_resource_accountholder"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"institution":{"description":"The ID of the Financial Connections Institution this account belongs to. Note that this relationship may sometimes change in rare circumstances (e.g. institution mergers).","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/financial_connections.institution"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/financial_connections.institution"}]}},"institution_name":{"maxLength":5000,"type":"string","description":"The name of the institution that this authorization belongs to."},"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.authorization"]},"status":{"type":"string","description":"The status of the connection to the Authorization.","enum":["active","disconnected","inactive"]},"status_details":{"$ref":"#/components/schemas/bank_connections_resource_authorization_status_details"}},"description":"An Authorization represents the set of credentials used to connect a group of Financial Connections Accounts.","x-expandableFields":["account_holder","institution","status_details"],"x-resourceId":"financial_connections.authorization","x-stableId":"financial_connections_authorization","x-stripeMostCommon":["account_holder","id","institution","institution_name","livemode","object","status","status_details"],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/financial_connections/authorizations/{authorization}"}],"x-stripeResource":{"class_name":"Authorization","in_package":"FinancialConnections"}},"financial_connections.authorization.expected_deactivation_date_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.authorization"}},"description":"Occurs when a Financial Connections authorization’s `expected_deactivation_date` changes.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.authorization.expected_deactivation_date_updated"}},"financial_connections.authorization.upcoming_deactivation":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.authorization"}},"description":"Occurs when a Financial Connections authorization is about to become `inactive`.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.authorization.upcoming_deactivation"}},"financial_connections.institution":{"title":"Institution","required":["countries","features","id","livemode","name","object","routing_numbers","status","url"],"type":"object","properties":{"countries":{"type":"array","description":"The list of countries supported by this institution, formatted as ISO country codes.","items":{"maxLength":5000,"type":"string"}},"features":{"$ref":"#/components/schemas/bank_connections_resource_institution_feature_support"},"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 name of this institution."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["financial_connections.institution"]},"routing_numbers":{"type":"array","description":"A list of routing numbers which are known to correspond to this institution. Due to the many to many relationship between institutions and routing numbers, this list may not be comprehensive and routing numbers may also be shared between institutions.","items":{"maxLength":5000,"type":"string"}},"status":{"type":"string","description":"The status of this institution in the Financial Connections authentication flow.","enum":["active","degraded","inactive"]},"url":{"maxLength":5000,"type":"string","description":"A URL corresponding to this institution. This URL is also displayed in the authentication flow to help end users confirm that they are authenticating with the right institution.","nullable":true}},"description":"An institution represents a financial institution to which an end user can connect using the Financial Connections authentication flow.","x-expandableFields":["features"],"x-resourceId":"financial_connections.institution","x-stableId":"financial_connections_institution","x-stripeMostCommon":["countries","features","id","livemode","name","object","routing_numbers","status","url"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/financial_connections/institutions"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/financial_connections/institutions/{institution}"}],"x-stripeResource":{"class_name":"Institution","has_collection_class":true,"in_package":"FinancialConnections"}},"financial_connections.session":{"title":"Session","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"]},"bank_account_token":{"$ref":"#/components/schemas/token"},"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"},"hosted":{"description":"Settings for the Hosted UI mode.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/bank_connections_resource_link_account_session_hosted"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"limits":{"$ref":"#/components/schemas/bank_connections_resource_link_account_session_limits"},"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`."},"manual_entry":{"$ref":"#/components/schemas/bank_connections_resource_link_account_session_manual_entry"},"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","inferred_balances","ownership","transactions"],"x-stripeBypassValidation":true}},"relink_options":{"$ref":"#/components/schemas/bank_connections_resource_link_account_session_relink_options"},"relink_result":{"$ref":"#/components/schemas/bank_connections_resource_link_account_session_relink_result"},"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."},"status":{"type":"string","description":"The current state of the session.","enum":["cancelled","failed","pending","succeeded"]},"status_details":{"$ref":"#/components/schemas/bank_connections_resource_link_account_session_status_details"},"ui_mode":{"type":"string","description":"The UI mode for this session.","enum":["hosted","modal"]},"url":{"maxLength":5000,"type":"string","description":"The hosted URL for this Session. Redirect customers to this URL to take them to the hosted authentication flow. This value is only present when the Session is active and the `ui_mode` is `hosted`.","nullable":true}},"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","bank_account_token","filters","hosted","limits","manual_entry","relink_options","relink_result","status_details"],"x-resourceId":"financial_connections.session","x-stableId":"financial_connections_session","x-stripeMostCommon":["account_holder","accounts","bank_account_token","client_secret","filters","hosted","id","limits","livemode","manual_entry","object","permissions","prefetch","relink_options","relink_result","return_url","status","status_details","ui_mode","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.session.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.session"}},"description":"Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.session.updated"}},"financial_connections.transaction":{"title":"Transaction","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-stableId":"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":"ForwardedRequestDetail","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":"ForwardedResponseDetail","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-stableId":"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":"Funding Instruction","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":"ABARecord","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","chaps","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":"IbanRecord","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":"SortCodeRecord","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":"SpeiRecord","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":"SWIFTRecord","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":"ZenginRecord","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"]},"fx_quote":{"title":"FX Quote","required":["created","id","livemode","lock_duration","lock_expires_at","lock_status","object","rates","to_currency","usage"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the quote 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`."},"lock_duration":{"type":"string","description":"The duration that the quote is locked for, from creation time. The quote will be usable for the duration specified.","enum":["day","five_minutes","hour","none"]},"lock_expires_at":{"type":"integer","description":"Time at which the quote will expire, measured in seconds since the Unix epoch.\n\nIf lock_duration is set to ‘none’ this field will be set to null.","format":"unix-time","nullable":true},"lock_status":{"type":"string","description":"Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp.\n\nCan return value none, active, or expired.","enum":["active","expired","none"]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["fx_quote"]},"rates":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/fx_quote_rate"},"description":"Information about the rates."},"to_currency":{"maxLength":5000,"type":"string","description":"The currency to convert into, typically this is the currency that you want to settle to your Stripe balance. Three-letter ISO currency code, in lowercase. Must be a supported currency."},"usage":{"$ref":"#/components/schemas/fx_quote_usage"}},"description":"The FX Quotes API provides three functions:\n- View Stripe's current exchange rate for any given currency pair.\n- Extend quoted rates for up to a 24-hour period, minimizing uncertainty from FX fluctuations.\n- Preview the FX fees Stripe will charge on your FX transaction, allowing you to anticipate specific settlement amounts before payment costs.\n\n[View the docs](/payments/currencies/localize-prices/fx-quotes-api)","x-expandableFields":["rates","usage"],"x-resourceId":"fx_quote","x-stableId":"fx_quote","x-stripeMostCommon":["id","lock_duration","rates","to_currency"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/fx_quotes"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/fx_quotes/{id}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/fx_quotes"}],"x-stripeResource":{"class_name":"FxQuote","has_collection_class":true,"in_package":""}},"fx_quote.expired":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/fx_quote"}},"description":"Occurs when FX Quote's lock_status field transitions to 'Expired'.","x-expandableFields":[],"x-stripeEvent":{"type":"fx_quote.expired"}},"fx_quote_rate":{"title":"FXQuoteRate","required":["exchange_rate","rate_details"],"type":"object","properties":{"exchange_rate":{"type":"number","description":"The rate that includes the FX fee rate."},"rate_details":{"$ref":"#/components/schemas/fx_quote_rate_details"}},"description":"","x-expandableFields":["rate_details"],"x-stripeMostCommon":["exchange_rate","rate_details"]},"fx_quote_rate_details":{"title":"FXQuoteRateDetails","required":["base_rate","duration_premium","fx_fee_rate","reference_rate","reference_rate_provider"],"type":"object","properties":{"base_rate":{"type":"number","description":"The rate for the currency pair."},"duration_premium":{"type":"number","description":"The fee for locking the conversion rates."},"fx_fee_rate":{"type":"number","description":"The FX fee for the currency pair."},"reference_rate":{"type":"number","description":"A reference rate for the currency pair provided by the reference rate provider.","nullable":true},"reference_rate_provider":{"type":"string","description":"The reference rate provider.","nullable":true,"enum":["ecb"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["base_rate","duration_premium","fx_fee_rate","reference_rate","reference_rate_provider"]},"fx_quote_usage":{"title":"FXQuoteUsage","required":["payment","transfer","type"],"type":"object","properties":{"payment":{"description":"The details required to use an FX Quote for a payment","nullable":true,"anyOf":[{"$ref":"#/components/schemas/fx_quote_usage_payment"}]},"transfer":{"description":"The details required to use an FX Quote for a transfer","nullable":true,"anyOf":[{"$ref":"#/components/schemas/fx_quote_usage_transfer"}]},"type":{"type":"string","description":"The transaction type for which the FX Quote will be used.\n\nCan be 'payment' or 'transfer'.","enum":["payment","transfer"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["payment","transfer"],"x-stripeMostCommon":["payment","transfer","type"]},"fx_quote_usage_payment":{"title":"FXQuoteUsagePayment","required":["destination","on_behalf_of"],"type":"object","properties":{"destination":{"maxLength":5000,"type":"string","description":"The Stripe account ID that the funds will be transferred to.\n\nThis field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field.","nullable":true},"on_behalf_of":{"maxLength":5000,"type":"string","description":"The Stripe account ID that these funds are intended for.\n\nThis field must match the account ID that would be used in the PaymentIntent’s on_behalf_of field.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["destination","on_behalf_of"]},"fx_quote_usage_transfer":{"title":"FXQuoteUsageTransfer","required":["destination"],"type":"object","properties":{"destination":{"maxLength":5000,"type":"string","description":"The Stripe account ID that the funds will be transferred to.\n\nThis field should match the account ID that would be used in the Transfer’s destination field."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["destination"]},"gelato_data_document_report_date_of_birth":{"title":"Date","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":"Date","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":"Date","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":"Date","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":"Date","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":"DocumentCheckResult","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":"EmailCheckResult","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"],"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_id_number_report":{"title":"IdNumberCheckResult","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":"PhoneCheckResult","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"],"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_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":"SelfieCheckResult","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":"SessionLastError","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":"VerificationReport","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-stableId":"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":"VerificationSession","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-stableId":"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_billing_evaluation_client_device_metadata":{"title":"Client Device Metadata Detail","required":["radar_session"],"type":"object","properties":{"radar_session":{"maxLength":5000,"type":"string","description":"ID for the Radar Session associated with the billing 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.","nullable":true}},"description":"Client device metadata attached to this billing evaluation.","x-expandableFields":[],"x-stripeMostCommon":["radar_session"]},"insights_resources_billing_evaluation_customer_details":{"title":"Customer Detail","required":["customer","customer_account","data"],"type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The ID of the customer whose upcoming payment was evaluated.","nullable":true},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the Account representing the customer whose upcoming payment was evaluated.","nullable":true},"data":{"description":"Attributes of the customer being evaluated, as supplied on the request. Null when the customer was identified by `customer` or `customer_account`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_billing_evaluation_customer_details_data"}]}},"description":"Details of the customer this billing evaluation assesses.","x-expandableFields":["data"],"x-stripeMostCommon":["customer","customer_account","data"]},"insights_resources_billing_evaluation_customer_details_data":{"title":"Customer Details Data","required":["email","name","phone"],"type":"object","properties":{"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":"Attributes of the customer this billing evaluation assesses.","x-expandableFields":[],"x-stripeMostCommon":["email","name","phone"]},"insights_resources_billing_evaluation_money_movement_details":{"title":"Money Movement Detail","required":["card","money_movement_type"],"type":"object","properties":{"card":{"description":"Describes card money movement details.","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"The money movement details for a card payment.","value":"card"}]}}},"description":"Money movement details attached to this billing evaluation.","x-expandableFields":["card"],"x-stripeMostCommon":["card","money_movement_type"]},"insights_resources_billing_evaluation_payment_details":{"title":"Payment Detail","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_billing_evaluation_money_movement_details"}]},"payment_method_details":{"description":"Details about the payment method that will be charged.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_billing_evaluation_payment_method_details"}]},"shipping_details":{"description":"Shipping details for the billing 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 for the upcoming charge this billing evaluation assesses.","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_billing_evaluation_payment_method_details":{"title":"Payment Method Detail","required":["billing_details","payment_method"],"type":"object","properties":{"billing_details":{"description":"Billing information associated with the billing evaluation.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_payment_evaluation_billing_details"}]},"payment_method":{"maxLength":5000,"type":"string","description":"The payment method that will be charged.","nullable":true}},"description":"Payment method details attached to this billing evaluation.","x-expandableFields":["billing_details"],"x-stripeMostCommon":["billing_details","payment_method"]},"insights_resources_billing_evaluation_signal_non_payment_abuse":{"title":"Billing Evaluation Non-Payment Abuse Signal","required":["evaluated_at","risk_level"],"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.","enum":["elevated","highest","low","normal","not_assessed","unknown"],"x-stripeEnum":{"kind":"open","values":[{"description":"This signal's score is in the elevated range.","value":"elevated"},{"description":"This signal's score is in the highest range.","value":"highest"},{"description":"This signal's score is in the low range.","value":"low"},{"description":"This signal's score is in the normal range.","value":"normal"},{"description":"This signal was not assessed.","value":"not_assessed"},{"description":"This signal's risk level is unknown.","value":"unknown"}]}}},"description":"Stripe Radar's assessment of the non-payment abuse risk of the upcoming charge, with `evaluated_at` and `risk_level` fields.","x-expandableFields":[],"x-stripeMostCommon":["evaluated_at","risk_level"]},"insights_resources_billing_evaluation_signals":{"title":"Billing Evaluation Signal","required":["non_payment_abuse"],"type":"object","properties":{"non_payment_abuse":{"description":"Stripe Radar's assessment of the likelihood that the upcoming charge results in non-payment abuse.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_billing_evaluation_signal_non_payment_abuse"}]}},"description":"Stripe Radar's signals for the upcoming charge this billing evaluation assesses.","x-expandableFields":["non_payment_abuse"],"x-stripeMostCommon":["non_payment_abuse"]},"insights_resources_payment_evaluation_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":"Address data.","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"insights_resources_payment_evaluation_billing_details":{"title":"Billing Details Resource","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 the payment method.","x-expandableFields":["address"],"x-stripeMostCommon":["address","email","name","phone"]},"insights_resources_payment_evaluation_client_device_metadata":{"title":"Client Device Metadata Detail","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.","nullable":true}},"description":"Client device metadata attached to this payment evaluation.","x-expandableFields":[],"x-stripeMostCommon":["radar_session"]},"insights_resources_payment_evaluation_customer_details":{"title":"Customer Detail","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":"Dispute Opened","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":"Early Fraud Warning Received","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":"Event","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":"Merchant Blocked","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":"Money Movement Card","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":"Money Movement Detail","required":["card","money_movement_type"],"type":"object","properties":{"card":{"description":"Describes card money movement details.","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.","enum":["card"],"x-stripeBypassValidation":true}},"description":"Money Movement details attached to this payment.","x-expandableFields":["card"],"x-stripeMostCommon":["card","money_movement_type"]},"insights_resources_payment_evaluation_outcome":{"title":"Outcome","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","rerouted","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":"Payment Detail","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":"Payment Method Detail","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":"Refunded","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":"Rejected","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":"Rejected Card","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":"Shipping Detail","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":"Payment Evaluation Signal","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","low","normal","not_assessed","unknown"],"x-stripeEnum":{"kind":"open","values":[{"description":"This signal's score is in the elevated range.","value":"elevated"},{"description":"This signal's score is in the highest range.","value":"highest"},{"description":"This signal's score is in the low range.","value":"low"},{"description":"This signal's score is in the normal range.","value":"normal"},{"description":"This signal was not assessed.","value":"not_assessed"},{"description":"This signal's risk level is unknown.","value":"unknown"}]}},"score":{"type":"number","description":"Numeric score for this signal, returned with two decimal places. Possible values for evaluated payments are between 0 and 100, where higher scores indicate a higher likelihood of the signal being true.","nullable":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":"Payment Evaluation Signal","required":["early_fraud_warning","fraudulent_dispute","fraudulent_payment"],"type":"object","properties":{"early_fraud_warning":{"description":"The likelihood that this `PaymentEvaluation` results in an early fraud warning.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_payment_evaluation_signal_v2"}]},"fraudulent_dispute":{"description":"The likelihood that this `PaymentEvaluation` results in a dispute with reason code `fraudulent`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_payment_evaluation_signal_v2"}]},"fraudulent_payment":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_signal_v2"}},"description":"Collection of signals for this payment evaluation.","x-expandableFields":["early_fraud_warning","fraudulent_dispute","fraudulent_payment"],"x-stripeMostCommon":["early_fraud_warning","fraudulent_dispute","fraudulent_payment"]},"insights_resources_payment_evaluation_succeeded":{"title":"Succeeded","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":"Succeeded Card","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":"User Intervention Raised","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":"User Intervention Raised Custom","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":"User Intervention Resolved","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_paid_off_stripe":{"type":"integer","description":"Amount, in cents (or local equivalent), that was paid on the invoice outside of Stripe."},"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."},"amounts_due":{"type":"array","description":"List of expected payments and corresponding due dates. This value will be null for invoices where collection_method=charge_automatically.","nullable":true,"items":{"$ref":"#/components/schemas/payment_plan_amount"}},"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_margins":{"type":"array","description":"The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin.","nullable":true,"items":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/margin"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/margin"}]}}},"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":"The latest timestamp at which invoice items can be associated with this 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":"The earliest timestamp at which invoice items can be associated with this 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 invoices render in customer-facing interfaces such as the PDF or 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_details":{"$ref":"#/components/schemas/invoices_resource_status_details"},"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_margin_amounts":{"type":"array","description":"The aggregate amounts calculated per margin across all line items.","nullable":true,"items":{"$ref":"#/components/schemas/margins_resource_margin_amount"}},"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://docs.stripe.com/api#invoiceitems), and proration adjustments\nthat may be caused by subscription upgrades/downgrades (if necessary).\n\nIf your invoice is configured to be billed through automatic charges,\nStripe automatically finalizes your invoice and attempts payment. Note\nthat finalizing the invoice,\n[when automatic](https://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","amounts_due","application","automatic_tax","confirmation_secret","custom_fields","customer","customer_address","customer_shipping","customer_tax_ids","default_margins","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_details","status_transitions","subscription","test_clock","threshold_reason","total_discount_amounts","total_margin_amounts","total_pretax_credit_amounts","total_taxes"],"x-resourceId":"invoice","x-stableId":"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":"detach_payment","method_on":"service","method_type":"custom","operation":"post","path":"/v1/invoices/{invoice}/detach_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.overpaid":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice_payment"}},"description":"Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.payment.overpaid"}},"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_proration_credited_items":{"title":"InvoiceItemProrationCreditedItems","required":["type"],"type":"object","properties":{"invoice_item":{"maxLength":5000,"type":"string","description":"When `type` is `invoice_item`, the invoice item id for the debited invoice item corresponding to this credit proration."},"invoice_line_item_details":{"$ref":"#/components/schemas/credited_items_invoice_line_items"},"type":{"type":"string","description":"Whether the credit references a pending invoice item or one or more invoice line items on an invoice.","enum":["invoice_item","invoice_line_items"]}},"description":"","x-expandableFields":["invoice_line_item_details"],"x-stripeMostCommon":["invoice_item","invoice_line_item_details","type"]},"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":"Invoice Payment","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://docs.stripe.com/api#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-stableId":"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.detached":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice_payment"}},"description":"Occurs when an InvoicePayment is detached from an invoice.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice_payment.detached"}},"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_billie":{"title":"invoice_payment_method_options_billie","type":"object","properties":{"company_details":{"$ref":"#/components/schemas/invoice_payment_method_options_billie_company_details"},"reference":{"maxLength":5000,"type":"string","description":"An identifier or reference that this payment corresponds to.","nullable":true}},"description":"","x-expandableFields":["company_details"],"x-stripeMostCommon":["company_details","reference"]},"invoice_payment_method_options_billie_company_details":{"title":"invoice_payment_method_options_billie_company_details","required":["registered_name","registration_number","vat"],"type":"object","properties":{"registered_address":{"$ref":"#/components/schemas/invoice_payment_method_options_billie_company_details_registered_address"},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name.","nullable":true},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type.","nullable":true},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Switzerland Enterprise Identification Number","value":"ch_ein"},{"description":"Germany Handelsregisternummer","value":"de_hrb"},{"description":"Denmark CVR number","value":"dk_cvr"},{"description":"Spain Código de Identificación Fiscal","value":"es_cif"},{"description":"Finland Business ID","value":"fi_tunnus"},{"description":"France SIREN code","value":"fr_siren"},{"description":"France SIRET code","value":"fr_siret"},{"description":"Italy Economic and Administrative Directory (REA)","value":"it_rea"},{"description":"Netherlands KvK number","value":"nl_kvk"},{"description":"Norway Registration Number (companies)","value":"no_org_number"},{"description":"Norway Personal Identification Number (persons)","value":"no_pno"},{"description":"Sweden Registration Number (companies)","value":"se_org_number"},{"description":"Sweden Personal Identity Number","value":"se_pno"},{"description":"United Kingdom Company Registration Number","value":"uk_crn"}]}},"vat":{"maxLength":5000,"type":"string","description":"VAT ID number.","nullable":true}},"description":"","x-expandableFields":["registered_address"],"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},"invoice_payment_method_options_billie_company_details_registered_address":{"title":"invoice_payment_method_options_billie_company_details_registered_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.","nullable":true},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (for example, street, PO Box, or company name).","nullable":true},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (for example, 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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"invoice_payment_method_options_blik":{"title":"invoice_payment_method_options_blik","type":"object","properties":{},"description":"","x-expandableFields":[]},"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_id_bank_transfer":{"title":"invoice_payment_method_options_id_bank_transfer","type":"object","properties":{},"description":"","x-expandableFields":[]},"invoice_payment_method_options_konbini":{"title":"invoice_payment_method_options_konbini","type":"object","properties":{},"description":"","x-expandableFields":[]},"invoice_payment_method_options_mandate_options_upi":{"title":"invoice_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"]},"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_pix":{"title":"invoice_payment_method_options_pix","required":["amount_includes_iof"],"type":"object","properties":{"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax.","nullable":true,"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."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_includes_iof","expires_after_seconds"]},"invoice_payment_method_options_sepa_debit":{"title":"invoice_payment_method_options_sepa_debit","type":"object","properties":{},"description":"","x-expandableFields":[]},"invoice_payment_method_options_upi":{"title":"invoice_payment_method_options_upi","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/invoice_payment_method_options_mandate_options_upi"}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options"]},"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"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"Data features requested to be retrieved upon account creation.","nullable":true,"items":{"type":"string","enum":["balances","inferred_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"]}},"institution":{"maxLength":5000,"type":"string","description":"The institution to use to filter for possible accounts to link."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_subcategories","institution"]},"invoice_rendering_pdf":{"title":"Invoice Rendering Pdf Resource","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":"Invoice Rendering Template","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-stableId":"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":["custom_fields","days_until_due","description","footer","issuer"],"type":"object","properties":{"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"}},"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},"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":{"$ref":"#/components/schemas/connect_account_reference"}},"description":"","x-expandableFields":["custom_fields","issuer"],"x-stripeMostCommon":["custom_fields","days_until_due","description","footer","issuer"]},"invoice_setting_subscription_schedule_phase_setting":{"title":"InvoiceSettingSubscriptionSchedulePhaseSetting","required":["account_tax_ids","custom_fields","days_until_due","description","footer","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"}]}}},"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"}},"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},"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"}]}},"description":"","x-expandableFields":["account_tax_ids","custom_fields","issuer"],"x-stripeMostCommon":["account_tax_ids","custom_fields","days_until_due","description","footer","issuer"]},"invoice_setting_subscription_schedule_setting":{"title":"InvoiceSettingSubscriptionScheduleSetting","required":["account_tax_ids","custom_fields","days_until_due","description","footer","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"}]}}},"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"}},"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},"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":{"$ref":"#/components/schemas/connect_account_reference"}},"description":"","x-expandableFields":["account_tax_ids","custom_fields","issuer"],"x-stripeMostCommon":["account_tax_ids","custom_fields","days_until_due","description","footer","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":"Invoice Item","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"}]}}},"frozen_fields":{"type":"array","description":"Array of field names that can't be modified. Attempting to update a frozen field returns an error.","items":{"type":"string","enum":["discounts","pricing","quantity"]}},"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"}]}},"invoicing_rules":{"type":"array","description":"The rules that control when this invoice item is eligible for invoicing. All rules must be satisfied for the item to be invoiced.","items":{"$ref":"#/components/schemas/invoicing_rule"}},"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`."},"margins":{"type":"array","description":"The margins which apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item.","nullable":true,"items":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/margin"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/margin"}]}}},"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","invoicing_rules","margins","parent","period","pricing","proration_details","tax_rates","test_clock"],"x-resourceId":"invoiceitem","x-stableId":"invoice_item","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","pix","sepa_debit","upi","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"}]},"billie":{"description":"If paying by `billie`, this sub-hash contains details about the Billie payment method options to pass to the invoice’s PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_billie"}]},"blik":{"description":"If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice’s PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_blik"}]},"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"}]},"id_bank_transfer":{"description":"If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_id_bank_transfer"}]},"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"}]},"pix":{"description":"If paying by `pix`, this sub-hash contains details about the Pix payment method options to pass to the invoice’s PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_pix"}]},"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"}]},"upi":{"description":"If paying by `upi`, this sub-hash contains details about the UPI payment method options to pass to the invoice’s PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_upi"}]},"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","billie","blik","card","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account"],"x-stripeMostCommon":["acss_debit","bancontact","billie","blik","card","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","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","alipay","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","id_bank_transfer","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","mb_way","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_balance","swish","twint","upi","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`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `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`, `ic_nif`, 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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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"}]}},"margin":{"description":"The margin that was applied to get this pretax credit amount.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/margin"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/margin"}]}},"type":{"type":"string","description":"Type of the pretax credit amount referenced.","enum":["credit_balance_transaction","discount","margin"]}},"description":"","x-expandableFields":["credit_balance_transaction","discount","margin"],"x-stripeMostCommon":["amount","credit_balance_transaction","discount","margin","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_details":{"title":"InvoicesResourceStatusDetails","type":"object","properties":{"uncollectible":{"$ref":"#/components/schemas/invoices_resource_uncollectible_status_details"}},"description":"","x-expandableFields":["uncollectible"],"x-stripeMostCommon":["uncollectible"]},"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"]},"invoices_resource_uncollectible_status_details":{"title":"InvoicesResourceUncollectibleStatusDetails","required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"The reason why the invoice is uncollectible.","nullable":true,"enum":["max_payment_attempts","payment_not_received","subscription_canceled","subscription_paused","user_forgiven"],"x-stripeEnum":{"kind":"open","values":[{"description":"The maximum number of payment attempts was reached.","value":"max_payment_attempts"},{"description":"Payment was not received for the invoice.","value":"payment_not_received"},{"description":"The subscription associated with the invoice was canceled.","value":"subscription_canceled"},{"description":"The subscription associated with the invoice had `pause_collection` set.","value":"subscription_paused"},{"description":"The invoice was marked uncollectible by the user.","value":"user_forgiven"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reason"]},"invoicing_rule":{"title":"InvoicingRule","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of invoicing rule.","enum":["defer_until_credited_items_resolved"],"x-stripeEnum":{"kind":"open","values":[{"description":"Defers invoicing of this credit proration item until the referenced credited items are resolved.\n\nIf the credited items are of type `invoice_line_item`, the referenced invoice must be paid for this rule to be satisfied.\n\nIf the credited items are of type `invoice_item`, the referenced invoice item must be invoiced alongside this credit proration item or on an already paid invoice for this rule to be satisfied.","value":"defer_until_credited_items_resolved"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"issuing.authorization":{"title":"Authorization","required":["amount","amount_details","approved","authorization_method","balance_transactions","card","card_presence","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"},"card_presence":{"type":"string","description":"Whether the card was present at the point of sale for the authorization.","nullable":true,"enum":["not_present","present"],"x-stripeEnum":{"kind":"open","values":[{"description":"The card was not present at the point of sale.","value":"not_present"},{"description":"The card was present at the point of sale.","value":"present"}]}},"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"}]},"redaction":{"description":"Redaction status of this authorization. If the authorization is not redacted, this field will be null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_redaction"}]},"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","redaction","request_history","token","transactions","treasury","verification_data"],"x-resourceId":"issuing.authorization","x-stableId":"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":"Card","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","fulfillment_error","lost","stolen"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"The design of this card was rejected by Stripe for violating our [partner guidelines](https://docs.stripe.com/issuing/cards/physical#design-review).","value":"design_rejected"},{"description":"There was an error in fulfilling the card. This reason is only valid for cards of type `physical`.","value":"fulfillment_error"},{"description":"The card was lost.","value":"lost"},{"description":"The card was stolen.","value":"stolen"}]}},"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"}]}},"redaction":{"description":"Redaction status of this card. If not null, this card is associated to a redaction job.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_card_redaction"}]},"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","fulfillment_error","lost","stolen"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"The physical card has been damaged and cannot be used at terminals. This reason is only valid for cards of type `physical`.","value":"damaged"},{"description":"The expiration date has passed or is imminent.","value":"expired"},{"description":"There was an error in fulfilling the card. This reason is only valid for cards of type `physical`.","value":"fulfillment_error"},{"description":"The card was lost. This status is only valid if the card it replaces is marked as lost.","value":"lost"},{"description":"The card was stolen. This status is only valid if the card it replaces is marked as stolen.","value":"stolen"}]}},"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","redaction","replaced_by","replacement_for","shipping","spending_controls","wallets"],"x-resourceId":"issuing.card","x-stableId":"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":"Cardholder","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 `de`, `en`, `es`, `fr`, or `it`.\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}},"redaction":{"description":"Redaction status of this cardholder. If the cardholder is not redacted, this field will be null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_cardholder_redaction"}]},"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","redaction","requirements","spending_controls"],"x-resourceId":"issuing.cardholder","x-stableId":"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.credit_underwriting_record":{"title":"Credit Underwriting Record","required":["application","created","created_from","credit_user","decided_at","decision","decision_deadline","id","livemode","metadata","object","regulatory_reporting_file","underwriting_exception"],"type":"object","properties":{"application":{"description":"For decisions triggered by an application, details about the submission.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_compliance_credit_underwriting_record_application"}]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"created_from":{"type":"string","description":"The event that triggered the underwriting.","enum":["application","proactive_review"]},"credit_user":{"$ref":"#/components/schemas/issuing_compliance_credit_underwriting_record_credit_user"},"decided_at":{"type":"integer","description":"Date when a decision was made.","format":"unix-time","nullable":true},"decision":{"description":"Details about the decision.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_compliance_credit_underwriting_record_decision"}]},"decision_deadline":{"type":"integer","description":"For underwriting initiated by an application, a decision must be taken 30 days after the submission.","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.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.credit_underwriting_record"]},"regulatory_reporting_file":{"maxLength":5000,"type":"string","description":"File containing regulatory reporting data for the decision. Required if you are subject to this [reporting requirement](https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions).","nullable":true},"underwriting_exception":{"description":"If an exception to the usual underwriting criteria was made for this application, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_compliance_credit_underwriting_record_underwriting_exception"}]}},"description":"Every time an applicant submits an application for a Charge Card product your platform offers, or every time your platform takes a proactive credit decision on an existing account, you must record the decision by creating a new `CreditUnderwritingRecord` object on a connected account.\n\n[Follow the guide](https://docs.stripe.com/issuing/credit/report-credit-decisions-and-manage-aans) to learn about your requirements as a platform.","x-expandableFields":["application","credit_user","decision","underwriting_exception"],"x-resourceId":"issuing.credit_underwriting_record","x-stableId":"issuing_credit_underwriting_record","x-stripeMostCommon":["application","credit_user","decided_at","decision","decision_deadline","id","metadata"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/issuing/credit_underwriting_records"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/issuing/credit_underwriting_records/{credit_underwriting_record}"},{"method_name":"correct","method_on":"service","method_type":"custom","operation":"post","path":"/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/correct"},{"method_name":"report_decision","method_on":"service","method_type":"custom","operation":"post","path":"/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/report_decision"},{"method_name":"create_from_application","method_on":"service","method_type":"custom","operation":"post","path":"/v1/issuing/credit_underwriting_records/create_from_application"},{"method_name":"create_from_proactive_review","method_on":"service","method_type":"custom","operation":"post","path":"/v1/issuing/credit_underwriting_records/create_from_proactive_review"}],"x-stripeResource":{"class_name":"CreditUnderwritingRecord","has_collection_class":true,"in_package":"Issuing"}},"issuing.dispute":{"title":"Dispute","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"]},"redaction":{"description":"Redaction status of this dispute. If the dispute is not redacted, this field will be null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_dispute_redaction"}]},"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](https://docs.stripe.com/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","redaction","transaction","treasury"],"x-resourceId":"issuing.dispute","x-stableId":"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.dispute_settlement_detail":{"title":"Dispute Settlement Detail","required":["amount","card","created","currency","dispute","event_type","id","livemode","network","network_data","object","settlement"],"type":"object","properties":{"amount":{"type":"integer","description":"Disputed amount in the card’s currency and in the smallest currency unit. Usually the amount of the transaction, but can differ (usually because of currency fluctuation)."},"card":{"maxLength":5000,"type":"string","description":"The card used to make the original 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 original transaction was made in. Three-letter [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":{"maxLength":5000,"type":"string","description":"The ID of the linked dispute."},"event_type":{"type":"string","description":"The type of event corresponding to this dispute settlement detail, representing the stage in the dispute network lifecycle.","enum":["filing","loss","representment","win"]},"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`."},"network":{"type":"string","description":"The card network for this dispute settlement detail. One of [\"visa\", \"mastercard\", \"maestro\"]","enum":["maestro","mastercard","visa"]},"network_data":{"description":"Details about the transaction, such as processing dates, set by the card network.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_dispute_settlement_detail_network_data"}]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.dispute_settlement_detail"]},"settlement":{"maxLength":5000,"type":"string","description":"The ID of the linked card network settlement.","nullable":true}},"description":"Represents a record from the card network of a money movement or change in state for an Issuing dispute. These records are included in the settlement reports that we receive from networks and expose to users as Settlement objects.","x-expandableFields":["network_data"],"x-resourceId":"issuing.dispute_settlement_detail","x-stableId":"issuing_dispute_settlement_detail","x-stripeMostCommon":["dispute","event_type","id","settlement"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/issuing/dispute_settlement_details"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/issuing/dispute_settlement_details/{dispute_settlement_detail}"}],"x-stripeResource":{"class_name":"DisputeSettlementDetail","has_collection_class":true,"in_package":"Issuing"}},"issuing.fraud_liability_debit":{"title":"Fraud Liability Debit","required":["amount","balance_transaction","created","currency","dispute","id","livemode","object"],"type":"object","properties":{"amount":{"type":"integer","description":"Debited amount. This is equal to the disputed amount and is given in the card’s currency and in the smallest currency unit."},"balance_transaction":{"description":"ID of the [balance transaction](https://docs.stripe.com/api/balance_transactions) associated with this debit.","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":"The currency of the debit. Three-letter [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":{"maxLength":5000,"type":"string","description":"The ID of the linked 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`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.fraud_liability_debit"]}},"description":"A fraud liability debit occurs when Stripe debits a platform's account for fraud losses on Issuing transactions.","x-expandableFields":["balance_transaction"],"x-resourceId":"issuing.fraud_liability_debit","x-stableId":"issuing_fraud_liability_debit","x-stripeMostCommon":["amount","currency","dispute","id"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/issuing/fraud_liability_debits"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/issuing/fraud_liability_debits/{fraud_liability_debit}"}],"x-stripeResource":{"class_name":"FraudLiabilityDebit","has_collection_class":true,"in_package":"Issuing"}},"issuing.personalization_design":{"title":"Personalization Design","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`. Image must be in PNG format with dimensions of 1000px by 200px. It must be a binary (black and white) image containing a black logo on a white background. We don't accept grayscale.","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-stableId":"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":"Physical Bundle","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-stableId":"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.settlement":{"title":"Settlement","required":["bin","clearing_date","created","currency","id","interchange_fees_amount","livemode","metadata","net_total_amount","network","network_fees_amount","network_settlement_identifier","object","settlement_service","status","transaction_amount","transaction_count"],"type":"object","properties":{"bin":{"maxLength":5000,"type":"string","description":"The Bank Identification Number reflecting this settlement record."},"clearing_date":{"type":"integer","description":"The date that the transactions are cleared and posted to user's accounts.","format":"unix-time"},"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."},"interchange_fees_amount":{"type":"integer","description":"The total interchange received as reimbursement for the transactions."},"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."},"net_total_amount":{"type":"integer","description":"The total net amount required to settle with the network."},"network":{"type":"string","description":"The card network for this settlement report. One of [\"visa\", \"maestro\", \"mastercard\"]","enum":["maestro","mastercard","visa"]},"network_fees_amount":{"type":"integer","description":"The total amount of fees owed to the network."},"network_settlement_identifier":{"maxLength":5000,"type":"string","description":"The Settlement Identification Number assigned by the network."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.settlement"]},"other_fees_amount":{"type":"integer","description":"The total amount of any additional fees assessed by the card network."},"other_fees_count":{"type":"integer","description":"The total number of additional fees assessed by the card network."},"settlement_service":{"maxLength":5000,"type":"string","description":"One of `international` or `uk_national_net`."},"status":{"type":"string","description":"The current processing status of this settlement.","enum":["complete","pending"]},"transaction_amount":{"type":"integer","description":"The total transaction amount reflected in this settlement."},"transaction_count":{"type":"integer","description":"The total number of transactions reflected in this settlement."}},"description":"When a non-stripe BIN is used, any use of an [issued card](https://docs.stripe.com/issuing) must be settled directly with the card network. The net amount owed is represented by an Issuing `Settlement` object.","x-expandableFields":[],"x-stableId":"issuing_settlement","x-stripeMostCommon":["bin","clearing_date","currency","id","metadata","net_total_amount"],"x-stripeResource":{"class_name":"Settlement","in_package":"Issuing"}},"issuing.token":{"title":"Token","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-stableId":"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":"Transaction","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"}]},"redaction":{"description":"Redaction status of this transaction. If the transaction is not redacted, this field will be null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_redaction"}]},"settlement":{"description":"The ID of the [settlement](https://docs.stripe.com/api/issuing/settlements) to which this transaction belongs.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.settlement"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.settlement"}]}},"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","redaction","settlement","token","treasury"],"x-resourceId":"issuing.transaction","x-stableId":"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. For verification authorizations, this event is only accessible via private preview.","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. For verification authorizations, this event is only accessible via private preview.","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"],"x-stripeBypassValidation":true},"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"],"x-stripeBypassValidation":true}},"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_redaction":{"title":"IssuingAuthorizationRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"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","stripe_internal_error","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_card_presences","allowed_categories","allowed_merchant_countries","blocked_card_presences","blocked_categories","blocked_merchant_countries","spending_limits","spending_limits_currency"],"type":"object","properties":{"allowed_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control.","nullable":true,"items":{"type":"string","enum":["not_present","present"]}},"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_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control.","nullable":true,"items":{"type":"string","enum":["not_present","present"]}},"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_card_presences","allowed_categories","allowed_merchant_countries","blocked_card_presences","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"The card's credentials were used successfully in a card testing attempt. Requires [Advanced Fraud Tools](https://docs.stripe.com/issuing/controls/advanced-fraud-tools).","value":"card_testing_exposure"},{"description":"The cardholder filed a fraud dispute for a transaction","value":"fraud_dispute_filed"},{"description":"The card was reported compromised by a third party","value":"third_party_reported"},{"description":"The cardholder indicated that a fraudulent transaction occurred. Requires [Advanced Fraud Tools](https://docs.stripe.com/issuing/controls/advanced-fraud-tools).","value":"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_redaction":{"title":"IssuingCardRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"issuing_card_shipping":{"title":"IssuingCardShipping","required":["address","address_validation","business_name","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"}]},"business_name":{"maxLength":5000,"type":"string","description":"The name of the business at the shipping address, used on the shipping label to ensure delivery when the card is shipped to a cardholder's workplace.","nullable":true},"carrier":{"type":"string","description":"The delivery company that shipped a card.","nullable":true,"enum":["correos","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","business_name","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_card_presences","allowed_categories","allowed_merchant_countries","blocked_card_presences","blocked_categories","blocked_merchant_countries","spending_limits","spending_limits_currency"],"type":"object","properties":{"allowed_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control.","nullable":true,"items":{"type":"string","enum":["not_present","present"]}},"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_card_presences":{"type":"array","description":"Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control.","nullable":true,"items":{"type":"string","enum":["not_present","present"]}},"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_card_presences","allowed_categories","allowed_merchant_countries","blocked_card_presences","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://docs.stripe.com/issuing/compliance-us#issuing-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://docs.stripe.com/api#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://docs.stripe.com/api#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_redaction":{"title":"IssuingCardholderRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"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_compliance_credit_underwriting_record_application":{"title":"IssuingComplianceCreditUnderwritingRecordApplication","required":["application_method","purpose","submitted_at"],"type":"object","properties":{"application_method":{"type":"string","description":"The channel through which the applicant has submitted their application.","enum":["in_person","mail","online","phone"]},"purpose":{"type":"string","description":"Scope of demand made by the applicant.","enum":["credit_limit_increase","credit_line_opening"],"x-stripeBypassValidation":true},"submitted_at":{"type":"integer","description":"Date when the applicant submitted their application.","format":"unix-time"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["purpose","submitted_at"]},"issuing_compliance_credit_underwriting_record_credit_user":{"title":"IssuingComplianceCreditUnderwritingRecordCreditUser","required":["email","name"],"type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"Email of the applicant or accountholder."},"name":{"maxLength":5000,"type":"string","description":"Full name of the company or person."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["email","name"]},"issuing_compliance_credit_underwriting_record_decision":{"title":"IssuingComplianceCreditUnderwritingRecordDecision","required":["application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed","type"],"type":"object","properties":{"application_rejected":{"description":"Details about a decision application_rejected.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_compliance_credit_underwriting_record_decision_type_application_rejected"}]},"credit_limit_approved":{"description":"Details about a decision credit_limit_approved.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_compliance_credit_underwriting_record_decision_type_credit_limit_approved"}]},"credit_limit_decreased":{"description":"Details about a decision credit_limit_decreased.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_compliance_credit_underwriting_record_decision_type_credit_limit_decreased"}]},"credit_line_closed":{"description":"Details about a decision credit_line_closed.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_compliance_credit_underwriting_record_decision_type_credit_line_closed"}]},"type":{"type":"string","description":"Outcome of the decision.","enum":["additional_information_requested","application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed","no_changes","withdrawn_by_applicant"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed"],"x-stripeMostCommon":["application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed","type"]},"issuing_compliance_credit_underwriting_record_decision_type_application_rejected":{"title":"IssuingComplianceCreditUnderwritingRecordDecisionTypeApplicationRejected","required":["reason_other_explanation","reasons"],"type":"object","properties":{"reason_other_explanation":{"maxLength":5000,"type":"string","description":"Details about the `reasons.other` when present.","nullable":true},"reasons":{"type":"array","description":"List of reasons why the application was rejected up to 4 reasons, in order of importance.","items":{"type":"string","enum":["applicant_is_not_beneficial_owner","applicant_too_young","application_is_not_beneficial_owner","bankruptcy","business_size_too_small","current_account_tier_ineligible","customer_already_exists","customer_requested_account_closure","debt_to_cash_balance_ratio_too_high","debt_to_equity_ratio_too_high","delinquent_credit_obligations","dispute_rate_too_high","duration_of_residence","excessive_income_or_revenue_obligations","expenses_to_cash_balance_ratio_too_high","foreclosure_or_repossession","frozen_file_at_credit_bureau","garnishment_or_attachment","government_loan_program_criteria","high_concentration_of_clients","high_risk_industry","incomplete_application","inconsistent_monthly_revenues","insufficient_account_history_with_platform","insufficient_bank_account_history","insufficient_cash_balance","insufficient_cash_flow","insufficient_collateral","insufficient_credit_experience","insufficient_deposits","insufficient_income","insufficient_margin_ratio","insufficient_operating_profit","insufficient_period_in_operation","insufficient_reserves","insufficient_revenue","insufficient_social_media_performance","insufficient_time_in_network","insufficient_trade_credit_insurance","invalid_business_license","lacking_cash_account","late_payment_history_reported_to_bureau","lien_collection_action_or_judgement","negative_public_information","no_credit_file","other","outside_supported_country","outside_supported_state","poor_payment_history_with_platform","prior_or_current_legal_action","prohibited_industry","rate_of_cash_balance_fluctuation_too_high","recent_inquiries_on_business_credit_report","removal_of_bank_account_connection","revenue_discrepancy","runway_too_short","suspected_fraud","too_many_non_sufficient_funds_or_overdrafts","unable_to_verify_address","unable_to_verify_identity","unable_to_verify_income_or_revenue","unprofitable","unsupportable_business_type"],"x-stripeBypassValidation":true}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reason_other_explanation","reasons"]},"issuing_compliance_credit_underwriting_record_decision_type_credit_limit_approved":{"title":"IssuingComplianceCreditUnderwritingRecordDecisionTypeCreditLimitApproved","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"Credit amount approved. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy)."},"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"]},"issuing_compliance_credit_underwriting_record_decision_type_credit_limit_decreased":{"title":"IssuingComplianceCreditUnderwritingRecordDecisionTypeCreditLimitDecreased","required":["amount","currency","reason_other_explanation","reasons"],"type":"object","properties":{"amount":{"type":"integer","description":"Credit amount approved after decrease. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy)."},"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_other_explanation":{"maxLength":5000,"type":"string","description":"Details about the `reasons.other` when present.","nullable":true},"reasons":{"type":"array","description":"List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.","items":{"type":"string","enum":["applicant_is_not_beneficial_owner","applicant_too_young","application_is_not_beneficial_owner","bankruptcy","business_size_too_small","change_in_financial_state","change_in_utilization_of_credit_line","current_account_tier_ineligible","customer_already_exists","customer_requested_account_closure","debt_to_cash_balance_ratio_too_high","debt_to_equity_ratio_too_high","decrease_in_income_to_expense_ratio","decrease_in_social_media_performance","delinquent_credit_obligations","dispute_rate_too_high","duration_of_residence","exceeds_acceptable_platform_exposure","excessive_income_or_revenue_obligations","expenses_to_cash_balance_ratio_too_high","foreclosure_or_repossession","frozen_file_at_credit_bureau","garnishment_or_attachment","government_loan_program_criteria","has_recent_credit_limit_increase","high_concentration_of_clients","high_risk_industry","incomplete_application","inconsistent_monthly_revenues","insufficient_account_history_with_platform","insufficient_bank_account_history","insufficient_cash_balance","insufficient_cash_flow","insufficient_collateral","insufficient_credit_experience","insufficient_credit_utilization","insufficient_deposits","insufficient_income","insufficient_margin_ratio","insufficient_operating_profit","insufficient_period_in_operation","insufficient_reserves","insufficient_revenue","insufficient_social_media_performance","insufficient_time_in_network","insufficient_trade_credit_insurance","insufficient_usage_as_qualified_expenses","invalid_business_license","lacking_cash_account","late_payment_history_reported_to_bureau","lien_collection_action_or_judgement","negative_public_information","no_credit_file","other","outside_supported_country","outside_supported_state","poor_payment_history_with_platform","prior_or_current_legal_action","prohibited_industry","rate_of_cash_balance_fluctuation_too_high","recent_inquiries_on_business_credit_report","removal_of_bank_account_connection","revenue_discrepancy","runway_too_short","suspected_fraud","too_many_non_sufficient_funds_or_overdrafts","unable_to_verify_address","unable_to_verify_identity","unable_to_verify_income_or_revenue","unprofitable","unsupportable_business_type"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency","reason_other_explanation","reasons"]},"issuing_compliance_credit_underwriting_record_decision_type_credit_line_closed":{"title":"IssuingComplianceCreditUnderwritingRecordDecisionTypeCreditLineClosed","required":["reason_other_explanation","reasons"],"type":"object","properties":{"reason_other_explanation":{"maxLength":5000,"type":"string","description":"Details about the `reasons.other` when present.","nullable":true},"reasons":{"type":"array","description":"List of reasons why the existing account was closed, up to 4 reasons, in order of importance.","items":{"type":"string","enum":["applicant_is_not_beneficial_owner","applicant_too_young","application_is_not_beneficial_owner","bankruptcy","business_size_too_small","change_in_financial_state","change_in_utilization_of_credit_line","current_account_tier_ineligible","customer_already_exists","customer_requested_account_closure","debt_to_cash_balance_ratio_too_high","debt_to_equity_ratio_too_high","decrease_in_income_to_expense_ratio","decrease_in_social_media_performance","delinquent_credit_obligations","dispute_rate_too_high","duration_of_residence","exceeds_acceptable_platform_exposure","excessive_income_or_revenue_obligations","expenses_to_cash_balance_ratio_too_high","foreclosure_or_repossession","frozen_file_at_credit_bureau","garnishment_or_attachment","government_loan_program_criteria","has_recent_credit_limit_increase","high_concentration_of_clients","high_risk_industry","incomplete_application","inconsistent_monthly_revenues","insufficient_account_history_with_platform","insufficient_bank_account_history","insufficient_cash_balance","insufficient_cash_flow","insufficient_collateral","insufficient_credit_experience","insufficient_credit_utilization","insufficient_deposits","insufficient_income","insufficient_margin_ratio","insufficient_operating_profit","insufficient_period_in_operation","insufficient_reserves","insufficient_revenue","insufficient_social_media_performance","insufficient_time_in_network","insufficient_trade_credit_insurance","insufficient_usage_as_qualified_expenses","invalid_business_license","lacking_cash_account","late_payment_history_reported_to_bureau","lien_collection_action_or_judgement","negative_public_information","no_credit_file","other","outside_supported_country","outside_supported_state","poor_payment_history_with_platform","prior_or_current_legal_action","prohibited_industry","rate_of_cash_balance_fluctuation_too_high","recent_inquiries_on_business_credit_report","removal_of_bank_account_connection","revenue_discrepancy","runway_too_short","suspected_fraud","too_many_non_sufficient_funds_or_overdrafts","unable_to_verify_address","unable_to_verify_identity","unable_to_verify_income_or_revenue","unprofitable","unsupportable_business_type"],"x-stripeBypassValidation":true}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reason_other_explanation","reasons"]},"issuing_compliance_credit_underwriting_record_underwriting_exception":{"title":"IssuingComplianceCreditUnderwritingRecordUnderwritingException","required":["explanation","original_decision_type"],"type":"object","properties":{"explanation":{"maxLength":5000,"type":"string","description":"Written explanation for the exception."},"original_decision_type":{"type":"string","description":"The decision before the exception was applied.","enum":["additional_information_requested","application_rejected","credit_limit_approved","credit_limit_decreased","credit_line_closed","no_changes","withdrawn_by_applicant"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["explanation","original_decision_type"]},"issuing_compliance_notice_email":{"title":"IssuingComplianceNoticeEmail","required":["plain_text","recipient","subject"],"type":"object","properties":{"plain_text":{"maxLength":10000,"type":"string","description":"Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use."},"recipient":{"maxLength":5000,"type":"string","description":"Email address of the recipient."},"subject":{"maxLength":5000,"type":"string","description":"Subject of the email."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["plain_text","recipient","subject"]},"issuing_compliance_notice_linked_objects":{"title":"IssuingComplianceNoticeLinkedObjects","required":["capability","issuing_dispute"],"type":"object","properties":{"capability":{"maxLength":5000,"type":"string","description":"Associated [Capability](https://docs.stripe.com/api/capabilities)","nullable":true},"issuing_credit_underwriting_record":{"maxLength":5000,"type":"string","description":"Associated [Credit Underwriting Record](https://docs.stripe.com/api/issuing/credit_underwriting_record)","nullable":true},"issuing_dispute":{"maxLength":5000,"type":"string","description":"Associated [Issuing Dispute](https://docs.stripe.com/api/issuing/disputes)","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capability","issuing_credit_underwriting_record","issuing_dispute"]},"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_redaction":{"title":"IssuingDisputeRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"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_settlement_detail.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.dispute_settlement_detail"}},"description":"Emitted when the DisputeSettlementDetail object is created","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_dispute_settlement_detail.created"}},"issuing_dispute_settlement_detail.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.dispute_settlement_detail"}},"description":"Emitted when the DisputeSettlementDetail object is updated","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_dispute_settlement_detail.updated"}},"issuing_dispute_settlement_detail_network_data":{"title":"IssuingDisputeSettlementDetailNetworkData","required":["processing_date"],"type":"object","properties":{"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}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["processing_date"]},"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_fraud_liability_debit.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.fraud_liability_debit"}},"description":"Occurs whenever funds are deducted from your account for fraud dispute loss liability.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_fraud_liability_debit.created"}},"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_settlement.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.settlement"}},"description":"Occurs whenever an issuing settlement is created.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_settlement.created"}},"issuing_settlement.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.settlement"}},"description":"Occurs whenever an issuing settlement is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_settlement.updated"}},"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 multiplied 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_redaction":{"title":"IssuingTransactionRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"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":["amount_discount","amount_subtotal","amount_tax","amount_total","currency","description","id","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"}},"display":{"$ref":"#/components/schemas/line_items_display"},"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"}]},"product":{"description":"The ID of the product for this line item.\n\nThis will always be the same as `price.product`.","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"}]}},"quantity":{"type":"integer","description":"The quantity of products being purchased.","nullable":true},"tax_calculation_reference":{"description":"The tax calculation identifiers of the line item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_integration_resource_tax_calculation_reference"}]},"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","display","price","product","tax_calculation_reference","taxes"],"x-resourceId":"item","x-stripeMostCommon":["adjustable_quantity","amount_discount","amount_subtotal","amount_tax","amount_total","currency","description","discounts","display","id","metadata","object","price","quantity","tax_calculation_reference","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"}]},"administrative_address":{"$ref":"#/components/schemas/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},"principal_place_of_business":{"$ref":"#/components/schemas/address"},"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","administrative_address","directorship_declaration","ownership_declaration","principal_place_of_business","registration_date","representative_declaration","verification"],"x-stripeMostCommon":["address","address_kana","address_kanji","administrative_address","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","principal_place_of_business","registration_date","representative_declaration","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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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://docs.stripe.com/api#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":"Invoice Line Item","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`."},"margin_amounts":{"type":"array","description":"The amount of margin calculated per margin for this line item.","nullable":true,"items":{"$ref":"#/components/schemas/margins_resource_margin_amount"}},"margins":{"type":"array","description":"The margins applied to the line item. When set, the `default_margins` on the invoice do not apply to the line item. Use `expand[]=margins` to expand each margin.","nullable":true,"items":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/margin"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/margin"}]}}},"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."},"tax_calculation_reference":{"description":"The tax calculation identifiers of the line item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_integration_resource_tax_calculation_reference"}]},"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","margin_amounts","margins","parent","period","pretax_credit_amounts","pricing","subscription","tax_calculation_reference","taxes"],"x-resourceId":"line_item","x-stableId":"invoice_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_item_paypal":{"title":"line_item_paypal","required":["name","quantity","unit_amount"],"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."},"name":{"maxLength":5000,"type":"string","description":"Descriptive name of the line item."},"quantity":{"type":"integer","description":"Quantity of the line item. Cannot be a negative number."},"sku":{"maxLength":5000,"type":"string","description":"Client facing stock keeping unit, article number or similar."},"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)."},"tax":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_paypal_line_item_resource_tax"},"unit_amount":{"type":"integer","description":"Price for a single unit of the line item in minor units. Cannot be a negative number."}},"description":"","x-expandableFields":["tax"],"x-stripeMostCommon":["category","description","name","quantity","sku","sold_by","tax","unit_amount"]},"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_display":{"title":"LineItemsDisplay","required":["description","images","name"],"type":"object","properties":{"description":{"maxLength":5000,"type":"string","nullable":true},"images":{"type":"array","items":{"maxLength":5000,"type":"string"}},"name":{"maxLength":5000,"type":"string"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["description","images","name"]},"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"},"manual_entry":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_financial_connections_common_linked_account_options_manual_entry"},"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"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"Data features requested to be retrieved upon account creation.","nullable":true,"items":{"type":"string","enum":["balances","inferred_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","manual_entry"],"x-stripeMostCommon":["filters","manual_entry","permissions","prefetch","return_url"]},"login_link":{"title":"Login Link","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-stableId":"connect_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-stableId":"mandate","x-stripeMostCommon":["customer_acceptance","id","payment_method","payment_method_details","status","type"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/mandates"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/mandates/{mandate}"}],"x-stripeResource":{"class_name":"Mandate","has_collection_class":true,"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_blik":{"title":"mandate_blik","required":["expires_at","type"],"type":"object","properties":{"expires_at":{"type":"integer","description":"Date at which the mandate expires.","format":"unix-time","nullable":true},"type":{"type":"string","description":"Type of the mandate.","enum":["off_session"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_at","type"]},"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":{"amount":{"type":"integer","description":"The amount of the payment on a multi use mandate."},"currency":{"type":"string","description":"The currency of the payment on a multi use mandate.","format":"currency"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency"]},"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"},"blik":{"$ref":"#/components/schemas/mandate_blik"},"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"},"pix":{"$ref":"#/components/schemas/mandate_pix"},"revolut_pay":{"$ref":"#/components/schemas/mandate_revolut_pay"},"sepa_debit":{"$ref":"#/components/schemas/mandate_sepa_debit"},"twint":{"$ref":"#/components/schemas/mandate_twint"},"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","blik","card","cashapp","kakao_pay","klarna","kr_card","link","naver_pay","nz_bank_account","paypal","payto","pix","revolut_pay","sepa_debit","twint","upi","us_bank_account"],"x-stripeMostCommon":["acss_debit","amazon_pay","au_becs_debit","bacs_debit","blik","card","cashapp","kakao_pay","klarna","kr_card","link","naver_pay","nz_bank_account","paypal","payto","pix","revolut_pay","sepa_debit","twint","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},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.","nullable":true},"payer_id":{"maxLength":5000,"type":"string","description":"PayPal account PayerID. This identifier uniquely identifies the PayPal customer.","nullable":true},"verified_email":{"maxLength":5000,"type":"string","description":"Owner's verified email. Values are verified or provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["billing_agreement_id","fingerprint","payer_id","verified_email"]},"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_pix":{"title":"mandate_pix","type":"object","properties":{"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax.","enum":["always","never"]},"amount_type":{"type":"string","description":"Type of amount.","enum":["fixed","maximum"]},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]},"reference":{"maxLength":5000,"type":"string","description":"Subscription name displayed to buyers in their bank app."},"start_date":{"maxLength":5000,"type":"string","description":"Start date of the mandate, in `YYYY-MM-DD`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_includes_iof","amount_type","end_date","payment_schedule","reference","start_date"]},"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_twint":{"title":"mandate_twint","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Twint","in_package":""}},"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":""}},"margin":{"title":"Margin","required":["active","created","id","livemode","metadata","name","object","percent_off","updated"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the margin can be applied to invoices, invoice items, or invoice line items. Defaults to `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`."},"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 margin that's displayed on, for example, invoices.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["margin"]},"percent_off":{"type":"number","description":"Percent that will be taken off the subtotal before tax (after all other discounts and promotions) of any invoice to which the margin is applied."},"updated":{"type":"integer","description":"Time at which the object was last updated. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"A (partner) margin represents a specific discount distributed in partner reseller programs to business partners who\nresell products and services and earn a discount (margin) for doing so.","x-expandableFields":[],"x-resourceId":"margin","x-stableId":"margin","x-stripeMostCommon":["active","created","id","livemode","metadata","name","object","percent_off","updated"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/billing/margins"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/billing/margins/{margin}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/billing/margins"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v1/billing/margins/{margin}"}],"x-stripeResource":{"class_name":"Margin","has_collection_class":true,"in_package":""}},"margins_resource_margin_amount":{"title":"MarginsResourceMarginAmount","required":["amount","margin"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the reduction in line item amount."},"margin":{"description":"The margin that was applied to get this margin amount.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/margin"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/margin"}]}}},"description":"","x-expandableFields":["margin"],"x-stripeMostCommon":["amount","margin"]},"migrate_to":{"title":"MigrateTo","required":["behavior","effective_after","price"],"type":"object","properties":{"behavior":{"type":"string","description":"The behavior controlling at what point in the subscription lifecycle to migrate the price","enum":["at_cycle_end"]},"effective_after":{"type":"integer","description":"The unix timestamp after at which subscriptions will start to migrate to the new price.","format":"unix-time"},"price":{"maxLength":5000,"type":"string","description":"The id of the price being migrated to"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["behavior","effective_after","price"]},"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_automation_action":{"title":"NotificationEventAutomationAction","required":["trigger","type"],"type":"object","properties":{"stripe_send_webhook_custom_event":{"$ref":"#/components/schemas/notification_event_automation_action_resource_send_webhook_custom_event"},"trigger":{"maxLength":5000,"type":"string","description":"The trigger name of the automation that triggered this action.\n Please visit [Revenue and retention automations](https://docs.stripe.com/billing/automations#choose-a-trigger) for all possible trigger names."},"type":{"type":"string","description":"The type of the `automation_action`.","enum":["stripe_send_webhook_custom_event"]}},"description":"","x-expandableFields":["stripe_send_webhook_custom_event"],"x-stripeMostCommon":["stripe_send_webhook_custom_event","trigger","type"]},"notification_event_automation_action_resource_send_webhook_custom_event":{"title":"NotificationEventAutomationActionResourceSendWebhookCustomEvent","required":["custom_data"],"type":"object","properties":{"custom_data":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of key-value pairs attached to the action when creating an Automation.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["custom_data"]},"notification_event_data":{"title":"NotificationEventData","required":["object"],"type":"object","properties":{"object":{"type":"object","additionalProperties":true,"description":"Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://docs.stripe.com/api#invoice_object) as the value of the object key."},"previous_attributes":{"type":"object","additionalProperties":true,"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_reason":{"title":"NotificationEventReason","required":["type"],"type":"object","properties":{"automation_action":{"$ref":"#/components/schemas/notification_event_automation_action"},"request":{"$ref":"#/components/schemas/notification_event_request"},"type":{"type":"string","description":"The type of the reason for the event.","enum":["automation_action","request"]}},"description":"","x-expandableFields":["automation_action","request"],"x-stripeMostCommon":["automation_action","request","type"]},"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"]},"order":{"title":"Order","required":["amount_subtotal","amount_total","application","billing_details","client_secret","created","currency","customer","description","discounts","id","ip_address","livemode","metadata","object","payment","shipping_cost","shipping_details","status","total_details"],"type":"object","properties":{"amount_subtotal":{"type":"integer","description":"Order cost before any discounts or taxes are applied. A positive integer representing the subtotal of the order 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)."},"amount_total":{"type":"integer","description":"Total order cost after discounts and taxes are applied. A positive integer representing the cost of the order 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). To submit an order, the total must be either 0 or at least $0.50 USD or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts)."},"application":{"description":"ID of the Connect application that created the Order, if any.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"}]}},"automatic_tax":{"$ref":"#/components/schemas/orders_v2_resource_automatic_tax"},"billing_details":{"description":"Customer billing details associated with the order.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/orders_v2_resource_billing_details"}]},"client_secret":{"maxLength":5000,"type":"string","description":"The client secret of this Order. Used for client-side retrieval using a publishable key. \n\nThe client secret can be used to complete a payment for an Order from your frontend. It should not be stored, logged, embedded in URLs, 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 for [creating and processing an order](https://docs.stripe.com/orders-beta/create-and-process) to learn about how client_secret should be handled.","nullable":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"},"customer":{"description":"The customer which this orders belongs to.","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":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"discounts":{"type":"array","description":"The discounts applied to the order. 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."},"ip_address":{"maxLength":5000,"type":"string","description":"A recent IP address of the purchaser used for tax reporting and tax location inference.","nullable":true},"line_items":{"title":"OrdersV2ResourceLineItemList","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 line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost. There is a maximum of 100 line items.","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":["order"]},"payment":{"$ref":"#/components/schemas/orders_v2_resource_payment"},"shipping_cost":{"description":"The details of the customer cost of shipping, including the customer chosen ShippingRate.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/orders_v2_resource_shipping_cost"}]},"shipping_details":{"description":"Customer shipping information associated with the order.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/orders_v2_resource_shipping_details"}]},"status":{"type":"string","description":"The overall status of the order.","enum":["canceled","complete","open","processing","submitted"]},"tax_details":{"$ref":"#/components/schemas/orders_v2_resource_tax_details"},"total_details":{"$ref":"#/components/schemas/orders_v2_resource_total_details"}},"description":"An Order describes a purchase being made by a customer, including the\nproducts & quantities being purchased, the order status, the payment information,\nand the billing/shipping details.\n\nRelated guide: [Orders overview](https://stripe.com/docs/orders)","x-expandableFields":["application","automatic_tax","billing_details","customer","discounts","line_items","payment","shipping_cost","shipping_details","tax_details","total_details"],"x-resourceId":"order","x-stripeMostCommon":["amount_total","client_secret","currency","customer","description","id","line_items","metadata","payment","status"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/orders"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/orders/{id}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/orders"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v1/orders/{id}"},{"method_name":"submit","method_on":"service","method_type":"custom","operation":"post","path":"/v1/orders/{id}/submit"}],"x-stripeResource":{"class_name":"Order","has_collection_class":true,"in_package":""}},"orders_payment_method_options_afterpay_clearpay":{"title":"orders_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":["automatic","automatic_async","manual"]},"reference":{"maxLength":5000,"type":"string","description":"Order identifier shown to the user in Afterpay's online portal. We recommend using a value that helps you answer any questions a customer might have about the payment. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes.","nullable":true},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with the payment method.\n\nProviding this parameter will [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://docs.stripe.com/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.","enum":["none"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","reference","setup_future_usage"]},"orders_v2_resource_automatic_payment_methods":{"title":"OrdersV2ResourceAutomaticPaymentMethods","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether this Order has been opted into managing payment method types via the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"orders_v2_resource_automatic_tax":{"title":"OrdersV2ResourceAutomaticTax","required":["enabled","status"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether Stripe automatically computes tax on this Order."},"status":{"type":"string","description":"The status of the most recent automated tax calculation for this Order.","nullable":true,"enum":["complete","failed","requires_location_inputs"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","status"]},"orders_v2_resource_billing_details":{"title":"OrdersV2ResourceBillingDetails","required":["address","email","name","phone"],"type":"object","properties":{"address":{"description":"Billing address for the order.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"email":{"maxLength":5000,"type":"string","description":"Email address for the order.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"Full name for the order.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"Billing phone number for the order (including extension).","nullable":true}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address","email","name","phone"]},"orders_v2_resource_card_payment_method_options":{"title":"OrdersV2ResourceCardPaymentMethodOptions","required":["capture_method"],"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with the payment method.\n\nProviding this parameter will [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://docs.stripe.com/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.","enum":["none","off_session","on_session"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"orders_v2_resource_payment":{"title":"OrdersV2ResourcePayment","required":["payment_intent","settings","status"],"type":"object","properties":{"payment_intent":{"description":"ID of the payment intent associated with this order. Null when the order is `open`.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"settings":{"description":"Settings describing how the order should configure generated PaymentIntents.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/orders_v2_resource_payment_settings"}]},"status":{"type":"string","description":"The status of the underlying payment associated with this order, if any. Null when the order is `open`.","nullable":true,"enum":["canceled","complete","not_required","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method"]}},"description":"","x-expandableFields":["payment_intent","settings"],"x-stripeMostCommon":["payment_intent","settings","status"]},"orders_v2_resource_payment_method_options":{"title":"OrdersV2ResourcePaymentMethodOptions","type":"object","properties":{"acss_debit":{"$ref":"#/components/schemas/payment_intent_payment_method_options_acss_debit"},"afterpay_clearpay":{"$ref":"#/components/schemas/orders_payment_method_options_afterpay_clearpay"},"alipay":{"$ref":"#/components/schemas/payment_method_options_alipay"},"bancontact":{"$ref":"#/components/schemas/payment_method_options_bancontact"},"card":{"$ref":"#/components/schemas/orders_v2_resource_card_payment_method_options"},"customer_balance":{"$ref":"#/components/schemas/payment_method_options_customer_balance"},"ideal":{"$ref":"#/components/schemas/payment_method_options_ideal"},"klarna":{"$ref":"#/components/schemas/payment_method_options_klarna"},"link":{"$ref":"#/components/schemas/payment_intent_payment_method_options_link"},"oxxo":{"$ref":"#/components/schemas/payment_method_options_oxxo"},"p24":{"$ref":"#/components/schemas/payment_method_options_p24"},"paypal":{"$ref":"#/components/schemas/payment_method_options_paypal"},"sepa_debit":{"$ref":"#/components/schemas/payment_intent_payment_method_options_sepa_debit"},"sofort":{"$ref":"#/components/schemas/payment_method_options_sofort"},"wechat_pay":{"$ref":"#/components/schemas/payment_method_options_wechat_pay"}},"description":"","x-expandableFields":["acss_debit","afterpay_clearpay","alipay","bancontact","card","customer_balance","ideal","klarna","link","oxxo","p24","paypal","sepa_debit","sofort","wechat_pay"],"x-stripeMostCommon":["acss_debit","afterpay_clearpay","alipay","bancontact","card","customer_balance","ideal","klarna","link","oxxo","p24","paypal","sepa_debit","sofort","wechat_pay"]},"orders_v2_resource_payment_settings":{"title":"OrdersV2ResourcePaymentSettings","required":["application_fee_amount","automatic_payment_methods","payment_method_options","payment_method_types","return_url","statement_descriptor","statement_descriptor_suffix","transfer_data"],"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.","nullable":true},"automatic_payment_methods":{"description":"Indicates whether order has been opted into using [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods) to manage payment method types.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/orders_v2_resource_automatic_payment_methods"}]},"payment_method_options":{"description":"PaymentMethod-specific configuration to provide to the order's PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/orders_v2_resource_payment_method_options"}]},"payment_method_types":{"type":"array","description":"The list of [payment method types](https://docs.stripe.com/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).","nullable":true,"items":{"type":"string","enum":["acss_debit","afterpay_clearpay","alipay","au_becs_debit","bacs_debit","bancontact","card","customer_balance","eps","fpx","giropay","grabpay","ideal","klarna","link","oxxo","p24","paypal","sepa_debit","sofort","wechat_pay"]}},"return_url":{"maxLength":5000,"type":"string","description":"The URL to redirect the customer to after they authenticate their payment.","nullable":true},"statement_descriptor":{"maxLength":5000,"type":"string","description":"For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters.","nullable":true},"statement_descriptor_suffix":{"maxLength":5000,"type":"string","description":"Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.","nullable":true},"transfer_data":{"description":"Provides configuration for completing a transfer for the order after it is paid.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/orders_v2_resource_transfer_data"}]}},"description":"","x-expandableFields":["automatic_payment_methods","payment_method_options","transfer_data"],"x-stripeMostCommon":["application_fee_amount","automatic_payment_methods","payment_method_options","payment_method_types","return_url","statement_descriptor","statement_descriptor_suffix","transfer_data"]},"orders_v2_resource_shipping_cost":{"title":"OrdersV2ResourceShippingCost","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"]},"orders_v2_resource_shipping_details":{"title":"OrdersV2ResourceShippingDetails","required":["address","name","phone"],"type":"object","properties":{"address":{"description":"Recipient shipping address. Required if the order includes products that are shippable.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"name":{"maxLength":5000,"type":"string","description":"Recipient name.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension).","nullable":true}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address","name","phone"],"x-stripeResource":{"class_name":"ShippingDetails","in_package":""}},"orders_v2_resource_tax_details":{"title":"OrdersV2ResourceTaxDetails","required":["tax_exempt","tax_ids"],"type":"object","properties":{"tax_exempt":{"type":"string","description":"Describes the purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.","enum":["exempt","none","reverse"]},"tax_ids":{"type":"array","description":"The purchaser's tax IDs to be used in calculation of tax for this Order.","items":{"$ref":"#/components/schemas/orders_v2_resource_tax_details_resource_tax_id"}}},"description":"","x-expandableFields":["tax_ids"],"x-stripeMostCommon":["tax_exempt","tax_ids"]},"orders_v2_resource_tax_details_resource_tax_id":{"title":"OrdersV2ResourceTaxDetailsResourceTaxID","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`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `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`, `ic_nif`, 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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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"]},"orders_v2_resource_total_details":{"title":"OrdersV2ResourceTotalDetails","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/orders_v2_resource_total_details_api_resource_breakdown"}},"description":"","x-expandableFields":["breakdown"],"x-stripeMostCommon":["amount_discount","amount_shipping","amount_tax","breakdown"]},"orders_v2_resource_total_details_api_resource_breakdown":{"title":"OrdersV2ResourceTotalDetailsAPIResourceBreakdown","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"]},"orders_v2_resource_transfer_data":{"title":"OrdersV2ResourceTransferData","required":["amount","destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when the order 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.","nullable":true},"destination":{"description":"ID of 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"]},"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":"Payment Attempt Record","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-stableId":"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_data":{"title":"payment_data","type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the destination payment. Often useful for displaying to users."},"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."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["description","metadata"]},"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"},"surcharge":{"$ref":"#/components/schemas/payment_flows_amount_details_client_resource_surcharge"},"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","surcharge","tax","tip"],"x-stripeMostCommon":["discount_amount","error","line_items","shipping","surcharge","tax","tip"]},"payment_flows_amount_details_client":{"title":"PaymentFlowsAmountDetailsClient","type":"object","properties":{"surcharge":{"$ref":"#/components/schemas/payment_flows_amount_details_client_resource_surcharge"},"tip":{"$ref":"#/components/schemas/payment_flows_amount_details_client_resource_tip"}},"description":"","x-expandableFields":["surcharge","tip"],"x-stripeMostCommon":["surcharge","tip"]},"payment_flows_amount_details_client_resource_surcharge":{"title":"PaymentFlowsAmountDetailsClientResourceSurcharge","type":"object","properties":{"amount":{"type":"integer","description":"Portion of the amount that corresponds to a surcharge."},"enforce_validation":{"type":"string","description":"Indicate whether to enforce validations on the surcharge amount.","enum":["automatic","disabled","enabled"]},"maximum_amount":{"type":"integer","description":"The maximum amount allowed for the surcharge."},"status":{"maxLength":5000,"type":"string","description":"The status of the surcharge."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","enforce_validation","maximum_amount","status"]},"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"The sum of the line items does not match the amount on the PaymentIntent.","value":"amount_details_amount_mismatch"},{"description":"The sum of tax + shipping - discount is greater than the amount on the PaymentIntent.","value":"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 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":"","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 and spaces 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 and spaces 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_industry_metadata_car_rental_data_resource_car_rental":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRental","type":"object","properties":{"affiliate":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_affiliate"},"booking_number":{"maxLength":5000,"type":"string","description":"The booking number associated with the car rental."},"carrier_name":{"maxLength":5000,"type":"string","description":"The name of the car rental company."},"customer_service_phone_number":{"maxLength":5000,"type":"string","description":"The customer service phone number of the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"distance":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_distance"},"drivers":{"type":"array","description":"The details of the drivers associated with the rental.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_driver"}},"drop_off":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_location"},"insurances":{"type":"array","description":"Insurance details for the car rental.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_insurance"}},"no_show_indicator":{"type":"boolean","description":"Indicates if the customer did not keep nor cancel their booking."},"pickup":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_location"},"renter_name":{"maxLength":5000,"type":"string","description":"Name of the person renting the vehicle."},"total":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_total"},"vehicle":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_vehicle"}},"description":"","x-expandableFields":["affiliate","distance","drivers","drop_off","insurances","pickup","total","vehicle"],"x-stripeMostCommon":["affiliate","booking_number","carrier_name","customer_service_phone_number","days_rented","distance","drivers","drop_off","insurances","no_show_indicator","pickup","renter_name","total","vehicle"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_affiliate":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryAffiliate","type":"object","properties":{"code":{"maxLength":5000,"type":"string","description":"Affiliate code."},"name":{"maxLength":5000,"type":"string","description":"Affiliate name."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","name"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_date_of_birth":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryDateOfBirth","type":"object","properties":{"day":{"type":"integer","description":"Day of birth."},"month":{"type":"integer","description":"Month of birth."},"year":{"type":"integer","description":"Year of birth."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_discounts":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryDiscounts","type":"object","properties":{"corporate_client_code":{"maxLength":5000,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":5000,"type":"string","description":"Coupon code applied."},"maximum_free_miles_or_kilometers":{"type":"integer","description":"Maximum free miles or kilometers included."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["corporate_client_code","coupon","maximum_free_miles_or_kilometers"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_distance":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryDistance","type":"object","properties":{"amount":{"type":"integer","description":"Distance amount."},"unit":{"type":"string","description":"Unit for the distance.","enum":["kilometers","miles"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","unit"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_driver":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryDriver","type":"object","properties":{"date_of_birth":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_date_of_birth"},"driver_identification_number":{"maxLength":5000,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":5000,"type":"string","description":"Driver's tax number."},"name":{"maxLength":5000,"type":"string","description":"Full name of the driver."}},"description":"","x-expandableFields":["date_of_birth"],"x-stripeMostCommon":["date_of_birth","driver_identification_number","driver_tax_number","name"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_extra_charge":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryExtraCharge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge."},"type":{"type":"string","description":"Type of extra charge.","enum":["extra_mileage","gas","gps","late_charge","one_way_drop_off","other","parking","phone","regular_mileage","towing"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","type"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_insurance":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryInsurance","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the insurance."},"currency":{"type":"string","description":"Currency for the insurance price.","format":"currency"},"insurance_company_name":{"maxLength":5000,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["liability_supplement","loss_damage_waiver","other","partial_damage_waiver","personal_accident","personal_effects"],"x-stripeEnum":{"kind":"open","values":[{"description":"Supplemental liability insurance coverage.","value":"liability_supplement"},{"description":"Agreement waiving responsibility for loss or damage to the vehicle.","value":"loss_damage_waiver"},{"description":"Other types of insurance coverage.","value":"other"},{"description":"Agreement limiting responsibility for loss or damage to the vehicle.","value":"partial_damage_waiver"},{"description":"Insurance covering personal accidents during the rental period.","value":"personal_accident"},{"description":"Insurance covering personal belongings during the rental period.","value":"personal_effects"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_location":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryLocation","type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"location_name":{"maxLength":5000,"type":"string","description":"Name of the location."},"time":{"type":"integer","description":"Time associated with the location.","format":"unix-time"}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address","location_name","time"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_tax":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryTax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates whether the rental is tax-exempt."},"tax_items":{"type":"array","description":"Tax details.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_tax_item"}}},"description":"","x-expandableFields":["tax_items"],"x-stripeMostCommon":["tax_exempt_indicator","tax_items"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_tax_item":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryTaxItem","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":5000,"type":"string","description":"Type of tax."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","rate","type"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_total":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryTotal","type":"object","properties":{"amount":{"type":"integer","description":"Total amount."},"currency":{"maxLength":5000,"type":"string","description":"Currency for the total amount."},"discounts":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_discounts"},"extra_charges":{"type":"array","description":"Additional charges for the rental.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_extra_charge"}},"rate_per_unit":{"type":"integer","description":"Rate per unit."},"rate_unit":{"type":"string","description":"Unit for the rate.","enum":["kilometers","miles"]},"tax":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_tax"}},"description":"","x-expandableFields":["discounts","extra_charges","tax"],"x-stripeMostCommon":["amount","currency","discounts","extra_charges","rate_per_unit","rate_unit","tax"]},"payment_flows_industry_metadata_car_rental_data_resource_car_rental_supplementary_vehicle":{"title":"PaymentFlowsIndustryMetadataCarRentalDataResourceCarRentalSupplementaryVehicle","type":"object","properties":{"make":{"maxLength":5000,"type":"string","description":"Make of the vehicle."},"model":{"maxLength":5000,"type":"string","description":"Model of the vehicle."},"odometer":{"type":"integer","description":"Odometer reading."},"type":{"type":"string","description":"Type of the vehicle.","enum":["cargo_van","compact","economy","exotic","exotic_suv","fifteen_passenger_van","four_wheel_drive","full_size","intermediate","large_suv","large_truck","luxury","medium_suv","midsize","mini","minivan","miscellaneous","moped","moving_van","premium","regular","small_medium_truck","small_suv","special","standard","stretch","subcompact","taxi","twelve_foot_truck","twelve_passenger_van","twenty_foot_truck","twenty_four_foot_truck","twenty_six_foot_truck","unique"],"x-stripeEnum":{"kind":"open","values":[{"description":"Van designed for cargo transport.","value":"cargo_van"},{"description":"Compact car.","value":"compact"},{"description":"Economy-class car.","value":"economy"},{"description":"Exotic or high-performance vehicle.","value":"exotic"},{"description":"Exotic or luxury sport utility vehicle.","value":"exotic_suv"},{"description":"Van with capacity for fifteen passengers.","value":"fifteen_passenger_van"},{"description":"Four-wheel-drive vehicle.","value":"four_wheel_drive"},{"description":"Full-sized car.","value":"full_size"},{"description":"Intermediate-sized car.","value":"intermediate"},{"description":"Large sport utility vehicle.","value":"large_suv"},{"description":"Large truck.","value":"large_truck"},{"description":"Luxury car.","value":"luxury"},{"description":"Medium sport utility vehicle.","value":"medium_suv"},{"description":"Midsize car.","value":"midsize"},{"description":"Mini-sized car.","value":"mini"},{"description":"Minivan.","value":"minivan"},{"description":"Other miscellaneous vehicle types.","value":"miscellaneous"},{"description":"Moped or motorized scooter.","value":"moped"},{"description":"Van designed for moving goods.","value":"moving_van"},{"description":"Premium car.","value":"premium"},{"description":"Regular vehicle type.","value":"regular"},{"description":"Small to medium truck.","value":"small_medium_truck"},{"description":"Small sport utility vehicle.","value":"small_suv"},{"description":"Special vehicle type.","value":"special"},{"description":"Standard-sized car.","value":"standard"},{"description":"Stretch limousine.","value":"stretch"},{"description":"Subcompact car.","value":"subcompact"},{"description":"Taxi or for-hire vehicle.","value":"taxi"},{"description":"Truck with twelve-foot cargo space.","value":"twelve_foot_truck"},{"description":"Van with capacity for twelve passengers.","value":"twelve_passenger_van"},{"description":"Truck with twenty-foot cargo space.","value":"twenty_foot_truck"},{"description":"Truck with twenty-four-foot cargo space.","value":"twenty_four_foot_truck"},{"description":"Truck with twenty-six-foot cargo space.","value":"twenty_six_foot_truck"},{"description":"Unique or specialty vehicle.","value":"unique"}]}},"vehicle_class":{"type":"string","description":"Class of the vehicle.","enum":["business","economy","first_class","premium_economy"]},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"Vehicle identification number."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["make","model","odometer","type","vehicle_class","vehicle_identification_number"]},"payment_flows_industry_metadata_flight_data_resource_flight":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlight","type":"object","properties":{"affiliate":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_affiliate"},"booking_number":{"maxLength":5000,"type":"string","description":"The booking number associated with the flight reservation."},"computerized_reservation_system":{"maxLength":5000,"type":"string","description":"The computerized reservation system used to make the reservation and purchase the ticket."},"endorsements_and_restrictions":{"maxLength":5000,"type":"string","description":"Ticket restrictions."},"insurances":{"type":"array","description":"Insurance details for the flight.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_insurance"}},"passengers":{"type":"array","description":"The list of passengers for this flight.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_passenger"}},"segments":{"type":"array","description":"The list of flight segments for this reservation.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_segment"}},"ticket_electronically_issued_indicator":{"type":"boolean","description":"Electronic ticket indicator."},"total":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_total"},"transaction_type":{"type":"string","description":"Type of flight transaction.","enum":["exchange_ticket","miscellaneous","refund","ticket_purchase"],"x-stripeEnum":{"kind":"open","values":[{"description":"Exchange or modification of an existing ticket.","value":"exchange_ticket"},{"description":"Other miscellaneous flight-related transactions.","value":"miscellaneous"},{"description":"Refund for a canceled or unused ticket.","value":"refund"},{"description":"Purchase of a new flight ticket.","value":"ticket_purchase"}]}}},"description":"","x-expandableFields":["affiliate","insurances","passengers","segments","total"],"x-stripeMostCommon":["affiliate","booking_number","computerized_reservation_system","endorsements_and_restrictions","insurances","passengers","segments","ticket_electronically_issued_indicator","total","transaction_type"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_affiliate":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryAffiliate","type":"object","properties":{"code":{"maxLength":5000,"type":"string","description":"Affiliate code."},"name":{"maxLength":5000,"type":"string","description":"Affiliate name."},"travel_authorization_code":{"maxLength":5000,"type":"string","description":"Code provided by the company to a travel agent authorizing ticket issuance."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","name","travel_authorization_code"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_arrival":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryArrival","type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Arrival airport IATA code."},"arrives_at":{"type":"integer","description":"Arrival date and time.","format":"unix-time"},"city":{"maxLength":5000,"type":"string","description":"Arrival city."},"country":{"maxLength":5000,"type":"string","description":"Arrival country."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["airport","arrives_at","city","country"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_departure":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryDeparture","type":"object","properties":{"airport":{"maxLength":5000,"type":"string","description":"Departure airport IATA code."},"city":{"maxLength":5000,"type":"string","description":"Departure city."},"country":{"maxLength":5000,"type":"string","description":"Departure country."},"departs_at":{"type":"integer","description":"Departure date and time.","format":"unix-time"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["airport","city","country","departs_at"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_discounts":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryDiscounts","type":"object","properties":{"corporate_client_code":{"maxLength":5000,"type":"string","description":"Corporate client discount code."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["corporate_client_code"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_extra_charge":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryExtraCharge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge."},"type":{"type":"string","description":"Type of extra charge.","enum":["additional_fees","ancillary_service_charges","exchange_fee"],"x-stripeEnum":{"kind":"open","values":[{"description":"Additional fees charged for the flight.","value":"additional_fees"},{"description":"Charges for ancillary services such as baggage, seat selection, or meals.","value":"ancillary_service_charges"},{"description":"Fee charged for exchanging or changing the ticket.","value":"exchange_fee"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","type"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_insurance":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryInsurance","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the insurance."},"currency":{"type":"string","description":"Currency for the insurance price.","format":"currency"},"insurance_company_name":{"maxLength":5000,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance.","enum":["baggage","bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering lost, damaged, or delayed baggage.","value":"baggage"},{"description":"Insurance covering losses due to airline bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering flight cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during travel.","value":"medical"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_passenger":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryPassenger","type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Full name of the passenger."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["name"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_segment":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementarySegment","type":"object","properties":{"amount":{"type":"integer","description":"Segment fare amount."},"arrival":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_arrival"},"carrier_code":{"maxLength":5000,"type":"string","description":"Airline carrier code."},"carrier_name":{"maxLength":5000,"type":"string","description":"Carrier name."},"currency":{"type":"string","description":"Segment currency.","format":"currency"},"departure":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_departure"},"exchange_ticket_number":{"maxLength":5000,"type":"string","description":"Exchange ticket number."},"fare_basis_code":{"maxLength":5000,"type":"string","description":"Fare basis code."},"fees":{"type":"integer","description":"Additional fees."},"flight_number":{"maxLength":5000,"type":"string","description":"Flight number."},"is_stop_over_indicator":{"type":"boolean","description":"Stopover indicator."},"refundable":{"type":"boolean","description":"Refundable ticket indicator."},"service_class":{"type":"string","description":"Class of service.","enum":["business","economy","first_class","premium_economy"],"x-stripeEnum":{"kind":"open","values":[{"description":"Business class seating.","value":"business"},{"description":"Economy class seating.","value":"economy"},{"description":"First class seating with premium amenities.","value":"first_class"},{"description":"Premium economy class with enhanced seating and services.","value":"premium_economy"}]}},"tax_amount":{"type":"integer","description":"Tax amount for segment."},"ticket_number":{"maxLength":5000,"type":"string","description":"Ticket number."}},"description":"","x-expandableFields":["arrival","departure"],"x-stripeMostCommon":["amount","arrival","carrier_code","carrier_name","currency","departure","exchange_ticket_number","fare_basis_code","fees","flight_number","is_stop_over_indicator","refundable","service_class","tax_amount","ticket_number"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_tax":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryTax","type":"object","properties":{"tax_items":{"type":"array","description":"Tax details.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_tax_item"}}},"description":"","x-expandableFields":["tax_items"],"x-stripeMostCommon":["tax_items"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_tax_item":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryTaxItem","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":5000,"type":"string","description":"Type of tax."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","rate","type"]},"payment_flows_industry_metadata_flight_data_resource_flight_supplementary_total":{"title":"PaymentFlowsIndustryMetadataFlightDataResourceFlightSupplementaryTotal","type":"object","properties":{"amount":{"type":"integer","description":"Total amount."},"credit_reason":{"type":"string","description":"Reason for credit.","enum":["other","partial_ticket_refund","passenger_transport_ancillary_cancellation","ticket_and_ancillary_cancellation","ticket_cancellation"],"x-stripeEnum":{"kind":"open","values":[{"description":"Other credit reasons.","value":"other"},{"description":"Partial refund of the ticket cost.","value":"partial_ticket_refund"},{"description":"Cancellation of passenger transport and ancillary services.","value":"passenger_transport_ancillary_cancellation"},{"description":"Cancellation of both ticket and ancillary services.","value":"ticket_and_ancillary_cancellation"},{"description":"Cancellation of the ticket only.","value":"ticket_cancellation"}]}},"currency":{"maxLength":5000,"type":"string","description":"Currency for the total amount."},"discounts":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_discounts"},"extra_charges":{"type":"array","description":"Additional charges for the flight.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_extra_charge"}},"tax":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight_supplementary_tax"}},"description":"","x-expandableFields":["discounts","extra_charges","tax"],"x-stripeMostCommon":["amount","credit_reason","currency","discounts","extra_charges","tax"]},"payment_flows_industry_metadata_lodging_data_resource_lodging":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodging","type":"object","properties":{"accommodation":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_accommodation"},"affiliate":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_affiliate"},"booking_number":{"maxLength":5000,"type":"string","description":"Booking confirmation number for the lodging."},"checkin_at":{"type":"integer","description":"Check-in date.","format":"unix-time"},"checkout_at":{"type":"integer","description":"Check-out date.","format":"unix-time"},"customer_service_phone_number":{"maxLength":5000,"type":"string","description":"Customer service phone number for the lodging company."},"fire_safety_act_compliance_indicator":{"type":"boolean","description":"Whether the lodging is compliant with any hotel fire safety regulations."},"guests":{"type":"array","description":"List of guests for the lodging.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_guest"}},"host":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_host"},"insurances":{"type":"array","description":"List of insurances for the lodging.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_insurance"}},"no_show_indicator":{"type":"boolean","description":"Whether the renter is a no-show."},"renter_id_number":{"maxLength":5000,"type":"string","description":"Renter ID number for the lodging."},"renter_name":{"maxLength":5000,"type":"string","description":"Renter name for the lodging."},"total":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_total"}},"description":"","x-expandableFields":["accommodation","affiliate","guests","host","insurances","total"],"x-stripeMostCommon":["accommodation","affiliate","booking_number","checkin_at","checkout_at","customer_service_phone_number","fire_safety_act_compliance_indicator","guests","host","insurances","no_show_indicator","renter_id_number","renter_name","total"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_accommodation":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryAccommodation","required":["accommodation_type"],"type":"object","properties":{"accommodation_type":{"type":"string","description":"Type of accommodation.","nullable":true,"enum":["apartment","cabana","house","penthouse","room","standard","suite","villa"],"x-stripeEnum":{"kind":"open","values":[{"description":"A self-contained apartment unit.","value":"apartment"},{"description":"A cabana or small cabin.","value":"cabana"},{"description":"A standalone house.","value":"house"},{"description":"A penthouse or top-floor luxury accommodation.","value":"penthouse"},{"description":"A standard room.","value":"room"},{"description":"A standard accommodation type.","value":"standard"},{"description":"A suite with multiple rooms or enhanced amenities.","value":"suite"},{"description":"A villa or luxury residence.","value":"villa"}]}},"bed_type":{"maxLength":5000,"type":"string","description":"Bed type."},"daily_rate_amount":{"type":"integer","description":"Daily accommodation rate in cents."},"nights":{"type":"integer","description":"Number of nights."},"number_of_rooms":{"type":"integer","description":"Number of rooms, cabanas, apartments, and so on."},"rate_type":{"maxLength":5000,"type":"string","description":"Rate type."},"smoking_indicator":{"type":"boolean","description":"Whether smoking is allowed."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["accommodation_type","bed_type","daily_rate_amount","nights","number_of_rooms","rate_type","smoking_indicator"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_affiliate":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryAffiliate","type":"object","properties":{"code":{"maxLength":5000,"type":"string","description":"Affiliate partner code."},"name":{"maxLength":5000,"type":"string","description":"Affiliate partner name."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","name"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_discount":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryDiscount","type":"object","properties":{"corporate_client_code":{"maxLength":5000,"type":"string","description":"Corporate client discount code."},"coupon":{"maxLength":5000,"type":"string","description":"Coupon code."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["corporate_client_code","coupon"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_extra_charge":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryExtraCharge","type":"object","properties":{"amount":{"type":"integer","description":"Amount of the extra charge in cents."},"type":{"type":"string","description":"Type of extra charge.","enum":["gift_shop","laundry","mini_bar","other","phone","restaurant"],"x-stripeEnum":{"kind":"open","values":[{"description":"Charges for gift shop purchases.","value":"gift_shop"},{"description":"Charges for laundry or cleaning services.","value":"laundry"},{"description":"Charges for mini bar consumption.","value":"mini_bar"},{"description":"Other miscellaneous charges.","value":"other"},{"description":"Charges for telephone services.","value":"phone"},{"description":"Charges for dining or food services.","value":"restaurant"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","type"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_guest":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryGuest","type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"Guest's full name."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["name"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_host":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryHost","type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"country_of_domicile":{"maxLength":5000,"type":"string","description":"Host's country of domicile."},"host_reference":{"maxLength":5000,"type":"string","description":"Reference number for the host."},"host_type":{"type":"string","description":"Type of host.","enum":["hostel","hotel","owner","rental_agency"],"x-stripeEnum":{"kind":"open","values":[{"description":"A hostel or shared accommodation facility.","value":"hostel"},{"description":"A hotel or hotel chain.","value":"hotel"},{"description":"The property owner directly managing the rental.","value":"owner"},{"description":"A rental agency managing the property.","value":"rental_agency"}]}},"name":{"maxLength":5000,"type":"string","description":"Name of the lodging property or host."},"number_of_reservations":{"type":"integer","description":"Total number of reservations for the host."},"property_phone_number":{"maxLength":5000,"type":"string","description":"Property phone number."},"registered_at":{"type":"integer","description":"Host's registration date.","format":"unix-time"}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address","country_of_domicile","host_reference","host_type","name","number_of_reservations","property_phone_number","registered_at"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_insurance":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryInsurance","type":"object","properties":{"amount":{"type":"integer","description":"Price of the insurance coverage in cents."},"currency":{"type":"string","description":"Currency of the insurance amount.","format":"currency"},"insurance_company_name":{"maxLength":5000,"type":"string","description":"Name of the insurance company."},"insurance_type":{"type":"string","description":"Type of insurance coverage.","enum":["bankruptcy","cancelation","emergency","medical"],"x-stripeEnum":{"kind":"open","values":[{"description":"Insurance covering losses due to provider bankruptcy.","value":"bankruptcy"},{"description":"Insurance covering cancellation.","value":"cancelation"},{"description":"Insurance covering general emergency situations.","value":"emergency"},{"description":"Insurance covering medical emergencies during the stay.","value":"medical"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency","insurance_company_name","insurance_type"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_tax":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryTax","type":"object","properties":{"tax_exempt_indicator":{"type":"boolean","description":"Indicates whether the transaction is tax exempt."},"tax_items":{"type":"array","description":"Tax details.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_tax_item"}}},"description":"","x-expandableFields":["tax_items"],"x-stripeMostCommon":["tax_exempt_indicator","tax_items"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_tax_item":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryTaxItem","type":"object","properties":{"amount":{"type":"integer","description":"Tax amount in cents."},"rate":{"type":"integer","description":"Tax rate."},"type":{"maxLength":5000,"type":"string","description":"Type of tax applied."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","rate","type"]},"payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_total":{"title":"PaymentFlowsIndustryMetadataLodgingDataResourceLodgingSupplementaryTotal","type":"object","properties":{"amount":{"type":"integer","description":"Total price of the lodging reservation in cents."},"cash_advances":{"type":"integer","description":"Cash advances in cents."},"currency":{"type":"string","description":"Currency of the total amount.","format":"currency"},"discounts":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_discount"},"extra_charges":{"type":"array","description":"Additional charges for the lodging.","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_extra_charge"}},"prepaid_amount":{"type":"integer","description":"Prepaid amount in cents."},"tax":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging_supplementary_tax"}},"description":"","x-expandableFields":["discounts","extra_charges","tax"],"x-stripeMostCommon":["amount","cash_advances","currency","discounts","extra_charges","prepaid_amount","tax"]},"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":{"car_rental":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_car_rental"},"car_rental_data":{"type":"array","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_car_rental_data_resource_car_rental"}},"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},"event_details":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_event"},"flight_data":{"type":"array","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_flight_data_resource_flight"}},"lodging_data":{"type":"array","items":{"$ref":"#/components/schemas/payment_flows_industry_metadata_lodging_data_resource_lodging"}},"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},"subscription":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_subscription"}},"description":"","x-expandableFields":["car_rental","car_rental_data","event_details","flight_data","lodging_data","subscription"],"x-stripeMostCommon":["car_rental","car_rental_data","customer_reference","event_details","flight_data","lodging_data","order_reference","subscription"]},"payment_flows_payment_details_resource_affiliate":{"title":"PaymentFlowsPaymentDetailsResourceAffiliate","type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the affiliate that originated the purchase."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["name"]},"payment_flows_payment_details_resource_billing_interval":{"title":"PaymentFlowsPaymentDetailsResourceBillingInterval","type":"object","properties":{"count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."},"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["count","interval"]},"payment_flows_payment_details_resource_car_rental":{"title":"PaymentFlowsPaymentDetailsResourceCarRental","required":["booking_number","days_rented","pickup_at","return_at"],"type":"object","properties":{"affiliate":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_affiliate"},"booking_number":{"maxLength":100,"type":"string","description":"The booking number associated with the car rental."},"car_class_code":{"maxLength":4,"type":"string","description":"Class code of the car."},"car_make":{"maxLength":10,"type":"string","description":"Make of the car."},"car_model":{"maxLength":10,"type":"string","description":"Model of the car."},"company":{"maxLength":26,"type":"string","description":"The name of the rental car company."},"customer_service_phone_number":{"maxLength":16,"type":"string","description":"The customer service phone number of the car rental company."},"days_rented":{"type":"integer","description":"Number of days the car is being rented."},"delivery":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_delivery"},"distance":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_car_rental_distance"},"drivers":{"type":"array","description":"The details of the drivers associated with the trip.","items":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_car_rental_driver"}},"extra_charges":{"type":"array","description":"List of additional charges being billed.","items":{"type":"string","enum":["extra_mileage","gas","late_return","one_way_service","parking_violation"]}},"no_show":{"type":"boolean","description":"Indicates if the customer did not keep nor cancel their booking."},"pickup_address":{"$ref":"#/components/schemas/address"},"pickup_at":{"type":"integer","description":"Car pick-up time. Measured in seconds since the Unix epoch.","format":"unix-time"},"pickup_location_name":{"maxLength":38,"type":"string","description":"Name of the pickup location."},"rate_amount":{"type":"integer","description":"Rental rate."},"rate_interval":{"type":"string","description":"The frequency at which the rate amount is applied. One of `day`, `week` or `month`","enum":["day","month","week"]},"renter_name":{"maxLength":100,"type":"string","description":"The full name of the person or entity renting the car."},"return_address":{"$ref":"#/components/schemas/address"},"return_at":{"type":"integer","description":"Car return time. Measured in seconds since the Unix epoch.","format":"unix-time"},"return_location_name":{"maxLength":38,"type":"string","description":"Name of the return location."},"tax_exempt":{"type":"boolean","description":"Indicates whether the goods or services are tax-exempt or tax is not collected."},"vehicle_identification_number":{"maxLength":20,"type":"string","description":"The vehicle identification number of the car."}},"description":"","x-expandableFields":["affiliate","delivery","distance","drivers","pickup_address","return_address"],"x-stripeMostCommon":["affiliate","booking_number","car_class_code","car_make","car_model","company","customer_service_phone_number","days_rented","delivery","distance","drivers","extra_charges","no_show","pickup_address","pickup_at","pickup_location_name","rate_amount","rate_interval","renter_name","return_address","return_at","return_location_name","tax_exempt","vehicle_identification_number"]},"payment_flows_payment_details_resource_car_rental_distance":{"title":"PaymentFlowsPaymentDetailsResourceCarRentalDistance","type":"object","properties":{"amount":{"type":"integer","description":"Distance traveled."},"unit":{"maxLength":5000,"type":"string","description":"Unit of measurement for the distance traveled. One of `miles` or `kilometers`"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","unit"]},"payment_flows_payment_details_resource_car_rental_driver":{"title":"PaymentFlowsPaymentDetailsResourceCarRentalDriver","type":"object","properties":{"driver_identification_number":{"maxLength":5000,"type":"string","description":"Driver's identification number."},"driver_tax_number":{"maxLength":5000,"type":"string","description":"Driver's tax number."},"name":{"maxLength":5000,"type":"string","description":"Full name of the driver on the reservation."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["driver_identification_number","driver_tax_number","name"]},"payment_flows_payment_details_resource_delivery":{"title":"PaymentFlowsPaymentDetailsResourceDelivery","type":"object","properties":{"mode":{"type":"string","description":"The delivery method for the payment","enum":["email","phone","pickup","post"]},"recipient":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_delivery_recipient"}},"description":"","x-expandableFields":["recipient"],"x-stripeMostCommon":["mode","recipient"]},"payment_flows_payment_details_resource_delivery_recipient":{"title":"PaymentFlowsPaymentDetailsResourceDeliveryRecipient","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email of the recipient the ticket is delivered to."},"name":{"maxLength":5000,"type":"string","description":"The name of the recipient the ticket is delivered to."},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the recipient the ticket is delivered to."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["email","name","phone"]},"payment_flows_payment_details_resource_event":{"title":"PaymentFlowsPaymentDetailsResourceEvent","type":"object","properties":{"access_controlled_venue":{"type":"boolean","description":"Indicates if the tickets are digitally checked when entering the venue."},"address":{"$ref":"#/components/schemas/address"},"affiliate":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_affiliate"},"company":{"maxLength":5000,"type":"string","description":"The name of the company"},"delivery":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_delivery"},"ends_at":{"type":"integer","description":"Event end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"genre":{"maxLength":5000,"type":"string","description":"Type of the event entertainment (concert, sports event etc)"},"name":{"maxLength":5000,"type":"string","description":"The name of the event."},"starts_at":{"type":"integer","description":"Event start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"","x-expandableFields":["address","affiliate","delivery"],"x-stripeMostCommon":["access_controlled_venue","address","affiliate","company","delivery","ends_at","genre","name","starts_at"]},"payment_flows_payment_details_resource_subscription":{"title":"PaymentFlowsPaymentDetailsResourceSubscription","type":"object","properties":{"affiliate":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_affiliate"},"auto_renewal":{"type":"boolean","description":"Info whether the subscription will be auto renewed upon expiry."},"billing_interval":{"$ref":"#/components/schemas/payment_flows_payment_details_resource_billing_interval"},"ends_at":{"type":"integer","description":"Subscription end time. Measured in seconds since the Unix epoch.","format":"unix-time"},"name":{"maxLength":5000,"type":"string","description":"Name of the product on subscription. e.g. Apple Music Subscription."},"starts_at":{"type":"integer","description":"Subscription start time. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"","x-expandableFields":["affiliate","billing_interval"],"x-stripeMostCommon":["affiliate","auto_renewal","billing_interval","ends_at","name","starts_at"]},"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_payment_method_resource_redaction":{"title":"PaymentFlowsPaymentMethodResourceRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"payment_flows_private_payment_methods_alipay":{"title":"PaymentFlowsPrivatePaymentMethodsAlipay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_flows_private_payment_methods_alma_details_resource_installments":{"title":"PaymentFlowsPrivatePaymentMethodsAlmaDetailsResourceInstallments","required":["count"],"type":"object","properties":{"count":{"type":"integer","description":"The number of installments."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["count"]},"payment_flows_private_payment_methods_billie_payment_method_options_resource_company_details":{"title":"PaymentFlowsPrivatePaymentMethodsBilliePaymentMethodOptionsResourceCompanyDetails","required":["registered_name","registration_number","vat"],"type":"object","properties":{"registered_address":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_billie_payment_method_options_resource_company_details_resource_company_details_registered_address"},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name.","nullable":true},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type.","nullable":true},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"]},"vat":{"maxLength":5000,"type":"string","description":"VAT id number","nullable":true}},"description":"","x-expandableFields":["registered_address"],"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},"payment_flows_private_payment_methods_billie_payment_method_options_resource_company_details_resource_company_details_registered_address":{"title":"PaymentFlowsPrivatePaymentMethodsBilliePaymentMethodOptionsResourceCompanyDetailsResourceCompanyDetailsRegisteredAddress","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.","nullable":true},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name).","nullable":true},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (e.g., 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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_decremental_authorization_decremental_authorization":{"title":"PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceEnterpriseFeaturesDecrementalAuthorizationDecrementalAuthorization","required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Indicates whether or not the decremental authorization feature is supported.","enum":["available","unavailable"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"],"x-stripeResource":{"class_name":"DecrementalAuthorizationRequest","in_package":""}},"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_enterprise_features_partial_authorization_partial_authorization":{"title":"PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceEnterpriseFeaturesPartialAuthorizationPartialAuthorization","required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Indicates whether the transaction requested for partial authorization feature and the authorization outcome.","enum":["declined","fully_authorized","not_requested","partially_authorized"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["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_options_statement_details":{"title":"PaymentFlowsPrivatePaymentMethodsCardOptionsStatementDetails","type":"object","properties":{"address":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_options_statement_details_resource_address"},"phone":{"maxLength":5000,"type":"string","description":"Phone number"}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address","phone"]},"payment_flows_private_payment_methods_card_options_statement_details_resource_address":{"title":"PaymentFlowsPrivatePaymentMethodsCardOptionsStatementDetailsResourceAddress","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":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"],"x-stripeResource":{"class_name":"StatementDetailsAddress","in_package":""}},"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"]}},"institution":{"maxLength":5000,"type":"string","description":"The institution to use to filter for possible accounts to link."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_subcategories","institution"]},"payment_flows_private_payment_methods_financial_connections_common_linked_account_options_manual_entry":{"title":"PaymentFlowsPrivatePaymentMethodsFinancialConnectionsCommonLinkedAccountOptionsManualEntry","type":"object","properties":{"mode":{"type":"string","description":"Settings for configuring manual entry of account details.","enum":["automatic","custom"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["mode"]},"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_konbini_details_resource_store":{"title":"PaymentFlowsPrivatePaymentMethodsKonbiniDetailsResourceStore","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,"x-stripeEnum":{"kind":"open","values":[{"description":"FamilyMart convenience store chain.","value":"familymart"},{"description":"Lawson convenience store chain.","value":"lawson"},{"description":"Ministop convenience store chain.","value":"ministop"},{"description":"Seicomart convenience store chain.","value":"seicomart"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["chain"]},"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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_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_paypal_line_item_resource_tax":{"title":"PaymentFlowsPrivatePaymentMethodsPaypalLineItemResourceTax","required":["amount","behavior"],"type":"object","properties":{"amount":{"type":"integer","description":"The tax for a single unit of the line item in minor units. Cannot be a negative number."},"behavior":{"type":"string","description":"The tax behavior for the line item.","enum":["exclusive","inclusive"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","behavior"]},"payment_flows_private_payment_methods_rechnung_dob":{"title":"PaymentFlowsPrivatePaymentMethodsRechnungDOB","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":"","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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_flows_private_payment_methods_satispay_setup_attempt_details":{"title":"PaymentFlowsPrivatePaymentMethodsSatispaySetupAttemptDetails","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_intent":{"title":"PaymentIntent","required":["allowed_payment_method_types","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","managed_payments","metadata","next_action","object","on_behalf_of","payment_method","payment_method_configuration_details","payment_method_options","payment_method_types","payment_record","processing","receipt_email","review","setup_future_usage","shipping","source","statement_descriptor","statement_descriptor_suffix","status","transfer_group"],"type":"object","properties":{"allowed_payment_method_types":{"type":"array","description":"The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.","nullable":true,"items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boku_promptpay","boleto","capchase_pay","card","card_present","cashapp","check_scan","click_to_pay","crypto","customer_balance","demo_pay","duitnow","dummy_auth_push","dummy_passthrough_card","edenred","eps","fpx","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","kriya","link","mb_way","mobilepay","momo","mondu","multibanco","naver_pay","netbanking","ng_bank","ng_bank_transfer","ng_card","ng_market","ng_ussd","ng_wallet","nz_bank_account","octopus","oxxo","p24","paper_check","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shop_pay","shopeepay","sofort","south_korea_market","stripe_balance","sunbit","swish","tamara","test_pay","touch_n_go","truemoney","twint","upi","us_bank_account","us_cash_voucher","vipps","wechat_pay","wero","zip"],"x-stripeBypassValidation":true}},"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},"async_workflows":{"$ref":"#/components/schemas/payment_flows_payment_intent_async_workflows"},"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://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.","nullable":true,"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://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the 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","bizum","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","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","sequra","shopeepay","sofort","stripe_balance","sunbit","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"fx_quote":{"maxLength":5000,"type":"string","description":"The FX Quote used for the PaymentIntent.","nullable":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`."},"managed_payments":{"description":"Settings for Managed Payments.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/smor_resource_managed_payments"}]},"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"}},"payment_record":{"description":"ID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_record"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_record"}]}},"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},"redaction":{"description":"Redaction status of this PaymentIntent. If the PaymentIntent isn't redacted, this field is null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/redaction"}]},"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"}]}},"secret_key_confirmation":{"type":"string","description":"Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.","enum":["optional","required"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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,"x-stripeEnum":{"kind":"open","values":[{"description":"The PaymentIntent has been canceled.","value":"canceled"},{"description":"The PaymentIntent is currently being processed.","value":"processing"},{"description":"The PaymentIntent requires additional action from the customer.","value":"requires_action"},{"description":"The PaymentIntent has been confirmed and requires capture.","value":"requires_capture"},{"description":"The PaymentIntent requires confirmation.","value":"requires_confirmation"},{"description":"The PaymentIntent requires a payment method to be attached.","value":"requires_payment_method"},{"description":"The PaymentIntent has succeeded.","value":"succeeded"}]}},"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","async_workflows","automatic_payment_methods","customer","hooks","last_payment_error","latest_charge","managed_payments","next_action","on_behalf_of","payment_details","payment_method","payment_method_configuration_details","payment_method_options","payment_record","presentment_details","processing","redaction","review","shipping","source","transfer_data"],"x-resourceId":"payment_intent","x-stableId":"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":"decrement_authorization","method_on":"service","method_type":"custom","operation":"post","path":"/v1/payment_intents/{intent}/decrement_authorization"},{"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"},{"method_name":"trigger_action","method_on":"service","method_type":"custom","operation":"post","path":"/v1/test/payment_intents/{intent}/trigger_action"}],"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":"PaymentIntent LineItem","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-stableId":"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"},"blik_authorize":{"$ref":"#/components/schemas/payment_intent_next_action_blik_authorize"},"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"},"klarna_display_qr_code":{"$ref":"#/components/schemas/payment_intent_next_action_klarna_display_qr_code"},"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","additionalProperties":true,"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","blik_authorize","boleto_display_details","card_await_notification","cashapp_handle_redirect_or_display_qr_code","display_bank_transfer_instructions","klarna_display_qr_code","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","blik_authorize","boleto_display_details","card_await_notification","cashapp_handle_redirect_or_display_qr_code","display_bank_transfer_instructions","klarna_display_qr_code","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_blik_authorize":{"title":"PaymentIntentNextActionBlikAuthorize","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"BlikAuthorize","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_klarna_display_qr_code":{"title":"PaymentIntentNextActionKlarnaDisplayQrCode","required":["data","expires_at","image_url_png","image_url_svg"],"type":"object","properties":{"data":{"maxLength":5000,"type":"string","description":"The data being used to generate QR code"},"expires_at":{"type":"integer","description":"The timestamp at which the QR code expires.","format":"unix-time","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","expires_at","image_url_png","image_url_svg"],"x-stripeResource":{"class_name":"KlarnaDisplayQrCode","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","expires_at","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."},"expires_at":{"type":"integer","description":"The timestamp at which 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":["data","expires_at","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"},"bizum":{"$ref":"#/components/schemas/payment_method_options_bizum"},"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"},"gopay":{"$ref":"#/components/schemas/payment_method_options_gopay"},"grabpay":{"$ref":"#/components/schemas/payment_method_options_grabpay"},"id_bank_transfer":{"$ref":"#/components/schemas/payment_method_options_id_bank_transfer"},"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"},"paypay":{"$ref":"#/components/schemas/payment_method_options_paypay"},"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"},"qris":{"$ref":"#/components/schemas/payment_method_options_qris"},"rechnung":{"$ref":"#/components/schemas/payment_intent_payment_method_options_rechnung"},"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"},"scalapay":{"$ref":"#/components/schemas/payment_method_options_scalapay"},"sepa_debit":{"$ref":"#/components/schemas/payment_intent_payment_method_options_sepa_debit"},"sequra":{"$ref":"#/components/schemas/payment_method_options_sequra"},"shopeepay":{"$ref":"#/components/schemas/payment_method_options_shopeepay"},"sofort":{"$ref":"#/components/schemas/payment_method_options_sofort"},"stripe_balance":{"$ref":"#/components/schemas/payment_intent_payment_method_options_stripe_balance"},"sunbit":{"$ref":"#/components/schemas/payment_method_options_sunbit"},"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","bizum","blik","boleto","card","card_present","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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","bizum","blik","boleto","card","card_present","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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":{"mandate_options":{"$ref":"#/components/schemas/payment_intent_payment_method_options_mandate_options_blik"},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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-stripeBypassValidation":true}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","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_decremental_authorization":{"type":"string","description":"Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.","enum":["if_available","never"]},"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_partial_authorization":{"type":"string","description":"Request partial authorization on 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_credential_usage":{"type":"string","description":"Set to indicate the future transaction type usage for the card being set up.","enum":["installment","recurring","unscheduled"],"x-stripeEnum":{"kind":"open","values":[{"description":"Use `installment` if the payment method will be used for future off-session installment payments that you manage. This is distinct from [`payment_method_options.card.installments`](/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments), which is used for issuer installments like [Mexico installments](/payments/meses-sin-intereses/accept-a-payment) and [Japan installments](/payments/jp-installments/accept-a-payment).","value":"installment"},{"description":"Use `recurring` if the payment method will be used for off-session payment that occurs at regularly scheduled intervals.","value":"recurring"},{"description":"Use `unscheduled` if the payment method will be used for off-session payment that does not occur at regular intervals on a scheduled date.","value":"unscheduled"}]}},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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."},"statement_details":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_options_statement_details"},"stored_credential_usage":{"type":"string","description":"Selected usage to indicate the transaction type of the off-session payment.","enum":["installment","recurring","unscheduled"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["installments","mandate_options","statement_details"],"x-stripeMostCommon":["capture_method","installments","mandate_options","network","request_decremental_authorization","request_extended_authorization","request_incremental_authorization","request_multicapture","request_overcapture","request_partial_authorization","request_three_d_secure","require_cvc_recollection","setup_credential_usage","setup_future_usage","statement_descriptor_suffix_kana","statement_descriptor_suffix_kanji","statement_details","stored_credential_usage"]},"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_blik":{"title":"payment_intent_payment_method_options_mandate_options_blik","required":["expires_at","type"],"type":"object","properties":{"expires_at":{"type":"integer","description":"Date at which the mandate expires.","format":"unix-time","nullable":true},"type":{"type":"string","description":"Type of the mandate.","nullable":true,"enum":["off_session"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_at","type"]},"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_rechnung":{"title":"payment_intent_payment_method_options_rechnung","type":"object","properties":{},"description":"","x-expandableFields":[]},"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_stripe_balance":{"title":"payment_intent_payment_method_options_stripe_balance","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_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"],"x-stripeEnum":{"kind":"open","values":[{"description":"For purchases of physical or digital goods, both recurring and one-off.","value":"goods"},{"description":"For anything other than the purchase of goods or services, like donations, loan repayments, and so on.","value":"other"},{"description":"For purchases of services, like streaming services, web hosting, and so on.","value":"services"},{"description":"This is the default value for payment methods when transaction_purpose is not set.","value":"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":["automatic_delayed","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":"Payment Link","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","managed_payments","metadata","object","on_behalf_of","payment_intent_data","payment_method_collection","payment_method_options","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 `elements`.","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`."},"managed_payments":{"description":"Settings for Managed Payments for this Payment Link and resulting [CheckoutSessions](/api/checkout/sessions/object), [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_managed_payments"}]},"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"],"x-stripeBypassValidation":true},"payment_method_options":{"description":"Payment-method-specific configuration.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_payment_method_options"}]},"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","bizum","blik","boleto","card","cashapp","eps","fpx","giropay","gopay","grabpay","ideal","klarna","konbini","link","mb_way","mobilepay","multibanco","oxxo","p24","pay_by_bank","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","satispay","sepa_debit","sequra","shopeepay","sofort","sunbit","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","managed_payments","name_collection","on_behalf_of","optional_items","payment_intent_data","payment_method_options","phone_number_collection","restrictions","shipping_address_collection","shipping_options","subscription_data","tax_id_collection","transfer_data"],"x-resourceId":"payment_link","x-stableId":"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_card_payment_method_options":{"title":"PaymentLinksResourceCardPaymentMethodOptions","required":["restrictions"],"type":"object","properties":{"restrictions":{"description":"Restrictions to apply to the card payment method. For example, you can block specific card brands.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_card_restrictions"}]}},"description":"","x-expandableFields":["restrictions"],"x-stripeMostCommon":["restrictions"]},"payment_links_resource_card_restrictions":{"title":"PaymentLinksResourceCardRestrictions","required":["brands_blocked"],"type":"object","properties":{"brands_blocked":{"type":"array","description":"The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.","items":{"type":"string","enum":["american_express","discover_global_network","mastercard","visa"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["brands_blocked"]},"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 100 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_options":{"title":"PaymentLinksResourcePaymentMethodOptions","required":["card"],"type":"object","properties":{"card":{"description":"Configuration for `card` payment methods.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_card_payment_method_options"}]}},"description":"","x-expandableFields":["card"],"x-stripeMostCommon":["card"]},"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"},"bizum":{"$ref":"#/components/schemas/payment_method_bizum"},"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"},"gopay":{"$ref":"#/components/schemas/payment_method_gopay"},"grabpay":{"$ref":"#/components/schemas/payment_method_grabpay"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"id_bank_transfer":{"$ref":"#/components/schemas/payment_method_id_bank_transfer"},"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"},"latest_active_mandate":{"description":"The Mandate object of the most recently created Mandate associated with this payment method","nullable":true,"anyOf":[{"$ref":"#/components/schemas/mandate"}]},"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"},"paypay":{"$ref":"#/components/schemas/payment_method_paypay"},"payto":{"$ref":"#/components/schemas/payment_method_payto"},"pix":{"$ref":"#/components/schemas/payment_method_pix"},"promptpay":{"$ref":"#/components/schemas/payment_method_promptpay"},"qris":{"$ref":"#/components/schemas/payment_method_qris"},"radar_options":{"$ref":"#/components/schemas/radar_radar_options"},"rechnung":{"$ref":"#/components/schemas/payment_method_rechnung"},"redaction":{"description":"Redaction status of this PaymentMethod. If the PaymentMethod is not redacted, this field will be null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_flows_payment_method_resource_redaction"}]},"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"},"scalapay":{"$ref":"#/components/schemas/payment_method_scalapay"},"sepa_debit":{"$ref":"#/components/schemas/payment_method_sepa_debit"},"sequra":{"$ref":"#/components/schemas/payment_method_sequra"},"shared_payment_granted_token":{"maxLength":5000,"type":"string","description":"ID of the shared payment granted token used in the creation of this PaymentMethod.","nullable":true},"shopeepay":{"$ref":"#/components/schemas/payment_method_shopeepay"},"sofort":{"$ref":"#/components/schemas/payment_method_sofort"},"stripe_balance":{"$ref":"#/components/schemas/payment_method_stripe_balance"},"sunbit":{"$ref":"#/components/schemas/payment_method_sunbit"},"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","bizum","blik","boleto","card","card_present","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","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","bizum","blik","boleto","card","card_present","cashapp","crypto","custom","customer","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","latest_active_mandate","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","radar_options","rechnung","redaction","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","stripe_balance","sunbit","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-resourceId":"payment_method","x-stableId":"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":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account.","nullable":true},"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_bizum":{"title":"payment_method_bizum","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}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id"]},"payment_method_blik":{"title":"payment_method_blik","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_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":"Payment Method Configuration","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"},"bizum":{"$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"},"gopay":{"$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."},"id_bank_transfer":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"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"},"paypay":{"$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"},"qris":{"$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"},"scalapay":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"sepa_debit":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"sequra":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"shopeepay":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"sofort":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"sunbit":{"$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","bizum","blik","boleto","card","cartes_bancaires","cashapp","crypto","customer_balance","eps","fpx","giropay","google_pay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shopeepay","sofort","sunbit","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-resourceId":"payment_method_configuration","x-stableId":"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_method_details_alipay"},"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"},"bizum":{"$ref":"#/components/schemas/payment_method_details_bizum"},"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"},"gopay":{"$ref":"#/components/schemas/payment_method_details_gopay"},"grabpay":{"$ref":"#/components/schemas/payment_method_details_grabpay"},"id_bank_transfer":{"$ref":"#/components/schemas/payment_method_details_id_bank_transfer"},"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"},"paypay":{"$ref":"#/components/schemas/payment_method_details_paypay"},"payto":{"$ref":"#/components/schemas/payment_method_details_payto"},"pix":{"$ref":"#/components/schemas/payment_method_details_pix"},"promptpay":{"$ref":"#/components/schemas/payment_method_details_promptpay"},"qris":{"$ref":"#/components/schemas/payment_method_details_qris"},"rechnung":{"$ref":"#/components/schemas/payment_method_details_rechnung"},"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"},"scalapay":{"$ref":"#/components/schemas/payment_method_details_scalapay"},"sepa_credit_transfer":{"$ref":"#/components/schemas/payment_method_details_sepa_credit_transfer"},"sepa_debit":{"$ref":"#/components/schemas/payment_method_details_sepa_debit"},"sequra":{"$ref":"#/components/schemas/payment_method_details_sequra"},"shopeepay":{"$ref":"#/components/schemas/payment_method_details_shopeepay"},"sofort":{"$ref":"#/components/schemas/payment_method_details_sofort"},"stripe_account":{"$ref":"#/components/schemas/payment_method_details_stripe_account"},"stripe_balance":{"$ref":"#/components/schemas/payment_method_details_stripe_balance"},"sunbit":{"$ref":"#/components/schemas/payment_method_details_sunbit"},"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","bizum","blik","boleto","card","card_present","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_credit_transfer","sepa_debit","sequra","shopeepay","sofort","stripe_account","stripe_balance","sunbit","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","bizum","blik","boleto","card","card_present","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_credit_transfer","sepa_debit","sequra","shopeepay","sofort","stripe_account","stripe_balance","sunbit","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 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_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_alipay":{"title":"payment_method_details_alipay","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_method_details_alma":{"title":"payment_method_details_alma","required":["transaction_id"],"type":"object","properties":{"installments":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_alma_details_resource_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_bizum":{"title":"payment_method_details_bizum","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 Bizum transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","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","electronic_commerce_indicator","exp_month","exp_year","funding","installments","last4","mandate","network","network_transaction_id","regulated_status","three_d_secure","transaction_link_id","wallet"],"type":"object","properties":{"amount_authorized":{"type":"integer","description":"The authorized amount.","nullable":true},"amount_requested":{"type":"integer","description":"The latest amount intended to be authorized by this charge.","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},"decremental_authorization":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_decremental_authorization_decremental_authorization"},"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},"electronic_commerce_indicator":{"maxLength":5000,"type":"string","description":"The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.","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":{"description":"ID of the mandate used to make this payment or created by it.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"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"},"partial_authorization":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_partial_authorization_partial_authorization"},"regulated_status":{"type":"string","description":"Status of a card based on the card issuer.","nullable":true,"enum":["regulated","unregulated"]},"setup_credential_usage":{"type":"string","description":"The payment_method_options.card.setup_credential_usage value that was passed when setup_future_usage was present at confirmation, one of `recurring`, `unscheduled`, or `installment`","enum":["installment","recurring","unscheduled"],"x-stripeEnum":{"kind":"open","values":[{"description":"Use `installment` if the payment method will be used for future off-session installment payments that you manage. This is distinct from [`payment_method_options.card.installments`](/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments), which is used for issuer installments like [Mexico installments](/payments/meses-sin-intereses/accept-a-payment) and [Japan installments](/payments/jp-installments/accept-a-payment).","value":"installment"},{"description":"Use `recurring` if the payment method will be used for off-session payment that occurs at regularly scheduled intervals.","value":"recurring"},{"description":"Use `unscheduled` if the payment method will be used for off-session payment that does not occur at regular intervals on a scheduled date.","value":"unscheduled"}]}},"stored_credential_usage":{"type":"string","description":"The payment_method_options.card.stored_credential_usage value that was passed for an off session, merchant-initiated transaction, one of `recurring`, `unscheduled`, `on_session`, or `installment`","enum":["installment","recurring","unscheduled"],"x-stripeBypassValidation":true},"three_d_secure":{"description":"Populated if this transaction used 3D Secure authentication.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/three_d_secure_details_charge"}]},"transaction_link_id":{"maxLength":22,"type":"string","description":"Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.","nullable":true},"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","decremental_authorization","extended_authorization","incremental_authorization","installments","mandate","multicapture","network_token","overcapture","partial_authorization","three_d_secure","wallet"],"x-stripeMostCommon":["amount_authorized","amount_requested","authorization_code","brand","capture_before","checks","country","decremental_authorization","description","electronic_commerce_indicator","exp_month","exp_year","extended_authorization","fingerprint","funding","iin","incremental_authorization","installments","issuer","last4","mandate","moto","multicapture","network","network_token","network_transaction_id","overcapture","partial_authorization","regulated_status","setup_credential_usage","stored_credential_usage","three_d_secure","transaction_link_id","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","required":["funding_source_group"],"type":"object","properties":{"funding_source_group":{"maxLength":5000,"type":"string","description":"The [funding source group code](https://docs.stripe.com/payments/link/link-payment-methods) applied to this Link payment at confirmation time.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["funding_source_group"]},"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","sui","tempo"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Base","value":"base"},{"description":"Ethereum","value":"ethereum"},{"description":"Polygon","value":"polygon"},{"description":"Solana","value":"solana"},{"description":"Sui","value":"sui"},{"description":"Tempo","value":"tempo"}]}},"token_currency":{"type":"string","description":"The token currency that the transaction was sent with.","enum":["phantom_cash","usdc","usdg","usdp","usdsui","usdt"],"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`, `bnp_paribas`, `bank_rakyat`, `bsn`, `cimb`, `citibank`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `mbsb_bank`, `pb_enterprise`, or `bank_of_china`.","enum":["affin_bank","agrobank","alliance_bank","ambank","bank_islam","bank_muamalat","bank_of_china","bank_rakyat","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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_gopay":{"title":"payment_method_details_gopay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Gopay","in_package":""}},"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_id_bank_transfer":{"title":"payment_method_details_id_bank_transfer","required":["account_number","bank"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account to transfer funds to."},"bank":{"type":"string","description":"Bank where the account is located.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true},"bank_code":{"maxLength":5000,"type":"string","description":"Local bank code of the bank."},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account."},"display_name":{"maxLength":5000,"type":"string","description":"Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_number","bank","bank_code","bank_name","display_name"]},"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":{"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."},"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},"reader":{"maxLength":5000,"type":"string","description":"ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on."}},"description":"","x-expandableFields":["payer_details"],"x-stripeMostCommon":["location","payer_details","payment_method_category","preferred_locale","reader"]},"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_flows_private_payment_methods_konbini_details_resource_store"}]}},"description":"","x-expandableFields":["store"],"x-stripeMostCommon":["store"]},"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},"funding_source_group":{"maxLength":5000,"type":"string","description":"The [funding source group code](https://docs.stripe.com/payments/link/link-payment-methods) applied to this Link payment at confirmation time."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country","funding_source_group"]},"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 `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `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. (For internal use only and not typically available in standard API requests.)","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","brand_product","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_acss_debit":{"title":"payment_method_details_payment_record_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_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_alipay":{"title":"payment_method_details_payment_record_alipay","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_method_details_payment_record_alma":{"title":"payment_method_details_payment_record_alma","required":["transaction_id"],"type":"object","properties":{"installments":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_alma_details_resource_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_payment_record_amazon_pay":{"title":"payment_method_details_payment_record_amazon_pay","required":["transaction_id"],"type":"object","properties":{"funding":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_amazon_pay_details_resource_funding"},"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_payment_record_au_becs_debit":{"title":"payment_method_details_payment_record_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_payment_record_bacs_debit":{"title":"payment_method_details_payment_record_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_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_billie":{"title":"payment_method_details_payment_record_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_payment_record_bizum":{"title":"payment_method_details_payment_record_bizum","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 Bizum transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","transaction_id"]},"payment_method_details_payment_record_blik":{"title":"payment_method_details_payment_record_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_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_eps":{"title":"payment_method_details_payment_record_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 (if supported) at the time of authorization or settlement. They cannot be set or mutated. EPS rarely provides this information so the attribute is usually empty.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank","verified_name"]},"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_gopay":{"title":"payment_method_details_payment_record_gopay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Gopay","in_package":""}},"payment_method_details_payment_record_id_bank_transfer":{"title":"payment_method_details_payment_record_id_bank_transfer","required":["account_number","bank"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account to transfer funds to."},"bank":{"type":"string","description":"Bank where the account is located.","enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"value":"bca"},{"value":"bni"},{"value":"bri"},{"value":"cimb"},{"value":"permata"}]}},"bank_code":{"maxLength":5000,"type":"string","description":"Local bank code of the bank."},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account."},"display_name":{"maxLength":5000,"type":"string","description":"Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_number","bank","bank_code","bank_name","display_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_klarna":{"title":"payment_method_details_payment_record_klarna","required":["payer_details","payment_method_category","preferred_locale"],"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."},"payer_details":{"description":"The payer details for this transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_klarna_details_resource_payer_details"}]},"payment_method_category":{"maxLength":5000,"type":"string","description":"The Klarna payment method used for this transaction. Can 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. Can 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},"reader":{"maxLength":5000,"type":"string","description":"ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on."}},"description":"","x-expandableFields":["payer_details"],"x-stripeMostCommon":["location","payer_details","payment_method_category","preferred_locale","reader"]},"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_link":{"title":"payment_method_details_payment_record_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. You could use this attribute to get a sense of international fees.","nullable":true},"funding_source_group":{"maxLength":5000,"type":"string","description":"The [funding source group code](https://docs.stripe.com/payments/link/link-payment-methods) applied to this Link payment at confirmation time."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country","funding_source_group"]},"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_momo":{"title":"payment_method_details_payment_record_momo","required":["fingerprint"],"type":"object","properties":{"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular MoMo account. You can use this attribute to check whether two MoMo accounts are the same.","nullable":true},"mandate":{"maxLength":5000,"type":"string","description":"ID of the multi-use Mandate created by, or used to make, this MoMo payment."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fingerprint","mandate"],"x-stripeResource":{"class_name":"Momo","in_package":""}},"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_nz_bank_account":{"title":"payment_method_details_payment_record_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_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_p24":{"title":"payment_method_details_payment_record_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 (if supported) at the time of authorization or settlement. They cannot be set or mutated. Przelewy24 rarely provides this information so the attribute is usually empty.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank","reference","verified_name"]},"payment_method_details_payment_record_pay_by_bank":{"title":"payment_method_details_payment_record_pay_by_bank","type":"object","properties":{},"description":"","x-expandableFields":[]},"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_paypay":{"title":"payment_method_details_payment_record_paypay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_payment_record_payto":{"title":"payment_method_details_payment_record_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_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},"mandate":{"maxLength":5000,"type":"string","description":"ID of the multi use Mandate generated by the PaymentIntent or SetupIntent."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_transaction_id","mandate"]},"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_qris":{"title":"payment_method_details_payment_record_qris","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_payment_record_rechnung":{"title":"payment_method_details_payment_record_rechnung","required":["payment_portal_url"],"type":"object","properties":{"payment_portal_url":{"maxLength":5000,"type":"string","description":"Payment portal URL.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["payment_portal_url"]},"payment_method_details_payment_record_revolut_pay":{"title":"payment_method_details_payment_record_revolut_pay","required":["transaction_id"],"type":"object","properties":{"funding":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_revolut_pay_details_resource_funding"},"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_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_satispay":{"title":"payment_method_details_payment_record_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_payment_record_scalapay":{"title":"payment_method_details_payment_record_scalapay","required":["transaction_id"],"type":"object","properties":{"transaction_id":{"maxLength":5000,"type":"string","description":"The Scalapay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_id"],"x-stripeResource":{"class_name":"Scalapay","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_sequra":{"title":"payment_method_details_payment_record_sequra","required":["transaction_id"],"type":"object","properties":{"transaction_id":{"maxLength":5000,"type":"string","description":"The SeQura transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_id"],"x-stripeResource":{"class_name":"Sequra","in_package":""}},"payment_method_details_payment_record_shopeepay":{"title":"payment_method_details_payment_record_shopeepay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Shopeepay","in_package":""}},"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_sunbit":{"title":"payment_method_details_payment_record_sunbit","required":["transaction_id"],"type":"object","properties":{"transaction_id":{"maxLength":5000,"type":"string","description":"The Sunbit transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_id"],"x-stripeResource":{"class_name":"Sunbit","in_package":""}},"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":{"mandate":{"maxLength":5000,"type":"string","description":"ID of the multi use Mandate generated by the PaymentIntent or SetupIntent."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["mandate"]},"payment_method_details_payment_record_upi":{"title":"payment_method_details_payment_record_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_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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Account belongs to a company","value":"company"},{"description":"Account belongs to an individual","value":"individual"}]}},"account_type":{"type":"string","description":"The type of the bank account. This can be either 'checking' or 'savings'.","nullable":true,"enum":["checking","savings"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank account type is checking","value":"checking"},{"description":"Bank account type is savings","value":"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"}]},"shipping":{"description":"The shipping address for the customer, as supplied by the merchant at the point of payment\nexecution. This shipping address will not be updated if the merchant updates the shipping\naddress on the PaymentIntent after the PaymentIntent was successfully confirmed.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"transaction_id":{"maxLength":5000,"type":"string","description":"A unique ID generated by PayPal for this transaction.","nullable":true},"verified_address":{"description":"The shipping address for the customer, as supplied by the merchant at the point of payment\nexecution. This shipping address will not be updated if the merchant updates the shipping\naddress on the PaymentIntent after the PaymentIntent was successfully confirmed.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"verified_email":{"maxLength":5000,"type":"string","description":"Owner's verified email. Values are verified or provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.","nullable":true},"verified_name":{"maxLength":5000,"type":"string","description":"Owner's verified full name. Values are verified or provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.","nullable":true}},"description":"","x-expandableFields":["seller_protection","shipping","verified_address"],"x-stripeMostCommon":["country","payer_email","payer_id","payer_name","seller_protection","shipping","transaction_id","verified_address","verified_email","verified_name"]},"payment_method_details_paypay":{"title":"payment_method_details_paypay","type":"object","properties":{},"description":"","x-expandableFields":[]},"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},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.","nullable":true},"mandate":{"maxLength":5000,"type":"string","description":"ID of the multi use Mandate generated by the PaymentIntent or SetupIntent."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_transaction_id","fingerprint","mandate"]},"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_qris":{"title":"payment_method_details_qris","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_rechnung":{"title":"payment_method_details_rechnung","required":["payment_portal_url"],"type":"object","properties":{"payment_portal_url":{"maxLength":5000,"type":"string","description":"Payment portal URL.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["payment_portal_url"],"x-stripeResource":{"class_name":"Rechnung","in_package":""}},"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_scalapay":{"title":"payment_method_details_scalapay","required":["transaction_id"],"type":"object","properties":{"transaction_id":{"maxLength":5000,"type":"string","description":"The Scalapay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_id"],"x-stripeResource":{"class_name":"Scalapay","in_package":""}},"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_sequra":{"title":"payment_method_details_sequra","required":["transaction_id"],"type":"object","properties":{"transaction_id":{"maxLength":5000,"type":"string","description":"The SeQura transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_id"],"x-stripeResource":{"class_name":"Sequra","in_package":""}},"payment_method_details_shopeepay":{"title":"payment_method_details_shopeepay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Shopeepay","in_package":""}},"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_stripe_balance":{"title":"payment_method_details_stripe_balance","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account"],"x-stripeResource":{"class_name":"StripeBalance","in_package":""}},"payment_method_details_sunbit":{"title":"payment_method_details_sunbit","required":["transaction_id"],"type":"object","properties":{"transaction_id":{"maxLength":5000,"type":"string","description":"The Sunbit transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_id"]},"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":{"mandate":{"maxLength":5000,"type":"string","description":"ID of the multi use Mandate generated by the PaymentIntent or SetupIntent."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["mandate"]},"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":"PaymentMethodDomain","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-stableId":"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":"PaymentMethodStatus","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":"PaymentMethodStatusDetail","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`, `bnp_paribas`, `bank_rakyat`, `bsn`, `cimb`, `citibank`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `mbsb_bank`, `pb_enterprise`, or `bank_of_china`.","enum":["affin_bank","agrobank","alliance_bank","ambank","bank_islam","bank_muamalat","bank_of_china","bank_rakyat","bnp_paribas","bsn","cimb","citibank","deutsche_bank","hong_leong_bank","hsbc","kfh","maybank2e","maybank2u","mbsb_bank","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_gopay":{"title":"payment_method_gopay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Gopay","in_package":""}},"payment_method_grabpay":{"title":"payment_method_grabpay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_id_bank_transfer":{"title":"payment_method_id_bank_transfer","required":["bank","bank_code","bank_name","display_name"],"type":"object","properties":{"bank":{"type":"string","nullable":true,"enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true},"bank_code":{"maxLength":5000,"type":"string","nullable":true},"bank_name":{"maxLength":5000,"type":"string","nullable":true},"display_name":{"maxLength":5000,"type":"string","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank","bank_code","bank_name","display_name"]},"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"]},"company_details":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_billie_payment_method_options_resource_company_details"},"reference":{"maxLength":5000,"type":"string","description":"An identifier or reference that this payment corresponds to.","nullable":true}},"description":"","x-expandableFields":["company_details"],"x-stripeMostCommon":["capture_method","company_details","reference"]},"payment_method_options_bizum":{"title":"payment_method_options_bizum","type":"object","properties":{},"description":"","x-expandableFields":[]},"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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `manual` if you intend to place the funds on hold and want to override the top-level `capture_method` value for this payment method.","value":"manual"},{"description":"Use `manual_preferred` if you prefer `manual` capture_method but support falling back to `automatic` based on the presented payment method.","value":"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_gopay":{"title":"payment_method_options_gopay","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_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_id_bank_transfer":{"title":"payment_method_options_id_bank_transfer","required":["expires_at"],"type":"object","properties":{"expires_after":{"type":"integer","description":"The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.","nullable":true},"expires_at":{"type":"integer","description":"The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.","format":"unix-time","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","expires_at","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_pix":{"title":"payment_method_options_mandate_options_pix","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax.","enum":["always","never"]},"amount_type":{"type":"string","description":"Type of amount.","enum":["fixed","maximum"]},"currency":{"type":"string","description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.","format":"currency"},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`."},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged.","enum":["halfyearly","monthly","quarterly","weekly","yearly"]},"reference":{"maxLength":5000,"type":"string","description":"Subscription name displayed to buyers in their bank app."},"start_date":{"maxLength":5000,"type":"string","description":"Start date of the mandate, in `YYYY-MM-DD`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_includes_iof","amount_type","currency","end_date","payment_schedule","reference","start_date"]},"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"]},"line_items":{"type":"array","description":"The line items purchased by the customer.","items":{"$ref":"#/components/schemas/line_item_paypal"}},"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},"reference_id":{"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"]},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":["line_items"],"x-stripeMostCommon":["capture_method","line_items","preferred_locale","reference","reference_id","setup_future_usage","subsellers"]},"payment_method_options_paypay":{"title":"payment_method_options_paypay","type":"object","properties":{},"description":"","x-expandableFields":[]},"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},"mandate_options":{"$ref":"#/components/schemas/payment_method_options_mandate_options_pix"},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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":["amount_includes_iof","expires_after_seconds","expires_at","mandate_options","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_qris":{"title":"payment_method_options_qris","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"closed","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"none"},{"description":"Use `off_session` if your customer may or may not be present in your checkout flow.","value":"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"]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen 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_scalapay":{"title":"payment_method_options_scalapay","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_sequra":{"title":"payment_method_options_sequra","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_method_options_shopeepay":{"title":"payment_method_options_shopeepay","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_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_sunbit":{"title":"payment_method_options_sunbit","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_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","off_session"]}},"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, android, or mini_program.","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Use `none` if you do not intend to reuse this payment method and want to override the top-level `setup_future_usage` value for this payment method.","value":"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},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.","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},"verified_email":{"maxLength":5000,"type":"string","description":"Owner's verified email. Values are verified or provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country","fingerprint","payer_email","payer_id","verified_email"]},"payment_method_paypay":{"title":"payment_method_paypay","type":"object","properties":{},"description":"","x-expandableFields":[]},"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":{"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fingerprint"]},"payment_method_promptpay":{"title":"payment_method_promptpay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_qris":{"title":"payment_method_qris","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_rechnung":{"title":"payment_method_rechnung","type":"object","properties":{"dob":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_rechnung_dob"}},"description":"","x-expandableFields":["dob"],"x-stripeMostCommon":["dob"],"x-stripeResource":{"class_name":"Rechnung","in_package":""}},"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_scalapay":{"title":"payment_method_scalapay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Scalapay","in_package":""}},"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_sequra":{"title":"payment_method_sequra","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Sequra","in_package":""}},"payment_method_shopeepay":{"title":"payment_method_shopeepay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Shopeepay","in_package":""}},"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_stripe_balance":{"title":"payment_method_stripe_balance","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account ID whose Stripe balance to use as the source of payment","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account"],"x-stripeResource":{"class_name":"StripeBalance","in_package":""}},"payment_method_sunbit":{"title":"payment_method_sunbit","type":"object","properties":{},"description":"","x-expandableFields":[]},"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_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account.","nullable":true},"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_checkout_session_resource_resource_fields_redaction":{"title":"PaymentPagesCheckoutSessionCheckoutSessionResourceResourceFieldsRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"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},"email":{"maxLength":5000,"type":"string","description":"Customer’s email for this Checkout Session","nullable":true},"individual_name":{"maxLength":5000,"type":"string","description":"Customer’s individual name for this Checkout Session","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"Customer’s phone number 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"}]},"tax_id":{"description":"Customer’s tax id for this Checkout Session.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_tax_id"}]}},"description":"","x-expandableFields":["shipping_details","tax_id"],"x-stripeMostCommon":["business_name","email","individual_name","phone","shipping_details","tax_id"]},"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 and US customers.","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 100 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_managed_payments":{"title":"PaymentPagesCheckoutSessionManagedPayments","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"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":{"description":"Permissions for updating the Checkout Session.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_update_permission"}]},"update_line_items":{"type":"string","description":"Determines which entity is allowed to update the line items.\n\nDefault is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.\n\nWhen set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.","nullable":true,"enum":["client_only","server_only"]},"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\nThis parameter is only supported when `ui_mode=elements`.","nullable":true,"enum":["client_only","server_only"]}},"description":"","x-expandableFields":["update"],"x-stripeMostCommon":["update","update_line_items","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`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `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`, `ic_nif`, 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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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_checkout_session_update_permission":{"title":"PaymentPagesCheckoutSessionUpdatePermission","required":["shipping_details"],"type":"object","properties":{"line_items":{"type":"string","description":"Determines which entity is allowed to update the line items.\n\nDefault is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.\n\nWhen set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.","nullable":true,"enum":["client_only","server_only"]},"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\nThis parameter is only supported when `ui_mode=elements`.","nullable":true,"enum":["client_only","server_only"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["line_items","shipping_details"],"x-stripeResource":{"class_name":"UpdatePermission","in_package":""}},"payment_pages_private_card_payment_method_options_resource_restrictions":{"title":"PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions","type":"object","properties":{"brands_blocked":{"type":"array","description":"The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.","items":{"type":"string","enum":["american_express","discover_global_network","mastercard","visa"]}},"funding_types_blocked":{"type":"array","description":"Card funding types to block for this Checkout Session. Supported values are `credit`, `debit`, and `prepaid`.","items":{"type":"string","enum":["credit","debit","prepaid"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["brands_blocked","funding_types_blocked"],"x-stripeResource":{"class_name":"CheckoutCardRestrictions","in_package":""}},"payment_plan_amount":{"title":"PaymentPlanAmount","required":["amount","amount_paid","amount_remaining","days_until_due","description","due_date","paid_at","status"],"type":"object","properties":{"amount":{"type":"integer","description":"Incremental amount due for this payment in cents (or local equivalent)."},"amount_paid":{"type":"integer","description":"The amount in cents (or local equivalent) that was paid for this payment."},"amount_remaining":{"type":"integer","description":"The difference between the payment’s amount and amount_paid, in cents (or local equivalent)."},"days_until_due":{"type":"integer","description":"Number of days from when invoice is finalized until the payment is due.","nullable":true},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"due_date":{"type":"integer","description":"Date on which a payment plan’s payment is due.","format":"unix-time","nullable":true},"paid_at":{"type":"integer","description":"Timestamp when the payment was paid.","format":"unix-time","nullable":true},"status":{"type":"string","description":"The status of the payment, one of `open`, `paid`, or `past_due`","enum":["open","paid","past_due"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_paid","amount_remaining","days_until_due","description","due_date","paid_at","status"]},"payment_record":{"title":"Payment Record","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-stableId":"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":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/payment_records"},{"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","has_collection_class":true,"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":"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":"A representation of a physical address.","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"payments_primitives_payment_records_resource_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 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":"Billing Detail","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":"Customer Detail","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_alma_details_resource_installments":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodAlmaDetailsResourceInstallments","required":["count"],"type":"object","properties":{"count":{"type":"integer","description":"The number of installments."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["count"]},"payments_primitives_payment_records_resource_payment_method_amazon_pay_details_resource_funding":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodAmazonPayDetailsResourceFunding","required":["type"],"type":"object","properties":{"card":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_amazon_pay_details_resource_funding_resource_funding_card"},"type":{"type":"string","description":"funding type of the underlying payment method.","nullable":true,"enum":["card"],"x-stripeEnum":{"kind":"open","values":[{"value":"card"}]}}},"description":"","x-expandableFields":["card"],"x-stripeMostCommon":["card","type"]},"payments_primitives_payment_records_resource_payment_method_amazon_pay_details_resource_funding_resource_funding_card":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodAmazonPayDetailsResourceFundingResourceFundingCard","required":["brand","country","exp_month","exp_year","funding","last4"],"type":"object","properties":{"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`.","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. (For internal use only and not typically available in standard API requests.)","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","brand_product","country","exp_month","exp_year","funding","last4"]},"payments_primitives_payment_records_resource_payment_method_card_details":{"title":"Card payment method detail","required":["authorization_code","brand","checks","country","exp_month","exp_year","funding","installments","last4","network","network_advice_code","network_decline_code","network_transaction_id","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":["installment","recurring","unscheduled"],"x-stripeBypassValidation":true},"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","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"]},"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"**Mastercard variant:** Attempt acknowledged.","value":"01"},{"description":"**Mastercard variant:** Fully authenticated.","value":"02"},{"value":"03"},{"value":"04"},{"description":"Fully authenticated. The customer likely proved their identity to the issuing bank.","value":"05"},{"description":"Attempt acknowledged. The customer, or the entire issuing bank, is not\nset up for 3D Secure. Or the issuing bank is experiencing an outage.\n\n**Mastercard variant:** Acquirer SCA exemption.","value":"06"},{"description":"**Mastercard variant:** Fully authenticated recurring transaction.","value":"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Transaction Risk Analysis (TRA) was performed, a low risk exemption was requested via 3DS and granted by the issuer.","value":"low_risk"},{"description":"No exemption was requested via 3DS; or, if requested, it was not granted by the issuer.","value":"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","data_share_only","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","2.3.0","2.3.1"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["authentication_flow","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"},"link":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details_resource_wallet_resource_link"},"type":{"maxLength":5000,"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."}},"description":"","x-expandableFields":["apple_pay","google_pay","link"],"x-stripeMostCommon":["apple_pay","dynamic_last4","google_pay","link","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_card_details_resource_wallet_resource_link":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetailsResourceWalletResourceLink","type":"object","properties":{},"description":"","x-expandableFields":[]},"payments_primitives_payment_records_resource_payment_method_custom_details":{"title":"Custom payment method detail","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":"Payment method detail","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_payment_record_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_method_details_payment_record_alipay"},"alma":{"$ref":"#/components/schemas/payment_method_details_payment_record_alma"},"amazon_pay":{"$ref":"#/components/schemas/payment_method_details_payment_record_amazon_pay"},"au_becs_debit":{"$ref":"#/components/schemas/payment_method_details_payment_record_au_becs_debit"},"bacs_debit":{"$ref":"#/components/schemas/payment_method_details_payment_record_bacs_debit"},"bancontact":{"$ref":"#/components/schemas/payment_method_details_payment_record_bancontact"},"billie":{"$ref":"#/components/schemas/payment_method_details_payment_record_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"}]},"bizum":{"$ref":"#/components/schemas/payment_method_details_payment_record_bizum"},"blik":{"$ref":"#/components/schemas/payment_method_details_payment_record_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_payment_record_eps"},"fpx":{"$ref":"#/components/schemas/payment_method_details_fpx"},"giropay":{"$ref":"#/components/schemas/payment_method_details_payment_record_giropay"},"gopay":{"$ref":"#/components/schemas/payment_method_details_payment_record_gopay"},"grabpay":{"$ref":"#/components/schemas/payment_method_details_grabpay"},"id_bank_transfer":{"$ref":"#/components/schemas/payment_method_details_payment_record_id_bank_transfer"},"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_payment_record_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_payment_record_link"},"mb_way":{"$ref":"#/components/schemas/payment_method_details_payment_record_mb_way"},"mobilepay":{"$ref":"#/components/schemas/payment_method_details_payment_record_mobilepay"},"momo":{"$ref":"#/components/schemas/payment_method_details_payment_record_momo"},"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_payment_record_nz_bank_account"},"oxxo":{"$ref":"#/components/schemas/payment_method_details_payment_record_oxxo"},"p24":{"$ref":"#/components/schemas/payment_method_details_payment_record_p24"},"pay_by_bank":{"$ref":"#/components/schemas/payment_method_details_payment_record_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"},"paypay":{"$ref":"#/components/schemas/payment_method_details_payment_record_paypay"},"payto":{"$ref":"#/components/schemas/payment_method_details_payment_record_payto"},"pix":{"$ref":"#/components/schemas/payment_method_details_payment_record_pix"},"promptpay":{"$ref":"#/components/schemas/payment_method_details_payment_record_promptpay"},"qris":{"$ref":"#/components/schemas/payment_method_details_payment_record_qris"},"rechnung":{"$ref":"#/components/schemas/payment_method_details_payment_record_rechnung"},"revolut_pay":{"$ref":"#/components/schemas/payment_method_details_payment_record_revolut_pay"},"samsung_pay":{"$ref":"#/components/schemas/payment_method_details_payment_record_samsung_pay"},"satispay":{"$ref":"#/components/schemas/payment_method_details_payment_record_satispay"},"scalapay":{"$ref":"#/components/schemas/payment_method_details_payment_record_scalapay"},"sepa_credit_transfer":{"$ref":"#/components/schemas/payment_method_details_sepa_credit_transfer"},"sepa_debit":{"$ref":"#/components/schemas/payment_method_details_payment_record_sepa_debit"},"sequra":{"$ref":"#/components/schemas/payment_method_details_payment_record_sequra"},"shopeepay":{"$ref":"#/components/schemas/payment_method_details_payment_record_shopeepay"},"sofort":{"$ref":"#/components/schemas/payment_method_details_payment_record_sofort"},"stripe_account":{"$ref":"#/components/schemas/payment_method_details_stripe_account"},"stripe_balance":{"$ref":"#/components/schemas/payment_method_details_stripe_balance"},"sunbit":{"$ref":"#/components/schemas/payment_method_details_payment_record_sunbit"},"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_payment_record_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","bizum","blik","boleto","card","card_present","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","momo","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_credit_transfer","sepa_debit","sequra","shopeepay","sofort","stripe_account","stripe_balance","sunbit","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","bizum","blik","boleto","card","card_present","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","momo","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","payment_method","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_credit_transfer","sepa_debit","sequra","shopeepay","sofort","stripe_account","stripe_balance","sunbit","swish","twint","type","upi","us_bank_account","wechat","wechat_pay","zip"]},"payments_primitives_payment_records_resource_payment_method_klarna_details_resource_payer_details":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodKlarnaDetailsResourcePayerDetails","required":["address"],"type":"object","properties":{"address":{"description":"The payer's address","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_klarna_details_resource_payer_details_resource_payer_details_address"}]}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address"]},"payments_primitives_payment_records_resource_payment_method_klarna_details_resource_payer_details_resource_payer_details_address":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodKlarnaDetailsResourcePayerDetailsResourcePayerDetailsAddress","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The payer address country","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country"]},"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,"x-stripeEnum":{"kind":"open","values":[{"description":"FamilyMart convenience store chain.","value":"familymart"},{"description":"Lawson convenience store chain.","value":"lawson"},{"description":"Ministop convenience store chain.","value":"ministop"},{"description":"Seicomart convenience store chain.","value":"seicomart"}]}}},"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_payment_method_revolut_pay_details_resource_funding":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodRevolutPayDetailsResourceFunding","required":["type"],"type":"object","properties":{"card":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_revolut_pay_details_resource_funding_resource_funding_card"},"type":{"type":"string","description":"Funding type of the underlying payment method.","nullable":true,"enum":["card"],"x-stripeEnum":{"kind":"open","values":[{"value":"card"}]}}},"description":"","x-expandableFields":["card"],"x-stripeMostCommon":["card","type"]},"payments_primitives_payment_records_resource_payment_method_revolut_pay_details_resource_funding_resource_funding_card":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodRevolutPayDetailsResourceFundingResourceFundingCard","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},"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. (For internal use only and not typically available in standard API requests.)","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","brand_product","country","exp_month","exp_year","funding","last4"]},"payments_primitives_payment_records_resource_processor_details":{"title":"Processor Detail","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":"Custom processor detail","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":"Shipping Detail","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-stableId":"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-stableId":"connect_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":"Fields that are `currently_due` and need to be collected again because validation or verification failed.","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":"Fields that are `currently_due` and need to be collected again because validation or verification failed.","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://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration.\n\nPlans define the base price, currency, and billing cycle for recurring purchases of products.\n[Products](https://docs.stripe.com/api#products) help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.\n\nFor example, you might have a single \"gold\" product that has plans for $10/month, $100/year, €9/month, and €90/year.\n\nRelated guides: [Set up a subscription](https://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-stableId":"billing_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_after_expiration":{"title":"PortalAfterExpiration","required":["customer_login","type"],"type":"object","properties":{"customer_login":{"description":"Configuration for authenticating the customer after the session expires.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_after_expiration_customer_login"}]},"type":{"type":"string","description":"The behavior to apply when the session expires.","enum":["customer_login"],"x-stripeEnum":{"kind":"open","values":[{"description":"Allow the customer to authenticate by email to create a replacement session.","value":"customer_login"}]}}},"description":"","x-expandableFields":["customer_login"],"x-stripeMostCommon":["customer_login","type"]},"portal_after_expiration_customer_login":{"title":"PortalAfterExpirationCustomerLogin","required":["expires_at"],"type":"object","properties":{"expires_at":{"type":"integer","description":"The time after which the customer can no longer recover this session.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_at"]},"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","customer_update","subscription_cancel","subscription_update","subscription_update_confirm","type"],"type":"object","properties":{"after_completion":{"$ref":"#/components/schemas/portal_flows_flow_after_completion"},"customer_update":{"description":"Configuration when `flow.type=customer_update`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_flows_flow_customer_update"}]},"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":["customer_update","payment_method_update","subscription_cancel","subscription_update","subscription_update_confirm"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["after_completion","customer_update","subscription_cancel","subscription_update","subscription_update_confirm"],"x-stripeMostCommon":["after_completion","customer_update","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_customer_update":{"title":"PortalFlowsFlowCustomerUpdate","type":"object","properties":{},"description":"","x-expandableFields":[]},"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","feedback_options","options"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"feedback_options":{"type":"array","description":"The IDs of custom feedback options configured for this cancellation reason.","nullable":true,"items":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/billing.feedback_option"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/billing.feedback_option"}]}}},"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":["feedback_options"],"x-stripeMostCommon":["enabled","feedback_options","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Resets the subscription's billing cycle anchor to the current time.","value":"now"},{"description":"Keeps the subscription's billing cycle anchor unchanged.","value":"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."},"migrate_to":{"description":"Subscriptions using this price will be migrated to use the new referenced price.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/migrate_to"}]},"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://docs.stripe.com/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.\n\nFor example, you might have a single \"gold\" product that has prices for $10/month, $100/year, and €9 once.\n\nRelated guides: [Set up a subscription](https://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","migrate_to","product","recurring","tiers","transform_quantity"],"x-resourceId":"price","x-stableId":"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"]},"privacy.redaction_job":{"title":"Redaction Job","required":["created","id","livemode","object","status","validation_behavior"],"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`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["privacy.redaction_job"]},"objects":{"description":"The objects to redact in this job.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/redaction_resource_root_objects"}]},"status":{"type":"string","description":"The status of the job.","enum":["canceled","canceling","created","failed","ready","redacting","succeeded","validating"]},"validation_behavior":{"type":"string","description":"Validation behavior determines how a job validates objects for redaction eligibility. Default is `error`.","nullable":true,"enum":["error","fix"]},"validation_errors":{"title":"RedactionResourceValidationErrorList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/privacy.redaction_job_validation_error"}},"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/privacy/redaction_jobs/[^/]+/validation_errors","type":"string","description":"The URL where this list can be accessed."}},"description":"The first 10 validation errors for the current validation attempt. Use the validation errors list endpoint to paginate through the full list.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}},"description":"The Redaction Job object redacts Stripe objects. You can use it\nto coordinate the removal of personal information from selected\nobjects, making them permanently inaccessible in the Stripe Dashboard\nand API.","x-expandableFields":["objects","validation_errors"],"x-resourceId":"privacy.redaction_job","x-stableId":"privacy_redaction_job_resource","x-stripeMostCommon":["created","id","livemode","object","objects","status","validation_behavior","validation_errors"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/privacy/redaction_jobs"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/privacy/redaction_jobs/{job}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/privacy/redaction_jobs"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v1/privacy/redaction_jobs/{job}"},{"method_name":"cancel","method_on":"service","method_type":"custom","operation":"post","path":"/v1/privacy/redaction_jobs/{job}/cancel"},{"method_name":"run","method_on":"service","method_type":"custom","operation":"post","path":"/v1/privacy/redaction_jobs/{job}/run"},{"method_name":"validate","method_on":"service","method_type":"custom","operation":"post","path":"/v1/privacy/redaction_jobs/{job}/validate"}],"x-stripeResource":{"class_name":"RedactionJob","has_collection_class":true,"in_package":"Privacy"}},"privacy.redaction_job.canceled":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/privacy.redaction_job"}},"description":"Occurs whenever a redaction job is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"privacy.redaction_job.canceled"}},"privacy.redaction_job.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/privacy.redaction_job"}},"description":"Occurs whenever a redaction job is created.","x-expandableFields":[],"x-stripeEvent":{"type":"privacy.redaction_job.created"}},"privacy.redaction_job.ready":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/privacy.redaction_job"}},"description":"Occurs whenever a redaction job has been successfully validated and is ready to run.","x-expandableFields":[],"x-stripeEvent":{"type":"privacy.redaction_job.ready"}},"privacy.redaction_job.succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/privacy.redaction_job"}},"description":"Occurs whenever a redaction job finishes running.","x-expandableFields":[],"x-stripeEvent":{"type":"privacy.redaction_job.succeeded"}},"privacy.redaction_job.validation_error":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/privacy.redaction_job"}},"description":"Occurs whenever a redaction job fails validation.","x-expandableFields":[],"x-stripeEvent":{"type":"privacy.redaction_job.validation_error"}},"privacy.redaction_job_validation_error":{"title":"Redaction Job Validation Error","required":["code","erroring_object","id","message","object"],"type":"object","properties":{"code":{"type":"string","description":"A code indicating the reason for the error.","enum":["invalid_cascading_source","invalid_file_purpose","invalid_state","locked_by_other_job","too_many_objects"]},"erroring_object":{"description":"If the error is related to a specific object, this field includes the object's identifier and object type.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/redaction_resource_erroring_object"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"message":{"maxLength":5000,"type":"string","description":"A human-readable message providing more details about the error."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["privacy.redaction_job_validation_error"]}},"description":"The Redaction Job validation error object contains information about\nerrors that affect the ability to redact a specific object in a\nredaction job.","x-expandableFields":["erroring_object"],"x-resourceId":"privacy.redaction_job_validation_error","x-stableId":"privacy_redaction_job_validation_error_resource","x-stripeMostCommon":["code","erroring_object","id","message","object"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/privacy/redaction_jobs/{job}/validation_errors"}],"x-stripeResource":{"class_name":"RedactionJobValidationError","has_collection_class":true,"in_package":"Privacy"}},"product":{"title":"Product","required":["active","created","description","id","images","livemode","marketing_features","metadata","name","object","package_dimensions","shippable","tax_details","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"}]}},"tax_details":{"description":"Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_tax_details_resource_tax_details"}]},"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://docs.stripe.com/api#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","tax_details"],"x-resourceId":"product","x-stableId":"product","x-stripeMostCommon":["active","default_price","description","id","metadata","name","tax_code","tax_details"],"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_catalog.trial_offer":{"title":"Trial Offer","required":["active","duration","end_behavior","id","livemode","nickname","object","price"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the trial offer is active. Set to false to archive the trial offer."},"duration":{"$ref":"#/components/schemas/product_catalog_impl_endpoints_trial_offer_resource_trial_offer_duration"},"end_behavior":{"$ref":"#/components/schemas/product_catalog_impl_endpoints_trial_offer_resource_trial_offer_end_behavior"},"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`."},"nickname":{"maxLength":255,"type":"string","description":"A brief description of the trial offer, 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":["product_catalog.trial_offer"]},"price":{"description":"The price during the trial offer.","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"}]}}},"description":"Trial offers let you define free or paid introductory pricing for a subscription item.\nA TrialOffer specifies the price to charge during the trial, how many billing intervals\nthe trial lasts, and what price the subscription item transitions to when the trial ends.\nYou attach a TrialOffer to a subscription item\nusing `items[current_trial][trial_offer]` when creating or updating a subscription.","x-expandableFields":["duration","end_behavior","price"],"x-resourceId":"product_catalog.trial_offer","x-stableId":"trial_offer","x-stripeMostCommon":["active","duration","end_behavior","id","nickname","price"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/product_catalog/trial_offers"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/product_catalog/trial_offers/{id}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/product_catalog/trial_offers"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v1/product_catalog/trial_offers/{id}"}],"x-stripeResource":{"class_name":"TrialOffer","has_collection_class":true,"in_package":"ProductCatalog"}},"product_catalog_impl_endpoints_trial_offer_resource_relative_duration":{"title":"ProductCatalogImplEndpointsTrialOfferResourceRelativeDuration","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer","description":"The number of iterations of the price's interval for this trial offer."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["iterations"]},"product_catalog_impl_endpoints_trial_offer_resource_transition":{"title":"ProductCatalogImplEndpointsTrialOfferResourceTransition","required":["price"],"type":"object","properties":{"price":{"description":"The new price to use at the end of the trial offer period.","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"}]}}},"description":"","x-expandableFields":["price"],"x-stripeMostCommon":["price"]},"product_catalog_impl_endpoints_trial_offer_resource_trial_offer_duration":{"title":"ProductCatalogImplEndpointsTrialOfferResourceTrialOfferDuration","required":["type"],"type":"object","properties":{"relative":{"$ref":"#/components/schemas/product_catalog_impl_endpoints_trial_offer_resource_relative_duration"},"type":{"type":"string","description":"The type of trial offer duration.","enum":["relative","timestamp"],"x-stripeEnum":{"kind":"open","values":[{"description":"The duration of trials created from this offer are determined relative to the trial start date.","value":"relative"},{"description":"The duration of trials created from this offer are determined by a specific timestamp.","value":"timestamp"}]}}},"description":"","x-expandableFields":["relative"],"x-stripeMostCommon":["relative","type"]},"product_catalog_impl_endpoints_trial_offer_resource_trial_offer_end_behavior":{"title":"ProductCatalogImplEndpointsTrialOfferResourceTrialOfferEndBehavior","required":["type"],"type":"object","properties":{"transition":{"$ref":"#/components/schemas/product_catalog_impl_endpoints_trial_offer_resource_transition"},"type":{"type":"string","description":"The type of behavior when the trial offer ends.","enum":["transition"],"x-stripeEnum":{"kind":"open","values":[{"description":"The new price to use at the end of the trial period initiated by this offer.","value":"transition"}]}}},"description":"","x-expandableFields":["transition"],"x-stripeMostCommon":["transition","type"]},"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-stableId":"entitlements_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":"Promotion Code","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-stableId":"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":["credited_items","discount_amounts"],"type":"object","properties":{"credited_items":{"description":"For a credit proration, links to the debit invoice line items or invoice item that the credit applies to.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_item_proration_credited_items"}]},"discount_amounts":{"type":"array","description":"Discount amounts applied when the proration was created. This field is only populated for prorations created from subscriptions with `billing_mode=flexible`.","items":{"$ref":"#/components/schemas/discounts_resource_discount_amount"}}},"description":"","x-expandableFields":["credited_items","discount_amounts"],"x-stripeMostCommon":["credited_items","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":{"allow_backdated_lines":{"type":"boolean","description":"Allow quote lines to have `starts_at` in the past if collection is paused between `starts_at` and now.","nullable":true},"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"]},"lines":{"type":"array","description":"A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.","nullable":true,"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`."},"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","accepting","canceled","draft","open","stale"]},"status_details":{"description":"Details on when and why a quote has been marked as stale or canceled.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_status_details_status_details"}]},"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_data_overrides":{"type":"array","description":"List representing overrides for `subscription_data` configurations for specific subscription schedules.","nullable":true,"items":{"$ref":"#/components/schemas/quotes_resource_subscription_data_subscription_data_overrides"}},"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"}]}},"subscription_schedules":{"type":"array","description":"The subscription schedules that were created or updated from this quote.","nullable":true,"items":{"$ref":"#/components/schemas/quotes_resource_subscription_schedule_with_applies_to"}},"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_details","status_transitions","subscription","subscription_data","subscription_data_overrides","subscription_schedule","subscription_schedules","test_clock","total_details","transfer_data"],"x-resourceId":"quote","x-stableId":"billing_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":"list_lines","method_on":"service","method_type":"custom","operation":"get","path":"/v1/quotes/{quote}/lines"},{"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":"mark_draft","method_on":"service","method_type":"custom","operation":"post","path":"/v1/quotes/{quote}/mark_draft"},{"method_name":"mark_stale","method_on":"service","method_type":"custom","operation":"post","path":"/v1/quotes/{quote}/mark_stale"},{"method_name":"reestimate","method_on":"service","method_type":"custom","operation":"post","path":"/v1/quotes/{quote}/reestimate"},{"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.accept_failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs whenever a quote acceptance fails","x-expandableFields":[],"x-stripeEvent":{"type":"quote.accept_failed"}},"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.accepting":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs whenever a quote's status changes to accepting","x-expandableFields":[],"x-stripeEvent":{"type":"quote.accepting"}},"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.draft":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs when a quote's status changes from stale to draft","x-expandableFields":[],"x-stripeEvent":{"type":"quote.draft"}},"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"}},"quote.reestimate_failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs whenever a quote reestimate fails","x-expandableFields":[],"x-stripeEvent":{"type":"quote.reestimate_failed"}},"quote.reestimated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.","x-expandableFields":[],"x-stripeEvent":{"type":"quote.reestimated"}},"quote.stale":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs whenever a quote's status changes to stale","x-expandableFields":[],"x-stripeEvent":{"type":"quote.stale"}},"quote_line":{"title":"Quote Line","required":["applies_to","billing_cycle_anchor","cancel_subscription_schedule","ends_at","id","object","proration_behavior","set_schedule_end","starts_at"],"type":"object","properties":{"actions":{"type":"array","description":"A list of items the customer is being quoted for.","items":{"$ref":"#/components/schemas/quote_line_action"}},"applies_to":{"description":"Details to identify the subscription schedule the quote line applies to.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_applies_to"}]},"billing_cycle_anchor":{"type":"string","description":"For point-in-time quote lines (having no `ends_at` timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line `starts_at` timestamp. For time-span based quote lines (having both `starts_at` and `ends_at`), the only valid value is `automatic`, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.","nullable":true,"enum":["automatic","line_starts_at"]},"cancel_subscription_schedule":{"description":"A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for modifications to the metadata, collection_method or invoice_settings.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_cancel_subscription_schedule"}]},"ends_at":{"description":"Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at `starts_at`, and a restricted set of attributes is supported on the quote line.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_timestamp_helpers_ends_at"}]},"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":["quote_line"]},"proration_behavior":{"type":"string","description":"Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts.","nullable":true,"enum":["always_invoice","create_prorations","none"]},"set_pause_collection":{"description":"Details to modify the pause_collection behavior of the subscription schedule.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_set_pause_collection"}]},"set_schedule_end":{"type":"string","description":"Timestamp helper to end the underlying schedule early, based on the acompanying line's start or end date.","nullable":true,"enum":["line_ends_at","line_starts_at"]},"starts_at":{"description":"Details to identify the earliest timestamp where the proposed change should take effect.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_timestamp_helpers_starts_at"}]},"trial_settings":{"description":"Settings related to subscription trials.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_trial_settings"}]}},"description":"A quote line defines a set of changes, in the order provided, that will be applied upon quote acceptance.","x-expandableFields":["actions","applies_to","cancel_subscription_schedule","ends_at","set_pause_collection","starts_at","trial_settings"],"x-resourceId":"quote_line","x-stableId":"billing_quote_line","x-stripeMostCommon":["actions","applies_to","billing_cycle_anchor","cancel_subscription_schedule","ends_at","id","object","proration_behavior","set_pause_collection","set_schedule_end","starts_at","trial_settings"],"x-stripeResource":{"class_name":"QuoteLine","has_collection_class":true,"in_package":""}},"quote_line_action":{"title":"QuoteLineAction","required":["add_discount","add_item","add_metadata","remove_discount","remove_item","remove_metadata","set_discounts","set_items","set_metadata","type"],"type":"object","properties":{"add_discount":{"description":"Details for the `add_discount` type.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/stackable_discount_with_index_and_discount_settings"}]},"add_item":{"description":"Details for the `add_item` type.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_actions_configuration_item"}]},"add_metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Details for the `add_metadata` type: specify a hash of key-value pairs.","nullable":true},"remove_discount":{"description":"Details for the `remove_discount` type.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/discounts_resource_stackable_discount_with_discount_end"}]},"remove_item":{"description":"Details for the `remove_item` type.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_actions_remove_item"}]},"remove_metadata":{"type":"array","description":"Details for the `remove_metadata` type: specify an array of metadata keys.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"set_discounts":{"type":"array","description":"Details for the `set_discounts` type.","nullable":true,"items":{"$ref":"#/components/schemas/stackable_discount_with_discount_settings_for_quote_line"}},"set_items":{"type":"array","description":"Details for the `set_items` type.","nullable":true,"items":{"$ref":"#/components/schemas/quotes_resource_quote_lines_actions_configuration_item"}},"set_metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Details for the `set_metadata` type: specify an array of key-value pairs.","nullable":true},"type":{"type":"string","description":"The type of action the quote line performs.","enum":["add_discount","add_item","add_metadata","clear_discounts","clear_metadata","remove_discount","remove_item","remove_metadata","set_discounts","set_items","set_metadata"]}},"description":"","x-expandableFields":["add_discount","add_item","remove_discount","remove_item","set_discounts","set_items"],"x-stripeMostCommon":["add_discount","add_item","add_metadata","remove_discount","remove_item","remove_metadata","set_discounts","set_items","set_metadata","type"]},"quote_line_discount_end":{"title":"QuoteLineDiscountEnd","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The discount end type.","enum":["line_ends_at"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"quote_preview_invoice":{"title":"Invoice","required":["account_country","account_name","account_tax_ids","amount_due","amount_overpaid","amount_paid","amount_remaining","amount_shipping","application","applies_to","attempt_count","attempted","automatic_tax","automatically_finalizes_at","billing_reason","collection_method","created","currency","custom_fields","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","id","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","subscription","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_paid_off_stripe":{"type":"integer","description":"Amount, in cents (or local equivalent), that was paid on the invoice outside of Stripe."},"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."},"amounts_due":{"type":"array","description":"List of expected payments and corresponding due dates. This value will be null for invoices where collection_method=charge_automatically.","nullable":true,"items":{"$ref":"#/components/schemas/payment_plan_amount"}},"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"}]}},"applies_to":{"$ref":"#/components/schemas/quotes_resource_quote_lines_applies_to"},"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."},"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_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_margins":{"type":"array","description":"The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin.","nullable":true,"items":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/margin"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/margin"}]}}},"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"}]},"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`."},"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":["quote_preview_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":"The latest timestamp at which invoice items can be associated with this 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":"The earliest timestamp at which invoice items can be associated with this 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 invoices render in customer-facing interfaces such as the PDF or 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_details":{"$ref":"#/components/schemas/invoices_resource_status_details"},"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_margin_amounts":{"type":"array","description":"The aggregate amounts calculated per margin across all line items.","nullable":true,"items":{"$ref":"#/components/schemas/margins_resource_margin_amount"}},"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://docs.stripe.com/api#invoiceitems), and proration adjustments\nthat may be caused by subscription upgrades/downgrades (if necessary).\n\nIf your invoice is configured to be billed through automatic charges,\nStripe automatically finalizes your invoice and attempts payment. Note\nthat finalizing the invoice,\n[when automatic](https://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","amounts_due","application","applies_to","automatic_tax","confirmation_secret","custom_fields","customer_address","customer_shipping","customer_tax_ids","default_margins","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_details","status_transitions","subscription","test_clock","threshold_reason","total_discount_amounts","total_margin_amounts","total_pretax_credit_amounts","total_taxes"],"x-resourceId":"quote_preview_invoice","x-stripeMostCommon":["applies_to","automatic_tax","collection_method","confirmation_secret","currency","customer_account","description","id","lines","metadata","parent","payments","period_end","period_start","status","subscription","total"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/quotes/{quote}/preview_invoices"},{"method_name":"list_lines","method_on":"service","method_type":"custom","operation":"get","path":"/v1/quotes/{quote}/preview_invoices/{preview_invoice}/lines"}],"x-stripeResource":{"class_name":"QuotePreviewInvoice","has_collection_class":true,"in_package":""}},"quote_preview_subscription_schedule":{"title":"QuotesResourcePreviewsSchedulesSchedule","required":["application","applies_to","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"}]}},"applies_to":{"$ref":"#/components/schemas/quotes_resource_quote_lines_applies_to"},"billing_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"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."},"last_price_migration_error":{"description":"Details of the most recent price migration that failed for the subscription schedule.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_price_migration_error"}]},"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":["quote_preview_subscription_schedule"]},"pause_schedules":{"type":"array","description":"The pause schedules for this subscription schedule.","items":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule"}},"phases":{"type":"array","description":"Configuration for the subscription schedule's phases.","items":{"$ref":"#/components/schemas/subscription_schedule_phase_configuration"}},"prebilling":{"description":"Time period and invoice for a Subscription billed in advance.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_prebilling_data"}]},"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":"","x-expandableFields":["application","applies_to","billing_mode","current_phase","customer","default_settings","last_price_migration_error","pause_schedules","phases","prebilling","subscription","test_clock"],"x-resourceId":"quote_preview_subscription_schedule","x-stripeMostCommon":["applies_to","current_phase","customer","id","metadata","phases","status","subscription"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/quotes/{quote}/preview_subscription_schedules"}],"x-stripeResource":{"class_name":"QuotePreviewSubscriptionSchedule","has_collection_class":true,"in_package":""}},"quotes_core_api_resource_last_reestimate_details":{"title":"QuotesCoreApiResourceLastReestimateDetails","required":["failed","status"],"type":"object","properties":{"failed":{"description":"When `status` is `failed`, provides details about the quote reestimation failure.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_core_api_resource_reestimate_failure"}]},"status":{"type":"string","description":"Latest status of the reestimation.","enum":["failed","in_progress","succeeded"]}},"description":"","x-expandableFields":["failed"],"x-stripeMostCommon":["failed","status"],"x-stripeResource":{"class_name":"LastReestimateDetails","in_package":""}},"quotes_core_api_resource_reestimate_failure":{"title":"QuotesCoreApiResourceReestimateFailure","required":["failure_code","message","reason"],"type":"object","properties":{"failure_code":{"maxLength":5000,"type":"string","description":"The failure `code` is more granular than the `reason` provided and may correspond to a Stripe error code. For automation errors, this field is one of: `reverse_api_failure`, `reverse_api_deadline_exceeeded`, or `reverse_api_response_validation_error`, which are Stripe error codes and map to the error `message` field.","nullable":true},"message":{"maxLength":5000,"type":"string","description":"Information derived from the `failure_code` or a freeform message that explains the error as a human-readable English string. For example, \"margin ID is not a valid ID\".","nullable":true},"reason":{"type":"string","description":"The reason the reestimation failed.","enum":["automation_failure","internal_error"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["failure_code","message","reason"],"x-stripeResource":{"class_name":"ReeestimateFailure","in_package":""}},"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":{"last_reestimation_details":{"description":"Details of the most recent reestimate of the quote's preview schedules and upcoming invoices, including the status of Stripe's calculation.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_core_api_resource_last_reestimate_details"}]},"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"}]},"updated_at":{"type":"integer","description":"The time at which the quote's estimated schedules and upcoming invoices were generated.","format":"unix-time","nullable":true},"upfront":{"$ref":"#/components/schemas/quotes_resource_upfront"}},"description":"","x-expandableFields":["last_reestimation_details","recurring","upfront"],"x-stripeMostCommon":["last_reestimation_details","recurring","updated_at","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_prebilling":{"title":"QuotesResourcePrebilling","required":["iterations"],"type":"object","properties":{"iterations":{"type":"integer"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["iterations"]},"quotes_resource_quote_lines_actions_configuration_item":{"title":"QuotesResourceQuoteLinesActionsConfigurationItem","required":["discounts","metadata","price"],"type":"object","properties":{"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_for_quote_line"}},"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},"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"}},"trial":{"description":"Options that configure the trial on the subscription item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_trial"}]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item.","nullable":true}},"description":"","x-expandableFields":["discounts","price","tax_rates","trial"],"x-stripeMostCommon":["discounts","metadata","price","quantity","tax_rates","trial","trial_offer"]},"quotes_resource_quote_lines_actions_remove_item":{"title":"QuotesResourceQuoteLinesActionsRemoveItem","required":["price"],"type":"object","properties":{"price":{"description":"ID of a price to remove.","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"}]}}},"description":"","x-expandableFields":["price"],"x-stripeMostCommon":["price"]},"quotes_resource_quote_lines_applies_to":{"title":"QuotesResourceQuoteLinesAppliesTo","required":["new_reference","subscription_schedule","type"],"type":"object","properties":{"new_reference":{"maxLength":5000,"type":"string","description":"A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.","nullable":true},"subscription_schedule":{"maxLength":5000,"type":"string","description":"The ID of the schedule the line applies to.","nullable":true},"type":{"type":"string","description":"Describes whether the quote line is affecting a new schedule or an existing schedule.","enum":["new_reference","subscription_schedule"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["new_reference","subscription_schedule","type"]},"quotes_resource_quote_lines_cancel_subscription_schedule":{"title":"Cancel Subscription Schedule","required":["cancel_at","invoice_now","prorate"],"type":"object","properties":{"cancel_at":{"type":"string","description":"Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.","enum":["line_starts_at"]},"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. Boolean that defaults to `true`.","nullable":true},"prorate":{"type":"boolean","description":"If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.","nullable":true}},"description":"Configures the immediate cancellation settings for a subscription schedule via quotes.","x-expandableFields":[],"x-stripeMostCommon":["cancel_at","invoice_now","prorate"]},"quotes_resource_quote_lines_end_behavior":{"title":"End Behavior","required":["prorate_up_front"],"type":"object","properties":{"prorate_up_front":{"type":"string","description":"Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.","nullable":true,"enum":["defer","include"]}},"description":"Defines how the scheduled subscription behaves when a trial ends.","x-expandableFields":[],"x-stripeMostCommon":["prorate_up_front"]},"quotes_resource_quote_lines_set_pause_collection":{"title":"Set Pause Collection","required":["type"],"type":"object","properties":{"set":{"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/subscription_schedules_resource_pause_collection"}]},"type":{"type":"string","description":"Defines the type of the pause_collection behavior for the quote line.","enum":["remove","set"]}},"description":"Configures the pause collection settings for a subscription during a phase.","x-expandableFields":["set"],"x-stripeMostCommon":["set","type"]},"quotes_resource_quote_lines_timestamp_helpers_discount_end":{"title":"QuotesResourceQuoteLinesTimestampHelpersDiscountEnd","required":["discount"],"type":"object","properties":{"discount":{"maxLength":5000,"type":"string","description":"The ID of a specific discount."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["discount"]},"quotes_resource_quote_lines_timestamp_helpers_duration":{"title":"QuotesResourceQuoteLinesTimestampHelpersDuration","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["interval","interval_count"]},"quotes_resource_quote_lines_timestamp_helpers_ends_at":{"title":"QuotesResourceQuoteLinesTimestampHelpersEndsAt","required":["computed","duration","timestamp","type"],"type":"object","properties":{"computed":{"type":"integer","description":"The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from the `ends_at` field. For example, if `ends_at[type]=upcoming_invoice`, the upcoming invoice date will be computed at the time the `ends_at` field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unless `ends_at` is respecified. This field is guaranteed to be populated after quote acceptance.","format":"unix-time","nullable":true},"discount_end":{"description":"Use the `end` time of a given discount.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_timestamp_helpers_discount_end"}]},"duration":{"description":"Time span for the quote line starting from the `starts_at` date.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_timestamp_helpers_duration"}]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time","nullable":true},"type":{"type":"string","description":"Select a way to pass in `ends_at`.","enum":["billing_period_end","discount_end","duration","quote_acceptance_date","schedule_end","timestamp","upcoming_invoice"]}},"description":"","x-expandableFields":["discount_end","duration"],"x-stripeMostCommon":["computed","discount_end","duration","timestamp","type"]},"quotes_resource_quote_lines_timestamp_helpers_line_id":{"title":"QuotesResourceQuoteLinesTimestampHelpersLineId","required":["id"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id"]},"quotes_resource_quote_lines_timestamp_helpers_starts_at":{"title":"QuotesResourceQuoteLinesTimestampHelpersStartsAt","required":["computed","line_ends_at","timestamp","type"],"type":"object","properties":{"computed":{"type":"integer","description":"The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from the `starts_at` field. For example, if `starts_at[type]=upcoming_invoice`, the upcoming invoice date will be computed at the time the `starts_at` field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unless `starts_at` is respecified. This field is guaranteed to be populated after quote acceptance.","format":"unix-time","nullable":true},"discount_end":{"description":"Use the `end` time of a given discount.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_timestamp_helpers_discount_end"}]},"line_ends_at":{"description":"The timestamp the given line ends at.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_timestamp_helpers_line_id"}]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time","nullable":true},"type":{"type":"string","description":"Select a way to pass in `starts_at`.","enum":["discount_end","line_ends_at","now","quote_acceptance_date","schedule_end","timestamp","upcoming_invoice"]}},"description":"","x-expandableFields":["discount_end","line_ends_at"],"x-stripeMostCommon":["computed","discount_end","line_ends_at","timestamp","type"]},"quotes_resource_quote_lines_trial":{"title":"QuotesResourceQuoteLinesTrial","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["converts_to","type"]},"quotes_resource_quote_lines_trial_settings":{"title":"Trial Setting","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"description":"Defines how the subscription should behave when a trial ends.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_end_behavior"}]}},"description":"Configures how the scheduled subscription behaves during the trial period.","x-expandableFields":["end_behavior"],"x-stripeMostCommon":["end_behavior"]},"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_details_canceled_status_details":{"title":"QuotesResourceStatusDetailsCanceledStatusDetails","required":["reason","transitioned_at"],"type":"object","properties":{"reason":{"type":"string","description":"The reason this quote was marked as canceled.","nullable":true,"enum":["canceled","quote_accepted","quote_expired","quote_superseded","subscription_canceled"]},"transitioned_at":{"type":"integer","description":"Time at which the quote was marked as canceled. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reason","transitioned_at"]},"quotes_resource_status_details_lines_invalid":{"title":"QuotesResourceStatusDetailsLinesInvalid","required":["invalid_at","lines"],"type":"object","properties":{"invalid_at":{"type":"integer","description":"The timestamp at which the lines were marked as invalid.","format":"unix-time"},"lines":{"type":"array","description":"The list of lines that became invalid at the given timestamp.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["invalid_at","lines"]},"quotes_resource_status_details_stale_reason":{"title":"QuotesResourceStatusDetailsStaleReason","required":["type"],"type":"object","properties":{"line_invalid":{"maxLength":5000,"type":"string","description":"The ID of the line that is invalid if the stale reason type is `line_invalid`."},"lines_invalid":{"type":"array","description":"The IDs of the lines that are invalid if the stale reason type is `lines_invalid`.","items":{"$ref":"#/components/schemas/quotes_resource_status_details_lines_invalid"}},"marked_stale":{"maxLength":5000,"type":"string","description":"The user supplied mark stale reason.","nullable":true},"subscription_canceled":{"maxLength":5000,"type":"string","description":"The ID of the subscription that was canceled."},"subscription_changed":{"$ref":"#/components/schemas/quotes_resource_status_details_subscription_changed"},"subscription_expired":{"maxLength":5000,"type":"string","description":"The ID of the subscription that was expired."},"subscription_schedule_canceled":{"maxLength":5000,"type":"string","description":"The ID of the subscription schedule that was canceled."},"subscription_schedule_changed":{"$ref":"#/components/schemas/quotes_resource_status_details_subscription_schedule_changed"},"subscription_schedule_released":{"maxLength":5000,"type":"string","description":"The ID of the subscription schedule that was released."},"type":{"type":"string","description":"The reason the quote was marked as stale.","nullable":true,"enum":["accept_failed_validations","bill_on_acceptance_invalid","line_invalid","lines_invalid","marked_stale","subscription_canceled","subscription_changed","subscription_expired","subscription_schedule_canceled","subscription_schedule_changed","subscription_schedule_released"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"An `accepting` quote encountered a validation error and could not be accepted.","value":"accept_failed_validations"},{"description":"bill_on_acceptance[bill_until] is in the past.","value":"bill_on_acceptance_invalid"},{"description":"A line's `starts_at` is greater than its `ends_at` value or a line's `starts_at` is in the past, the subscription is not paused, and the quote is not backdating.","value":"line_invalid"},{"description":"One or more quote lines have become invalid. This can happen when a line's `starts_at` is greater than its `ends_at` value or a line's `starts_at` is in the past, the subscription is not paused, and the quote is not backdating.","value":"lines_invalid"},{"description":"A quote is marked stale via the `/v1/quotes/:id/mark_stale` endpoint","value":"marked_stale"},{"description":"A quote is updating an existing subscription and the subscription has been canceled.","value":"subscription_canceled"},{"description":"A quote is updating an existing subscription and the subscription has changed.","value":"subscription_changed"},{"description":"A quote is updating an existing subscription and the subscription has expired.","value":"subscription_expired"},{"description":"A quote is updating an existing subscription schedule and the subscription schedule has been canceled.","value":"subscription_schedule_canceled"},{"description":"A quote is updating an existing subscription schedule and the subscription schedule has changed.","value":"subscription_schedule_changed"},{"description":"A quote is updating an existing subscription schedule and the subscription schedule has been released.","value":"subscription_schedule_released"}]}}},"description":"","x-expandableFields":["lines_invalid","subscription_changed","subscription_schedule_changed"],"x-stripeMostCommon":["line_invalid","lines_invalid","marked_stale","subscription_canceled","subscription_changed","subscription_expired","subscription_schedule_canceled","subscription_schedule_changed","subscription_schedule_released","type"]},"quotes_resource_status_details_stale_status_details":{"title":"QuotesResourceStatusDetailsStaleStatusDetails","required":["expires_at","last_reason","last_updated_at","transitioned_at"],"type":"object","properties":{"expires_at":{"type":"integer","description":"Time at which the quote expires. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"last_reason":{"description":"The most recent reason this quote was marked as stale.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_status_details_stale_reason"}]},"last_updated_at":{"type":"integer","description":"Time at which the stale reason was updated. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"transitioned_at":{"type":"integer","description":"Time at which the quote was marked as stale. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":["last_reason"],"x-stripeMostCommon":["expires_at","last_reason","last_updated_at","transitioned_at"]},"quotes_resource_status_details_status_details":{"title":"QuotesResourceStatusDetailsStatusDetails","type":"object","properties":{"canceled":{"$ref":"#/components/schemas/quotes_resource_status_details_canceled_status_details"},"stale":{"$ref":"#/components/schemas/quotes_resource_status_details_stale_status_details"}},"description":"","x-expandableFields":["canceled","stale"],"x-stripeMostCommon":["canceled","stale"]},"quotes_resource_status_details_subscription_changed":{"title":"QuotesResourceStatusDetailsSubscriptionChanged","required":["previous_subscription"],"type":"object","properties":{"previous_subscription":{"description":"The subscription's state before the quote was marked as stale.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription"}]}},"description":"","x-expandableFields":["previous_subscription"],"x-stripeMostCommon":["previous_subscription"]},"quotes_resource_status_details_subscription_schedule_changed":{"title":"QuotesResourceStatusDetailsSubscriptionScheduleChanged","required":["previous_subscription_schedule"],"type":"object","properties":{"previous_subscription_schedule":{"description":"The subscription schedule's state before the quote was marked as stale.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_schedule"}]}},"description":"","x-expandableFields":["previous_subscription_schedule"],"x-stripeMostCommon":["previous_subscription_schedule"],"x-stripeResource":{"class_name":"SubscriptionScheduleChanged","in_package":""}},"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_bill_from":{"title":"QuotesResourceSubscriptionDataBillFrom","required":["computed","line_starts_at","timestamp","type"],"type":"object","properties":{"computed":{"type":"integer","description":"The materialized time.","format":"unix-time","nullable":true},"line_starts_at":{"description":"The timestamp the given line starts at.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_timestamp_helpers_line_id"}]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time","nullable":true},"type":{"type":"string","description":"The type of method to specify the `bill_from` time.","enum":["line_starts_at","now","pause_collection_start","quote_acceptance_date","timestamp"]}},"description":"","x-expandableFields":["line_starts_at"],"x-stripeMostCommon":["computed","line_starts_at","timestamp","type"]},"quotes_resource_subscription_data_bill_on_acceptance":{"title":"QuotesResourceSubscriptionDataBillOnAcceptance","required":["bill_from","bill_until"],"type":"object","properties":{"bill_from":{"description":"The start of the period to bill from when the Quote is accepted.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_subscription_data_bill_from"}]},"bill_until":{"description":"The end of the period to bill until when the Quote is accepted.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_subscription_data_bill_until"}]}},"description":"","x-expandableFields":["bill_from","bill_until"],"x-stripeMostCommon":["bill_from","bill_until"]},"quotes_resource_subscription_data_bill_until":{"title":"QuotesResourceSubscriptionDataBillUntil","required":["computed","duration","line_ends_at","timestamp","type"],"type":"object","properties":{"computed":{"type":"integer","description":"The materialized time.","format":"unix-time","nullable":true},"duration":{"description":"Time span for the quote line starting from the `starts_at` date.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_timestamp_helpers_duration"}]},"line_ends_at":{"description":"The timestamp the given line ends at.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_quote_lines_timestamp_helpers_line_id"}]},"timestamp":{"type":"integer","description":"A precise Unix timestamp.","format":"unix-time","nullable":true},"type":{"type":"string","description":"The type of method to specify the `bill_until` time.","enum":["duration","line_ends_at","schedule_end","timestamp","upcoming_invoice"]}},"description":"","x-expandableFields":["duration","line_ends_at"],"x-stripeMostCommon":["computed","duration","line_ends_at","timestamp","type"]},"quotes_resource_subscription_data_billing_mode":{"title":"Billing Mode","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":{"bill_on_acceptance":{"description":"Describes the period to bill for upon accepting the quote.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_subscription_data_bill_on_acceptance"}]},"billing_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"billing_cycle_anchor":{"type":"string","description":"Whether the subscription will always start a new billing period when the quote is accepted.","nullable":true,"enum":["reset"]},"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},"end_behavior":{"type":"string","description":"Behavior of the subscription schedule and underlying subscription when it ends.","nullable":true,"enum":["cancel","release"]},"from_subscription":{"description":"The id of the subscription that will be updated when the quote is accepted.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/subscription"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/subscription"}]}},"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},"prebilling":{"description":"If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_prebilling"}]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/subscriptions/billing-cycle#prorations) when the quote is accepted.","enum":["always_invoice","create_prorations","none"]},"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":["bill_on_acceptance","billing_mode","from_subscription","prebilling"],"x-stripeMostCommon":["bill_on_acceptance","billing_behavior","billing_cycle_anchor","billing_mode","description","effective_date","end_behavior","from_subscription","metadata","prebilling","proration_behavior","trial_period_days"]},"quotes_resource_subscription_data_subscription_data_overrides":{"title":"QuotesResourceSubscriptionDataSubscriptionDataOverrides","required":["applies_to","customer","description"],"type":"object","properties":{"applies_to":{"$ref":"#/components/schemas/quotes_resource_quote_lines_applies_to"},"bill_on_acceptance":{"description":"Describes the period to bill for upon accepting the quote.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_subscription_data_bill_on_acceptance"}]},"billing_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"customer":{"maxLength":5000,"type":"string","description":"The customer who received this quote. A customer is required to finalize the quote. Once specified, you can't change it.","nullable":true},"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},"end_behavior":{"type":"string","description":"Behavior of the subscription schedule and underlying subscription when it ends.","nullable":true,"enum":["cancel","release"]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/subscriptions/billing-cycle#prorations) when the quote is accepted.","nullable":true,"enum":["always_invoice","create_prorations","none"]}},"description":"","x-expandableFields":["applies_to","bill_on_acceptance"],"x-stripeMostCommon":["applies_to","bill_on_acceptance","billing_behavior","customer","description","end_behavior","proration_behavior"]},"quotes_resource_subscription_schedule_with_applies_to":{"title":"QuotesResourceSubscriptionScheduleWithAppliesTo","required":["applies_to","subscription_schedule"],"type":"object","properties":{"applies_to":{"$ref":"#/components/schemas/quotes_resource_quote_lines_applies_to"},"subscription_schedule":{"maxLength":5000,"type":"string","description":"The subscription schedule that was created or updated from this quote."}},"description":"","x-expandableFields":["applies_to"],"x-stripeMostCommon":["applies_to","subscription_schedule"]},"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.billing_evaluation":{"title":"Billing Evaluation","required":["created_at","id","livemode","metadata","object","signals"],"type":"object","properties":{"client_device_metadata_details":{"$ref":"#/components/schemas/insights_resources_billing_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_billing_evaluation_customer_details"},"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.billing_evaluation"]},"payment_details":{"$ref":"#/components/schemas/insights_resources_billing_evaluation_payment_details"},"signals":{"$ref":"#/components/schemas/insights_resources_billing_evaluation_signals"}},"description":"Billing Evaluations represent Stripe Radar's assessment of the non-payment abuse risk of an upcoming charge. Unlike a [Payment Evaluation](/api/radar/payment-evaluation), a billing evaluation is created before the payment is attempted and returns the `non_payment_abuse` signal only.","x-expandableFields":["client_device_metadata_details","customer_details","payment_details","signals"],"x-resourceId":"radar.billing_evaluation","x-stableId":"billing_evaluation","x-stripeMostCommon":["client_device_metadata_details","customer_details","id","metadata","payment_details","signals"],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/radar/billing_evaluations"}],"x-stripeResource":{"class_name":"BillingEvaluation","in_package":"Radar"}},"radar.early_fraud_warning":{"title":"Early Fraud Warning","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-stableId":"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":"Payment Evaluation","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`, `continue` and `request_three_d_secure`.","enum":["block","continue"],"x-stripeBypassValidation":true},"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-stableId":"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":"Value List","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`, `account`, `sepa_debit_fingerprint`, or `us_bank_account_fingerprint`.","enum":["account","card_bin","card_fingerprint","case_sensitive_string","country","crypto_fingerprint","customer_id","email","ip_address","sepa_debit_fingerprint","string","us_bank_account_fingerprint"],"x-stripeEnum":{"kind":"open","values":[{"description":"Account IDs.","value":"account"},{"description":"Card BINs.","value":"card_bin"},{"description":"Card fingerprints.","value":"card_fingerprint"},{"description":"Case-sensitive strings.","value":"case_sensitive_string"},{"description":"Two-letter ISO country codes.","value":"country"},{"description":"Cryptocurrency fingerprints.","value":"crypto_fingerprint"},{"description":"Customer IDs.","value":"customer_id"},{"description":"Email addresses.","value":"email"},{"description":"IP addresses.","value":"ip_address"},{"description":"SEPA debit fingerprints.","value":"sepa_debit_fingerprint"},{"description":"Arbitrary case-insensitive strings.","value":"string"},{"description":"US bank account fingerprints.","value":"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-stableId":"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":"Value List Item","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-stableId":"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_list_redaction":{"title":"RadarListRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"radar_radar_options":{"title":"RadarOption","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"]},"redaction":{"title":"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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"redaction_resource_erroring_object":{"title":"Redaction Job Validation Error Erroring Object","required":["id","object_type"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object_type":{"maxLength":5000,"type":"string","description":"Erroring object type"}},"description":"If a Redaction Job Validation Error occurred because of a specific object, this will contain its identifier and object type.","x-expandableFields":[],"x-stripeMostCommon":["id","object_type"]},"redaction_resource_root_objects":{"title":"Redaction Job Root Object","required":["charges","checkout_sessions","customers","identity_verification_sessions","invoices","issuing_cardholders","payment_intents","radar_value_list_items","setup_intents"],"type":"object","properties":{"charges":{"type":"array","description":"Charge object identifiers usually starting with `ch_`","nullable":true,"items":{"maxLength":5000,"type":"string"}},"checkout_sessions":{"type":"array","description":"CheckoutSession object identifiers starting with `cs_`","nullable":true,"items":{"maxLength":5000,"type":"string"}},"customers":{"type":"array","description":"Customer object identifiers starting with `cus_`","nullable":true,"items":{"maxLength":5000,"type":"string"}},"identity_verification_sessions":{"type":"array","description":"Identity VerificationSessions object identifiers starting with `vs_`","nullable":true,"items":{"maxLength":5000,"type":"string"}},"invoices":{"type":"array","description":"Invoice object identifiers starting with `in_`","nullable":true,"items":{"maxLength":5000,"type":"string"}},"issuing_cardholders":{"type":"array","description":"Issuing Cardholder object identifiers starting with `ich_`","nullable":true,"items":{"maxLength":5000,"type":"string"}},"payment_intents":{"type":"array","description":"PaymentIntent object identifiers starting with `pi_`","nullable":true,"items":{"maxLength":5000,"type":"string"}},"radar_value_list_items":{"type":"array","description":"Fraud ValueListItem object identifiers starting with `rsli_`","nullable":true,"items":{"maxLength":5000,"type":"string"}},"setup_intents":{"type":"array","description":"SetupIntent object identifiers starting with `seti_`","nullable":true,"items":{"maxLength":5000,"type":"string"}}},"description":"The objects to redact, grouped by type. All redactable objects associated with these objects will be redacted as well.","x-expandableFields":[],"x-stripeMostCommon":["charges","checkout_sessions","customers","identity_verification_sessions","invoices","issuing_cardholders","payment_intents","radar_value_list_items","setup_intents"]},"refund":{"title":"Refund","required":["amount","balance_transaction","charge","created","currency","customer","customer_account","id","metadata","object","payment_intent","payment_method","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"},"customer":{"description":"ID of the customer of this refund.","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 of this refund.","nullable":true},"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"}]}},"payment_method":{"description":"ID of the payment method associated with this refund.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"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","customer","destination_details","failure_balance_transaction","next_action","payment_intent","payment_method","presentment_details","source_transfer_reversal","transfer_reversal"],"x-resourceId":"refund","x-stableId":"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"},"id_bank_transfer":{"$ref":"#/components/schemas/refund_destination_details_id_bank_transfer"},"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"},"scalapay":{"$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","id_bank_transfer","jp_bank_transfer","klarna","mb_way","multibanco","mx_bank_transfer","nz_bank_transfer","p24","paynow","paypal","pix","revolut","scalapay","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","id_bank_transfer","jp_bank_transfer","klarna","mb_way","multibanco","mx_bank_transfer","nz_bank_transfer","p24","paynow","paypal","pix","revolut","scalapay","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_id_bank_transfer":{"title":"refund_destination_details_id_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":"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-stableId":"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":"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-stableId":"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":"ReserveHold","required":["amount","created","created_by","currency","destination","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"},"destination":{"type":"string","description":"The balance destination to which the reserved funds are sent.","enum":["other","risk_reserved","settlement_reserved"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Funds are held in another reserve balance.","value":"other"},{"description":"Funds are held in the risk reserved balance.","value":"risk_reserved"},{"description":"Funds are held in the settlement reserved balance.","value":"settlement_reserved"}]}},"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_details":{"type":"array","description":"List of ReserveReleases and the amounts released from this ReserveHold.","items":{"$ref":"#/components/schemas/reserves_reserve_holds_resources_release_detail"}},"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"],"x-stripeEnum":{"kind":"open","values":[{"value":"bank_account"},{"value":"card"},{"value":"fpx"}]}}},"description":"ReserveHolds are used to place a temporary ReserveHold on a merchant's funds.","x-expandableFields":["release_details","release_schedule","reserve_plan","source_charge"],"x-resourceId":"reserve.hold","x-stableId":"reserve_hold","x-stripeMostCommon":["amount","currency","destination","id","metadata","release_schedule"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/reserve/holds"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/reserve/holds/{id}"}],"x-stripeResource":{"class_name":"Hold","has_collection_class":true,"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":"ReservePlan","required":["created","created_by","currency","destination","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},"destination":{"type":"string","description":"The balance destination to which the reserved funds are sent.","enum":["other","risk_reserved","settlement_reserved"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Funds are held in another reserve balance.","value":"other"},{"description":"Funds are held in the risk reserved balance.","value":"risk_reserved"},{"description":"Funds are held in the settlement reserved balance.","value":"settlement_reserved"}]}},"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`."},"manual_release":{"$ref":"#/components/schemas/reserves_reserve_plans_resources_manual_release"},"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","other"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The ReservePlan is active and reserving funds.","value":"active"},{"description":"The ReservePlan has been manually disabled and is no longer reserving funds, and its associated funds have been released.","value":"disabled"},{"description":"The ReservePlan has expired automatically and is no longer reserving funds, and its associated funds have been released.","value":"expired"},{"description":"The ReservePlan has another status.","value":"other"}]}},"type":{"type":"string","description":"The type of the ReservePlan.","enum":["fixed_release","manual_release","other","rolling_release"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The ReservePlan releases funds after a fixed duration.","value":"fixed_release"},{"description":"The ReservePlan releases funds when the plan is manually disabled.","value":"manual_release"},{"description":"The ReservePlan uses another release behavior.","value":"other"},{"description":"The ReservePlan releases funds on a rolling basis.","value":"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","manual_release","rolling_release"],"x-resourceId":"reserve.plan","x-stableId":"reserve_plan","x-stripeMostCommon":["currency","destination","fixed_release","id","manual_release","metadata","percent","rolling_release","status","type"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/reserve/plans"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/reserve/plans/{id}"}],"x-stripeResource":{"class_name":"Plan","has_collection_class":true,"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":"ReserveRelease","required":["amount","created","created_by","currency","destination","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"},"destination":{"type":"string","description":"The balance destination to which the released funds are sent.","enum":["other","payments"],"x-stripeEnum":{"kind":"closed","values":[{"value":"other"},{"value":"payments"}]}},"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":["hold_expired","hold_released_early","hold_reversed","plan_disabled"],"x-stripeEnum":{"kind":"open","values":[{"description":"The ReserveHold expired automatically according to its schedule.","value":"hold_expired"},{"description":"The ReserveHold was manually released before its scheduled release.","value":"hold_released_early"},{"description":"The ReserveHold was reversed due to a refund or dispute.","value":"hold_reversed"},{"description":"The ReserveHold was released due to its associated plan being disabled.","value":"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-resourceId":"reserve.release","x-stableId":"reserve_release","x-stripeMostCommon":["amount","currency","id","metadata","reason","released_at","reserve_hold","source_transaction"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/reserve/releases"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/reserve/releases/{id}"}],"x-stripeResource":{"class_name":"Release","has_collection_class":true,"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_detail":{"title":"ReleaseDetail","required":["amount","reserve_release"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount released by the ReserveRelease from this ReserveHold. A positive integer representing how much is released in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"reserve_release":{"maxLength":5000,"type":"string","description":"The ReserveRelease which released funds from this ReserveHold (e.g., resrel_123)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","reserve_release"]},"reserves_reserve_holds_resources_release_schedule":{"title":"ReleaseSchedule","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_manual_release":{"title":"ReservesReservePlansResourcesManualRelease","type":"object","properties":{},"description":"","x-expandableFields":[]},"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":"Review","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"],"x-stripeEnum":{"kind":"closed","values":[{"value":"acknowledged"},{"value":"approved"},{"value":"canceled"},{"value":"disputed"},{"value":"payment_never_settled"},{"value":"redacted"},{"value":"refunded"},{"value":"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-stableId":"radar_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":"Scheduled Query","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-stableId":"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"]},"script":{"title":"Script","required":["configuration","display_name","id"],"type":"object","properties":{"configuration":{"type":"object","description":"The configuration values of the script. The keys and values are specific to the script implementation."},"display_name":{"maxLength":5000,"type":"string","description":"The name of the script used to calculate the discount."},"id":{"maxLength":5000,"type":"string","description":"The script implementation ID for this coupon."}},"description":"","x-expandableFields":[],"x-stableId":"script","x-stripeMostCommon":["configuration","display_name","id"]},"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"]},"seller_details":{"title":"seller_details","required":["external_id","network_business_profile"],"type":"object","properties":{"external_id":{"maxLength":5000,"type":"string","description":"A unique id within a network that identifies a logical seller. This should usually be the merchant id on the seller platform."},"network_business_profile":{"maxLength":5000,"type":"string","description":"The unique and logical string that identifies the seller platform that this SharedToken is being created for."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["external_id","network_business_profile"]},"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":"SetupAttempt","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-stableId":"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"},"blik":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_blik"},"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"},"id_bank_transfer":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_id_bank_transfer"},"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"},"pix":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_pix"},"revolut_pay":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_revolut_pay"},"satispay":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_satispay_setup_attempt_details"},"sepa_debit":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_sepa_debit"},"sofort":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_sofort"},"stripe_balance":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_stripe_balance"},"twint":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_twint"},"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","blik","boleto","card","card_present","cashapp","id_bank_transfer","ideal","kakao_pay","klarna","kr_card","link","naver_pay","nz_bank_account","paypal","payto","pix","revolut_pay","satispay","sepa_debit","sofort","stripe_balance","twint","upi","us_bank_account"],"x-stripeMostCommon":["acss_debit","amazon_pay","au_becs_debit","bacs_debit","bancontact","blik","boleto","card","card_present","cashapp","id_bank_transfer","ideal","kakao_pay","klarna","kr_card","link","naver_pay","nz_bank_account","paypal","payto","pix","revolut_pay","satispay","sepa_debit","sofort","stripe_balance","twint","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_blik":{"title":"setup_attempt_payment_method_details_blik","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"]},"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},"moto":{"type":"boolean","description":"True if this payment was marked as MOTO and out of scope for SCA."},"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","moto","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_id_bank_transfer":{"title":"setup_attempt_payment_method_details_id_bank_transfer","required":["bank","bank_code","bank_name","display_name"],"type":"object","properties":{"bank":{"type":"string","description":"Bank where the account is located.","nullable":true,"enum":["bca","bni","bri","cimb","permata"],"x-stripeBypassValidation":true},"bank_code":{"maxLength":5000,"type":"string","description":"Local bank code of the bank.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"display_name":{"maxLength":5000,"type":"string","description":"Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank","bank_code","bank_name","display_name"],"x-stripeResource":{"class_name":"IdBankTransfer","in_package":""}},"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_pix":{"title":"setup_attempt_payment_method_details_pix","type":"object","properties":{"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fingerprint"]},"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_stripe_balance":{"title":"setup_attempt_payment_method_details_stripe_balance","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_twint":{"title":"setup_attempt_payment_method_details_twint","type":"object","properties":{},"description":"","x-expandableFields":[]},"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":["allowed_payment_method_types","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":{"allowed_payment_method_types":{"type":"array","description":"The list of payment method types to allow for this SetupIntent. Stripe will only use methods in this list when determining the payment methods to offer.","nullable":true,"items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boku_promptpay","boleto","capchase_pay","card","card_present","cashapp","check_scan","click_to_pay","crypto","customer_balance","demo_pay","duitnow","dummy_auth_push","dummy_passthrough_card","edenred","eps","fpx","gcash","getbalance","gift_card","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","kriya","link","mb_way","mobilepay","momo","mondu","multibanco","naver_pay","netbanking","ng_bank","ng_bank_transfer","ng_card","ng_market","ng_ussd","ng_wallet","nz_bank_account","octopus","oxxo","p24","paper_check","pay_by_bank","payco","paynow","paypal","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","sequra","shop_pay","shopeepay","sofort","south_korea_market","stripe_balance","sunbit","swish","tamara","test_pay","touch_n_go","truemoney","twint","upi","us_bank_account","us_cash_voucher","vipps","wechat_pay","wero","zip"],"x-stripeBypassValidation":true}},"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","bizum","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","gopay","grabpay","id_bank_transfer","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","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","sequra","shopeepay","sofort","stripe_balance","sunbit","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`."},"managed_payments":{"nullable":true,"anyOf":[{"$ref":"#/components/schemas/smor_resource_managed_payments"}]},"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"}},"redaction":{"description":"Redaction status of this SetupIntent. If the SetupIntent isn't redacted, this field is null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/redaction"}]},"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://docs.stripe.com/api#payment_intents) to drive the payment flow.\n\nCreate a SetupIntent when you're ready to collect your customer's payment credentials.\nDon't maintain long-lived, unconfirmed SetupIntents because they might not be valid.\nThe SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides\nyou through the setup process.\n\nSuccessful SetupIntents result in payment credentials that are optimized for future payments.\nFor example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through\n[Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection\nto streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).\nIf you use the SetupIntent with a [Customer](https://docs.stripe.com/api#setup_intent_object-customer),\nit automatically attaches the resulting payment method to that Customer after successful setup.\nWe recommend using SetupIntents or [setup_future_usage](https://docs.stripe.com/api#payment_intent_object-setup_future_usage) on\nPaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.\n\nBy using SetupIntents, you can reduce friction for your customers, even as regulations change over time.\n\nRelated guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)","x-expandableFields":["application","automatic_payment_methods","customer","last_setup_error","latest_attempt","managed_payments","mandate","next_action","on_behalf_of","payment_method","payment_method_configuration_details","payment_method_options","redaction","single_use_mandate"],"x-resourceId":"setup_intent","x-stableId":"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 a 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":{"blik_authorize":{"$ref":"#/components/schemas/payment_intent_next_action_blik_authorize"},"cashapp_handle_redirect_or_display_qr_code":{"$ref":"#/components/schemas/payment_intent_next_action_cashapp_handle_redirect_or_display_qr_code"},"pix_display_qr_code":{"$ref":"#/components/schemas/setup_intent_next_action_pix_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","additionalProperties":true,"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":["blik_authorize","cashapp_handle_redirect_or_display_qr_code","pix_display_qr_code","redirect_to_url","upi_handle_redirect_or_display_qr_code","verify_with_microdeposits"],"x-stripeMostCommon":["blik_authorize","cashapp_handle_redirect_or_display_qr_code","pix_display_qr_code","redirect_to_url","type","upi_handle_redirect_or_display_qr_code","use_stripe_sdk","verify_with_microdeposits"]},"setup_intent_next_action_pix_display_qr_code":{"title":"SetupIntentNextActionPixDisplayQrCode","required":["data","expires_at","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."},"expires_at":{"type":"integer","description":"The date (unix timestamp) when the PIX expires.","format":"unix-time"},"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":"SetupIntentPixDisplayQrCode","in_package":""}},"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"},"bizum":{"$ref":"#/components/schemas/setup_intent_payment_method_options_bizum"},"blik":{"$ref":"#/components/schemas/setup_intent_payment_method_options_blik"},"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"},"pix":{"$ref":"#/components/schemas/setup_intent_payment_method_options_pix"},"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","bizum","blik","card","card_present","klarna","link","paypal","payto","pix","sepa_debit","upi","us_bank_account"],"x-stripeMostCommon":["acss_debit","amazon_pay","bacs_debit","bizum","blik","card","card_present","klarna","link","paypal","payto","pix","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_bizum":{"title":"setup_intent_payment_method_options_bizum","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_intent_payment_method_options_blik":{"title":"setup_intent_payment_method_options_blik","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/setup_intent_payment_method_options_mandate_options_blik"}},"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},"setup_credential_usage":{"type":"string","description":"Set to indicate the future transaction type usage for the card being set up.","enum":["installment","recurring","unscheduled"],"x-stripeEnum":{"kind":"open","values":[{"description":"Use `installment` if the payment method will be used for future off-session installment payments that you manage. This is distinct from [`payment_method_options.card.installments`](/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments), which is used for issuer installments like [Mexico installments](/payments/meses-sin-intereses/accept-a-payment) and [Japan installments](/payments/jp-installments/accept-a-payment).","value":"installment"},{"description":"Use `recurring` if the payment method will be used for off-session payment that occurs at regularly scheduled intervals.","value":"recurring"},{"description":"Use `unscheduled` if the payment method will be used for off-session payment that does not occur at regular intervals on a scheduled date.","value":"unscheduled"}]}}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","network","request_three_d_secure","setup_credential_usage"]},"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_blik":{"title":"setup_intent_payment_method_options_mandate_options_blik","required":["expires_at","type"],"type":"object","properties":{"expires_at":{"type":"integer","description":"Date at which the mandate expires.","format":"unix-time","nullable":true},"type":{"type":"string","description":"Type of the mandate.","nullable":true,"enum":["off_session"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_at","type"]},"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},"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},"subsellers":{"type":"array","description":"The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["billing_agreement_id","currency","subsellers"]},"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_pix":{"title":"setup_intent_payment_method_options_pix","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/payment_method_options_mandate_options_pix"}},"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"]},"shared_payment.granted_token":{"title":"Shared Payment Granted Token","required":["agent_details","created","deactivated_at","deactivated_reason","id","livemode","object","payment_method_details","shared_metadata","usage_details","usage_limits"],"type":"object","properties":{"agent_details":{"description":"Details about the agent that issued this SharedPaymentGrantedToken.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_granted_token_agent_details"}]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"deactivated_at":{"type":"integer","description":"Time at which this SharedPaymentGrantedToken expires and can no longer be used to confirm a PaymentIntent.","format":"unix-time","nullable":true},"deactivated_reason":{"type":"string","description":"The reason why the SharedPaymentGrantedToken has been deactivated.","nullable":true,"enum":["consumed","expired","resolved","revoked"]},"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":["shared_payment.granted_token"]},"payment_method_details":{"description":"Details of the PaymentMethod that was shared via this token.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_payment_method_details"}]},"risk_details":{"description":"Risk details of the SharedPaymentGrantedToken.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_granted"}]},"shared_metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Metadata about the SharedPaymentGrantedToken.","nullable":true},"usage_details":{"description":"Some details about how the SharedPaymentGrantedToken has been used already.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/usage_details"}]},"usage_limits":{"description":"Limits on how this SharedPaymentGrantedToken can be used.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/usage_limits"}]}},"description":"SharedPaymentGrantedToken is the view-only resource of a SharedPaymentIssuedToken, which is a limited-use reference to a PaymentMethod.\nWhen another Stripe merchant shares a SharedPaymentIssuedToken with you, you can view attributes of the shared token using the SharedPaymentGrantedToken API, and use it with a PaymentIntent.","x-expandableFields":["agent_details","payment_method_details","risk_details","usage_details","usage_limits"],"x-resourceId":"shared_payment.granted_token","x-stableId":"shared_payment_granted_token_resource","x-stripeMostCommon":["agent_details","created","deactivated_at","deactivated_reason","id","livemode","object","payment_method_details","risk_details","shared_metadata","usage_details","usage_limits"],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/shared_payment/granted_tokens/{shared_payment_granted_token}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/test_helpers/shared_payment/granted_tokens"},{"method_name":"revoke","method_on":"service","method_type":"custom","operation":"post","path":"/v1/test_helpers/shared_payment/granted_tokens/{shared_payment_granted_token}/revoke"}],"x-stripeResource":{"class_name":"GrantedToken","in_package":"shared_payment"}},"shared_payment.issued_token":{"title":"Shared Payment Issued Token","required":["created","deactivated_at","deactivated_reason","id","livemode","next_action","object","payment_method","seller_details","setup_future_usage","shared_metadata","status","usage_details","usage_limits","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"},"deactivated_at":{"type":"integer","description":"Time at which this SharedPaymentIssuedToken was deactivated.","format":"unix-time","nullable":true},"deactivated_reason":{"type":"string","description":"The reason why the SharedPaymentIssuedToken has been deactivated.","nullable":true,"enum":["consumed","expired","resolved","revoked"]},"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`."},"next_action":{"description":"If present, describes the action required to make this `SharedPaymentIssuedToken` usable for payments. Present when the token is in `requires_action` state.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_next_action"}]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["shared_payment.issued_token"]},"payment_method":{"maxLength":5000,"type":"string","description":"ID of an existing PaymentMethod."},"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},"risk_details":{"description":"Risk details of the SharedPaymentIssuedToken.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_issued"}]},"seller_details":{"description":"Seller details of the SharedPaymentIssuedToken, including network_id and external_id.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/seller_details"}]},"setup_future_usage":{"type":"string","description":"Indicates that you intend to save the PaymentMethod of this SharedPaymentToken to a customer later.","nullable":true,"enum":["on_session"],"x-stripeBypassValidation":true},"shared_metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Metadata about the SharedPaymentIssuedToken.","nullable":true},"status":{"type":"string","description":"Status of this SharedPaymentIssuedToken, one of `active`, `requires_action`, or `deactivated`.","nullable":true,"enum":["active","deactivated","requires_action"],"x-stripeEnum":{"kind":"open","values":[{"description":"`active` indicates that this SharedPaymentIssuedToken is currently active and usable.","value":"active"},{"description":"`deactivated` indicates that this SharedPaymentIssuedToken has been deactivated.","value":"deactivated"},{"description":"`requires_action` indicates that this SharedPaymentIssuedToken requires additional action from the customer before it can be used.","value":"requires_action"}]}},"usage_details":{"description":"Usage details of the SharedPaymentIssuedToken","nullable":true,"anyOf":[{"$ref":"#/components/schemas/usage_details"}]},"usage_limits":{"description":"Usage limits of the SharedPaymentIssuedToken.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/usage_limits"}]},"use_stripe_sdk":{"type":"boolean","description":"Set to true when using Stripe.js, iOS, or Android client-side SDKs to handle next actions.","nullable":true}},"description":"A SharedPaymentIssuedToken is a limited-use reference to a PaymentMethod that can be created with a secret key. When shared with another Stripe account (Seller), it enables that account to either process a payment on Stripe against a PaymentMethod that your Stripe account owns, or to forward a usable credential created against the originalPaymentMethod to then process the payment off-Stripe.","x-expandableFields":["next_action","risk_details","seller_details","usage_details","usage_limits"],"x-resourceId":"shared_payment.issued_token","x-stableId":"shared_payment_issued_token_resource","x-stripeMostCommon":["created","deactivated_at","deactivated_reason","id","livemode","next_action","object","payment_method","return_url","risk_details","seller_details","setup_future_usage","shared_metadata","status","usage_details","usage_limits","use_stripe_sdk"],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/shared_payment/issued_tokens/{shared_payment_issued_token}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/shared_payment/issued_tokens"},{"method_name":"revoke","method_on":"service","method_type":"custom","operation":"post","path":"/v1/shared_payment/issued_tokens/{shared_payment_issued_token}/revoke"}],"x-stripeResource":{"class_name":"IssuedToken","in_package":"shared_payment"}},"shared_payment_granted_token_agent_details":{"title":"SharedPaymentGrantedTokenAgentDetails","required":["network_business_profile"],"type":"object","properties":{"network_business_profile":{"maxLength":5000,"type":"string","description":"The Stripe Profile ID of the agent that issued this SharedPaymentGrantedToken.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["network_business_profile"]},"shared_payment_tokens_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":"Integer value of the amount in the smallest currency unit."}},"description":"A representation of an amount of money, consisting of an amount and a currency.","x-expandableFields":[],"x-stripeMostCommon":["currency","value"]},"shared_payment_tokens_next_action":{"title":"SharedPaymentTokensNextAction","required":["redirect_to_url","type","use_stripe_sdk"],"type":"object","properties":{"redirect_to_url":{"description":"Contains details for handling the next action by redirecting the customer. Present when `next_action.type` is `redirect_to_url`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_next_action_redirect_to_url"}]},"type":{"type":"string","description":"Specifies the type of next action required. Determines which child attribute contains action details.","enum":["redirect_to_url","use_stripe_sdk"],"x-stripeEnum":{"kind":"open","values":[{"description":"Indicates that the next action requires redirecting the customer to another URL.","value":"redirect_to_url"},{"description":"Indicates that the next action requires Stripe.js, iOS, or Android SDKs.","value":"use_stripe_sdk"}]}},"use_stripe_sdk":{"description":"Contains details for handling the next action using Stripe.js, iOS, or Android SDKs. Present when `next_action.type` is `use_stripe_sdk`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_use_stripe_sdk"}]}},"description":"","x-expandableFields":["redirect_to_url","use_stripe_sdk"],"x-stripeMostCommon":["redirect_to_url","type","use_stripe_sdk"]},"shared_payment_tokens_next_action_redirect_to_url":{"title":"SharedPaymentTokensNextActionRedirectToUrl","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."},"url":{"maxLength":5000,"type":"string","description":"The URL you must redirect your customer to in order to authenticate the payment."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["return_url","url"]},"shared_payment_tokens_payment_method_details":{"title":"SharedPaymentTokensPaymentMethodDetails","required":["billing_details","type"],"type":"object","properties":{"affirm":{"$ref":"#/components/schemas/payment_method_affirm"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_details"}]},"card":{"$ref":"#/components/schemas/spt_payment_method_card"},"klarna":{"$ref":"#/components/schemas/payment_method_klarna"},"link":{"$ref":"#/components/schemas/payment_method_link"},"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":["affirm","card","klarna","link"],"x-stripeBypassValidation":true}},"description":"Details of the PaymentMethod that was used to create the SharedPaymentGrantedToken.","x-expandableFields":["affirm","billing_details","card","klarna","link"],"x-stripeMostCommon":["affirm","billing_details","card","klarna","link","type"]},"shared_payment_tokens_risk_details_float_score_insight":{"title":"SharedPaymentTokensRiskDetailsFloatScoreInsight","required":["recommended_action","score"],"type":"object","properties":{"recommended_action":{"maxLength":5000,"type":"string","description":"Recommended action for this insight."},"score":{"type":"number","description":"Risk score for this insight."}},"description":"Risk insight with a float score and recommended action.","x-expandableFields":[],"x-stripeMostCommon":["recommended_action","score"]},"shared_payment_tokens_risk_details_granted":{"title":"SharedPaymentTokensRiskDetailsGranted","required":["insights"],"type":"object","properties":{"insights":{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_granted_insights"}},"description":"Risk details of the SharedPaymentGrantedToken.","x-expandableFields":["insights"],"x-stripeMostCommon":["insights"]},"shared_payment_tokens_risk_details_granted_insights":{"title":"SharedPaymentTokensRiskDetailsGrantedInsights","required":["fraudulent_dispute"],"type":"object","properties":{"bot":{"description":"Bot risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_float_score_insight"}]},"card_issuer_decline":{"description":"Card issuer decline risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_float_score_insight"}]},"card_testing":{"description":"Card testing risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_float_score_insight"}]},"fraudulent_dispute":{"description":"Fraudulent dispute risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_integer_score_insight"}]},"stolen_card":{"description":"Stolen card risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_integer_score_insight"}]}},"description":"Risk insights for this token, including scores and recommended actions for each risk type.","x-expandableFields":["bot","card_issuer_decline","card_testing","fraudulent_dispute","stolen_card"],"x-stripeMostCommon":["bot","card_issuer_decline","card_testing","fraudulent_dispute","stolen_card"]},"shared_payment_tokens_risk_details_integer_score_insight":{"title":"SharedPaymentTokensRiskDetailsIntegerScoreInsight","required":["recommended_action","score"],"type":"object","properties":{"recommended_action":{"maxLength":5000,"type":"string","description":"Recommended action for this insight."},"score":{"type":"integer","description":"Risk score for this insight."}},"description":"Risk insight with an integer score and recommended action.","x-expandableFields":[],"x-stripeMostCommon":["recommended_action","score"]},"shared_payment_tokens_risk_details_issued":{"title":"SharedPaymentTokensRiskDetailsIssued","required":["insights"],"type":"object","properties":{"insights":{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_issued_insights"}},"description":"","x-expandableFields":["insights"],"x-stripeMostCommon":["insights"]},"shared_payment_tokens_risk_details_issued_insights":{"title":"SharedPaymentTokensRiskDetailsIssuedInsights","required":["fraudulent_dispute"],"type":"object","properties":{"bot":{"description":"Bot risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_float_score_insight"}]},"card_issuer_decline":{"description":"Card issuer decline risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_float_score_insight"}]},"card_testing":{"description":"Card testing risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_float_score_insight"}]},"fraudulent_dispute":{"description":"Fraudulent dispute risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_integer_score_insight"}]},"stolen_card":{"description":"Stolen card risk insight.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_risk_details_integer_score_insight"}]}},"description":"Risk insights for this token, including scores and recommended actions for each risk type.","x-expandableFields":["bot","card_issuer_decline","card_testing","fraudulent_dispute","stolen_card"],"x-stripeMostCommon":["bot","card_issuer_decline","card_testing","fraudulent_dispute","stolen_card"]},"shared_payment_tokens_use_stripe_sdk":{"title":"SharedPaymentTokensUseStripeSdk","required":["value"],"type":"object","properties":{"value":{"maxLength":5000,"type":"string","description":"A base64-encoded string used by Stripe.js and the iOS and Android client SDKs to handle the next action. Its content is subject to change."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["value"]},"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":"Shipping Rate","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-stableId":"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"]},"smor_resource_managed_payments":{"title":"SmorResourceManagedPayments","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"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"},"paypal":{"$ref":"#/components/schemas/source_type_paypal"},"receiver":{"$ref":"#/components/schemas/source_receiver_flow"},"redaction":{"description":"Redaction status of this source. If not null, this source is associated to a redaction job.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/source_redaction"}]},"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","paypal","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","redaction","redirect","source_order"],"x-resourceId":"source","x-stableId":"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":"Source Mandate Notification","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-stableId":"payment_provider_source_mandate_notification","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_redaction":{"title":"SourceRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["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":"Source Transaction","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-stableId":"payment_provider_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},"brand_product":{"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},"brand_product":{"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_paypal":{"type":"object","properties":{"billing_agreement":{"type":"string","nullable":true},"fingerprint":{"type":"string","nullable":true},"payer_id":{"type":"string","nullable":true},"reference_id":{"type":"string"},"reference_transaction_amount":{"type":"string"},"reference_transaction_charged":{"type":"boolean"},"statement_descriptor":{"type":"string","nullable":true},"transaction_id":{"type":"string"},"verified_email":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"Paypal"}},"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},"brand_product":{"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"}},"spt_payment_method_card":{"title":"spt_payment_method_card","required":["brand","country","display_brand","exp_month","exp_year","funding","last4","networks","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`."},"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"}]},"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","networks","wallet"],"x-stripeMostCommon":["brand","checks","country","description","display_brand","exp_month","exp_year","fingerprint","funding","iin","issuer","last4","networks","wallet"]},"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"}]}},"discount_end":{"description":"Details to determine how long the discount should be applied for.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/discount_end"}]},"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","discount_end","promotion_code"],"x-stripeMostCommon":["coupon","discount","discount_end","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"}]}},"discount_end":{"description":"Details to determine how long the discount should be applied for.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/discount_end"}]},"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","discount_end","promotion_code"],"x-stripeMostCommon":["coupon","discount","discount_end","promotion_code"]},"stackable_discount_with_discount_settings_for_quote_line":{"title":"StackableDiscountWithDiscountSettingsForQuoteLine","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"}]}},"discount_end":{"description":"Details to determine how long the discount should be applied for.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/discount_end"}]},"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","discount_end","promotion_code"],"x-stripeMostCommon":["coupon","discount","discount_end","promotion_code"]},"stackable_discount_with_index_and_discount_settings":{"title":"StackableDiscountWithIndexAndDiscountSettings","required":["coupon","discount","index","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"}]}},"discount_end":{"description":"Details to determine how long the discount should be applied for.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quote_line_discount_end"}]},"index":{"type":"integer","description":"The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.","nullable":true},"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","discount_end","promotion_code"],"x-stripeMostCommon":["coupon","discount","discount_end","index","promotion_code"]},"subscription":{"title":"Subscription","required":["application","application_fee_percent","automatic_tax","billing_cycle_anchor","billing_cycle_anchor_config","billing_mode","billing_schedules","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","managed_payments","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_schedules":{"type":"array","description":"Billing schedules for this subscription.","items":{"$ref":"#/components/schemas/subscriptions_resource_billing_schedules"}},"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"]},"last_price_migration_error":{"description":"Details of the most recent price migration that failed for the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_price_migration_error"}]},"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`."},"managed_payments":{"description":"Settings for Managed Payments for this Subscription and resulting [Invoices](/api/invoices/object) and [PaymentIntents](/api/payment_intents/object).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/smor_resource_managed_payments"}]},"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"}]},"prebilling":{"description":"Time period and invoice for a Subscription billed in advance.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_prebilling_data"}]},"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/free-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"]},"status_details":{"$ref":"#/components/schemas/subscriptions_resource_status_details_public"},"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_schedules","billing_thresholds","cancellation_details","customer","default_payment_method","default_source","default_tax_rates","discounts","invoice_settings","items","last_price_migration_error","latest_invoice","managed_payments","on_behalf_of","pause_collection","payment_settings","pending_invoice_item_interval","pending_setup_intent","pending_update","prebilling","presentment_details","schedule","status_details","test_clock","transfer_data","trial_settings"],"x-resourceId":"subscription","x-stableId":"billing_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":"pause","method_on":"service","method_type":"custom","operation":"post","path":"/v1/subscriptions/{subscription}/pause"},{"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":"Subscription Item","required":["billing_thresholds","created","current_period_end","current_period_start","current_trial","discounts","id","metadata","object","plan","price","subscription","tax_rates"],"type":"object","properties":{"billed_until":{"type":"integer","description":"The time period the subscription item has been billed for.","format":"unix-time"},"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"},"current_trial":{"description":"The current trial that is applied to this subscription item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_trials_resource_current_trial"}]},"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"}},"trial":{"description":"Options that configure the trial on the subscription item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_trials_resource_trial"}]}},"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","current_trial","discounts","plan","price","tax_rates","trial"],"x-resourceId":"subscription_item","x-stableId":"billing_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_billie":{"title":"subscription_payment_method_options_billie","type":"object","properties":{"company_details":{"$ref":"#/components/schemas/subscription_payment_method_options_billie_company_details"}},"description":"","x-expandableFields":["company_details"],"x-stripeMostCommon":["company_details"]},"subscription_payment_method_options_billie_company_details":{"title":"subscription_payment_method_options_billie_company_details","required":["registered_name","registration_number","vat"],"type":"object","properties":{"registered_address":{"$ref":"#/components/schemas/subscription_payment_method_options_billie_company_details_registered_address"},"registered_name":{"maxLength":5000,"type":"string","description":"Company or entity name.","nullable":true},"registration_number":{"maxLength":5000,"type":"string","description":"The official registration number for the given registration type.","nullable":true},"registration_type":{"type":"string","description":"Type of registration the company or entity holds in their registered country.","enum":["ch_ein","de_hrb","dk_cvr","es_cif","fi_tunnus","fr_siren","fr_siret","it_rea","nl_kvk","no_org_number","no_pno","se_org_number","se_pno","uk_crn"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Switzerland Enterprise Identification Number","value":"ch_ein"},{"description":"Germany Handelsregisternummer","value":"de_hrb"},{"description":"Denmark CVR number","value":"dk_cvr"},{"description":"Spain Código de Identificación Fiscal","value":"es_cif"},{"description":"Finland Business ID","value":"fi_tunnus"},{"description":"France SIREN code","value":"fr_siren"},{"description":"France SIRET code","value":"fr_siret"},{"description":"Italy Economic and Administrative Directory (REA)","value":"it_rea"},{"description":"Netherlands KvK number","value":"nl_kvk"},{"description":"Norway Registration Number (companies)","value":"no_org_number"},{"description":"Norway Personal Identification Number (persons)","value":"no_pno"},{"description":"Sweden Registration Number (companies)","value":"se_org_number"},{"description":"Sweden Personal Identity Number","value":"se_pno"},{"description":"United Kingdom Company Registration Number","value":"uk_crn"}]}},"vat":{"maxLength":5000,"type":"string","description":"VAT ID number.","nullable":true}},"description":"","x-expandableFields":["registered_address"],"x-stripeMostCommon":["registered_address","registered_name","registration_number","registration_type","vat"]},"subscription_payment_method_options_billie_company_details_registered_address":{"title":"subscription_payment_method_options_billie_company_details_registered_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.","nullable":true},"line1":{"maxLength":5000,"type":"string","description":"Address line 1 (for example, street, PO Box, or company name).","nullable":true},"line2":{"maxLength":5000,"type":"string","description":"Address line 2 (for example, 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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"subscription_payment_method_options_blik":{"title":"subscription_payment_method_options_blik","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/subscription_payment_method_options_mandate_options_blik"}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options"]},"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_payment_method_options_mandate_options_blik":{"title":"subscription_payment_method_options_mandate_options_blik","required":["expires_at"],"type":"object","properties":{"expires_at":{"type":"integer","description":"Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_at"]},"subscription_payment_method_options_mandate_options_pix":{"title":"subscription_payment_method_options_mandate_options_pix","required":["amount","amount_includes_iof","end_date","payment_schedule"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments.","nullable":true},"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax.","nullable":true,"enum":["always","never"]},"end_date":{"maxLength":5000,"type":"string","description":"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.","nullable":true},"payment_schedule":{"type":"string","description":"Schedule at which the future payments will be charged.","nullable":true,"enum":["halfyearly","monthly","quarterly","weekly","yearly"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_includes_iof","end_date","payment_schedule"]},"subscription_payment_method_options_pix":{"title":"subscription_payment_method_options_pix","type":"object","properties":{"expires_after_seconds":{"type":"integer","description":"The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds."},"mandate_options":{"$ref":"#/components/schemas/subscription_payment_method_options_mandate_options_pix"}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["expires_after_seconds","mandate_options"]},"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_prebilling_data":{"title":"Prebilling","required":["invoice","period_end","period_start"],"type":"object","properties":{"invoice":{"description":"ID of the prebilling invoice.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}},"period_end":{"type":"integer","description":"The end of the last period for which the invoice pre-bills.","format":"unix-time"},"period_start":{"type":"integer","description":"The start of the first period for which the invoice pre-bills.","format":"unix-time"},"update_behavior":{"type":"string","description":"Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.","enum":["prebill","reset"]}},"description":"Prebilling stores the time period and invoice for a Subscription billed in advance.","x-expandableFields":["invoice"],"x-stripeMostCommon":["invoice","period_end","period_start","update_behavior"]},"subscription_schedule":{"title":"Subscription Schedule","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_behavior":{"type":"string","description":"Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.","enum":["prorate_on_next_phase","prorate_up_front"]},"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."},"last_price_migration_error":{"description":"Details of the most recent price migration that failed for the subscription schedule.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_price_migration_error"}]},"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"]},"pause_schedules":{"type":"array","description":"The pause schedules for this subscription schedule.","items":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule"}},"phases":{"type":"array","description":"Configuration for the subscription schedule's phases.","items":{"$ref":"#/components/schemas/subscription_schedule_phase_configuration"}},"prebilling":{"description":"Time period and invoice for a Subscription billed in advance.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_prebilling_data"}]},"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","last_price_migration_error","pause_schedules","phases","prebilling","subscription","test_clock"],"x-resourceId":"subscription_schedule","x-stableId":"billing_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":"amend","method_on":"service","method_type":"custom","operation":"post","path":"/v1/subscription_schedules/{schedule}/amend"},{"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.price_migration_failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription_schedule"}},"description":"Occurs whenever a price migration failed to transition prices on a subscription schedule.","x-expandableFields":[],"x-stripeEvent":{"type":"subscription_schedule.price_migration_failed"}},"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":"Add Invoice Item","required":["discountable","discounts","metadata","period","price","quantity"],"type":"object","properties":{"discountable":{"type":"boolean","description":"Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.","nullable":true},"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":["discountable","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":"Phase Item","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"}},"trial":{"description":"Options that configure the trial on the subscription item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_trials_resource_trial"}]},"trial_offer":{"maxLength":5000,"type":"string","description":"The ID of the trial offer to apply to the configuration item.","nullable":true}},"description":"A phase item describes the price and quantity of a phase.","x-expandableFields":["billing_thresholds","discounts","plan","price","tax_rates","trial"],"x-stripeMostCommon":["billing_thresholds","discounts","metadata","plan","price","quantity","tax_rates","trial","trial_offer"]},"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":"Phase","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"}]}},"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/subscription_schedules_resource_pause_collection"}]},"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":{"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_continuation":{"type":"string","description":"Specify behavior of the trial when crossing schedule phase boundaries","nullable":true,"enum":["continue","none"]},"trial_end":{"type":"integer","description":"When the trial ends within the phase.","format":"unix-time","nullable":true},"trial_settings":{"description":"Settings related to any trials on the subscription during this phase.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_schedules_resource_trial_settings"}]}},"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","pause_collection","transfer_data","trial_settings"],"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","pause_collection","proration_behavior","start_date","transfer_data","trial","trial_continuation","trial_end","trial_settings"]},"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_end_behavior":{"title":"End Behavior","required":["prorate_up_front"],"type":"object","properties":{"prorate_up_front":{"type":"string","description":"Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.","nullable":true,"enum":["defer","include"]}},"description":"Defines how the scheduled subscription behaves when a trial ends.","x-expandableFields":[],"x-stripeMostCommon":["prorate_up_front"]},"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_schedules_resource_pause_collection":{"title":"Pause Collection","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"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"void"}]}}},"description":"The Pause Collection settings specify how to pause collection for a subscription during a phase by modifying\nthe behavior of the invoices that are generated during the paused period.","x-expandableFields":[],"x-stripeMostCommon":["behavior"]},"subscription_schedules_resource_pause_schedule":{"title":"SubscriptionSchedulesResourcePauseSchedule","required":["key","pause","resume"],"type":"object","properties":{"key":{"maxLength":5000,"type":"string","description":"A unique identifier for this pause schedule."},"pause":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_pause"},"resume":{"description":"Details about when and how the subscription resumes.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_resume"}]}},"description":"","x-expandableFields":["pause","resume"],"x-stripeMostCommon":["key","pause","resume"]},"subscription_schedules_resource_pause_schedule_bill_for":{"title":"SubscriptionSchedulesResourcePauseScheduleBillFor","required":["outstanding_usage_through","unused_time_from"],"type":"object","properties":{"outstanding_usage_through":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_outstanding_usage_through"},"unused_time_from":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_unused_time_from"}},"description":"","x-expandableFields":["outstanding_usage_through","unused_time_from"],"x-stripeMostCommon":["outstanding_usage_through","unused_time_from"]},"subscription_schedules_resource_pause_schedule_outstanding_usage_through":{"title":"SubscriptionSchedulesResourcePauseScheduleOutstandingUsageThrough","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of outstanding usage billing behavior.","enum":["none","pause_at"],"x-stripeEnum":{"kind":"open","values":[{"description":"Do not collect outstanding metered usage.","value":"none"},{"description":"Collect metered usage accrued through the pause date.","value":"pause_at"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"subscription_schedules_resource_pause_schedule_pause":{"title":"SubscriptionSchedulesResourcePauseSchedulePause","required":["pause_at","settings","status"],"type":"object","properties":{"pause_at":{"type":"integer","description":"Time at which the subscription pauses.","format":"unix-time"},"settings":{"description":"Settings controlling billing behavior during the pause.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_pause_settings"}]},"status":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_pause_status"}},"description":"","x-expandableFields":["settings","status"],"x-stripeMostCommon":["pause_at","settings","status"]},"subscription_schedules_resource_pause_schedule_pause_settings":{"title":"SubscriptionSchedulesResourcePauseSchedulePauseSettings","required":["bill_for","invoicing_behavior","type"],"type":"object","properties":{"bill_for":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_bill_for"},"invoicing_behavior":{"type":"string","description":"Determines how to handle debits and credits when pausing.","enum":["invoice","pending_invoice_item"],"x-stripeEnum":{"kind":"open","values":[{"description":"Invoices immediately for debits and credits in the current period. If pausing doesn't create any invoice items, Stripe doesn't generate an invoice.","value":"invoice"},{"description":"Creates pending invoice items for debits and credits in the current period.","value":"pending_invoice_item"}]}},"type":{"type":"string","description":"The type of pause settings.","enum":["subscription"],"x-stripeEnum":{"kind":"open","values":[{"description":"Pauses collection, billing, and servicing.","value":"subscription"}]}}},"description":"","x-expandableFields":["bill_for"],"x-stripeMostCommon":["bill_for","invoicing_behavior","type"]},"subscription_schedules_resource_pause_schedule_pause_status":{"title":"SubscriptionSchedulesResourcePauseSchedulePauseStatus","required":["type"],"type":"object","properties":{"error":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_status_error"},"type":{"type":"string","description":"The lifecycle state of the pause operation.","enum":["error","scheduled","succeeded"],"x-stripeEnum":{"kind":"open","values":[{"description":"The pause failed. See `error` for details.","value":"error"},{"description":"The subscription hasn't been paused yet.","value":"scheduled"},{"description":"The subscription was paused successfully.","value":"succeeded"}]}}},"description":"","x-expandableFields":["error"],"x-stripeMostCommon":["error","type"]},"subscription_schedules_resource_pause_schedule_resume":{"title":"SubscriptionSchedulesResourcePauseScheduleResume","required":["resume_at","settings","status"],"type":"object","properties":{"resume_at":{"type":"integer","description":"Time at which the subscription resumes.","format":"unix-time"},"settings":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_resume_settings"},"status":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_resume_status"}},"description":"","x-expandableFields":["settings","status"],"x-stripeMostCommon":["resume_at","settings","status"]},"subscription_schedules_resource_pause_schedule_resume_settings":{"title":"SubscriptionSchedulesResourcePauseScheduleResumeSettings","required":["billing_cycle_anchor","payment_behavior","proration_behavior"],"type":"object","properties":{"billing_cycle_anchor":{"type":"string","description":"The billing cycle anchor that applies when the subscription is resumed.","enum":["resume_at","unchanged"],"x-stripeEnum":{"kind":"open","values":[{"description":"Set the billing cycle anchor to the date the subscription resumes.","value":"resume_at"},{"description":"Keep the existing billing cycle anchor.","value":"unchanged"}]}},"payment_behavior":{"type":"string","description":"Controls whether Stripe attempts payment on the resumption invoice and how that affects the subscription's status.","enum":["resume_on_payment_attempt","resume_on_payment_success"],"x-stripeEnum":{"kind":"open","values":[{"description":"If you create a resumption invoice, Stripe finalizes the invoice immediately but doesn't attempt payment. You can then manually attempt payment on the invoice using the [Pay invoice endpoint](/api/invoices/pay). If the payment attempt succeeds, the subscription becomes `active`. If the payment attempt fails, the subscription becomes `past_due`. If the invoice has no payment attempts after 23 hours, Stripe voids the invoice and the subscription remains `paused`.","value":"resume_on_payment_attempt"},{"description":"If you create a resumption invoice, Stripe finalizes and attempts payment on the invoice immediately. If that payment attempt succeeds, the subscription becomes `active`. If that payment attempt fails, the subscription remains `paused`. You can then manually attempt payment on the invoice using the [Pay invoice endpoint](/api/invoices/pay). If the invoice isn't paid successfully within 1 year of its creation, Stripe voids the invoice and the subscription remains `paused`.","value":"resume_on_payment_success"}]}},"proration_behavior":{"type":"string","description":"Determines how to handle prorations resulting from the billing_cycle_anchor change on resume.","enum":["always_invoice","create_prorations","none"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["billing_cycle_anchor","payment_behavior","proration_behavior"]},"subscription_schedules_resource_pause_schedule_resume_status":{"title":"SubscriptionSchedulesResourcePauseScheduleResumeStatus","required":["type"],"type":"object","properties":{"error":{"$ref":"#/components/schemas/subscription_schedules_resource_pause_schedule_status_error"},"type":{"type":"string","description":"The lifecycle state of the resume operation.","enum":["error","pending","requires_action","scheduled","succeeded"],"x-stripeEnum":{"kind":"open","values":[{"description":"The resume failed. See `error` for details.","value":"error"},{"description":"Stripe is retrying payment automatically (`resume_on_payment_success` only).","value":"pending"},{"description":"An open invoice is awaiting payment (`resume_on_payment_attempt`).","value":"requires_action"},{"description":"The `resume_at` date hasn't been reached.","value":"scheduled"},{"description":"The subscription is `active` or `past_due`.","value":"succeeded"}]}}},"description":"","x-expandableFields":["error"],"x-stripeMostCommon":["error","type"]},"subscription_schedules_resource_pause_schedule_status_error":{"title":"SubscriptionSchedulesResourcePauseScheduleStatusError","required":["message"],"type":"object","properties":{"code":{"maxLength":5000,"type":"string","description":"A machine-readable error code."},"message":{"maxLength":5000,"type":"string","description":"A description of the error."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","message"]},"subscription_schedules_resource_pause_schedule_unused_time_from":{"title":"SubscriptionSchedulesResourcePauseScheduleUnusedTimeFrom","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of unused time credit behavior.","enum":["item_current_period_start","none","pause_at"],"x-stripeEnum":{"kind":"open","values":[{"description":"Credit unused time from the start of each item's current billing period.","value":"item_current_period_start"},{"description":"Do not credit unused time.","value":"none"},{"description":"Credit unused time from the pause date.","value":"pause_at"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"subscription_schedules_resource_trial_settings":{"title":"Trial Setting","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"description":"Defines how the subscription should behave when a trial ends.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_schedules_resource_end_behavior"}]}},"description":"Configures how the scheduled subscription behaves during the trial period.","x-expandableFields":["end_behavior"],"x-stripeMostCommon":["end_behavior"]},"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":"Billing Mode","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"Amounts are net of discounts, and discount amounts are zero.","value":"included"},{"description":"Amounts are gross of discounts, and discount amounts are accurate.","value":"itemized"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["proration_discounts"]},"subscriptions_resource_billing_schedules":{"title":"Billing Schedule","required":["applies_to","bill_until","key"],"type":"object","properties":{"applies_to":{"type":"array","description":"Specifies which subscription items the billing schedule applies to.","nullable":true,"items":{"$ref":"#/components/schemas/subscriptions_resource_billing_schedules_applies_to"}},"bill_until":{"$ref":"#/components/schemas/subscriptions_resource_billing_schedules_bill_until"},"key":{"maxLength":5000,"type":"string","description":"Unique identifier for the billing schedule."}},"description":"Sets the billing schedule for the subscription.","x-expandableFields":["applies_to","bill_until"],"x-stripeMostCommon":["applies_to","bill_until","key"]},"subscriptions_resource_billing_schedules_applies_to":{"title":"Billing Schedule Applies To","required":["price","type"],"type":"object","properties":{"price":{"description":"The billing schedule will apply to the subscription item with the given price ID.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/price"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/price"}]}},"type":{"type":"string","description":"Controls which subscription items the billing schedule applies to.","enum":["price"]}},"description":"Represents the entities that the billing schedule applies to.","x-expandableFields":["price"],"x-stripeMostCommon":["price","type"]},"subscriptions_resource_billing_schedules_bill_until":{"title":"Billing Schedules Bill Until","required":["computed_timestamp","duration","timestamp","type"],"type":"object","properties":{"computed_timestamp":{"type":"integer","description":"The timestamp the billing schedule will apply until.","format":"unix-time"},"duration":{"description":"Specifies the billing period.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_billing_schedules_bill_until_duration"}]},"timestamp":{"type":"integer","description":"If specified, the billing schedule will apply until the specified timestamp.","format":"unix-time","nullable":true},"type":{"type":"string","description":"Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.","enum":["duration","timestamp"]}},"description":"Specifies the end of billing period.","x-expandableFields":["duration"],"x-stripeMostCommon":["computed_timestamp","duration","timestamp","type"]},"subscriptions_resource_billing_schedules_bill_until_duration":{"title":"Billing Schedule Configs Bill Until Duration","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing duration. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The multiplier applied to the interval.","nullable":true}},"description":"Configures the `bill_until` date based on the provided `interval` and `interval_count`.","x-expandableFields":[],"x-stripeMostCommon":["interval","interval_count"]},"subscriptions_resource_pause_collection":{"title":"Pause Collection","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,"x-stripeEnum":{"kind":"open","values":[{"description":"Keep all invoices as `draft` while collection is paused.","value":"keep_as_draft"},{"description":"Mark all invoices as `uncollectible` while collection is paused.","value":"mark_uncollectible"},{"description":"Void all invoices while collection is paused.","value":"void"}]}},"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_paused_status_details_public":{"title":"Paused","required":["subscription","transitioned_at","type"],"type":"object","properties":{"subscription":{"$ref":"#/components/schemas/subscriptions_resource_paused_status_details_subscription"},"transitioned_at":{"type":"integer","description":"Unix timestamp in seconds of when the subscription status transitioned to `paused`.","format":"unix-time"},"type":{"type":"string","description":"The type of pause.","enum":["subscription"],"x-stripeEnum":{"kind":"open","values":[{"description":"Collection, billing, and servicing are paused.","value":"subscription"}]}}},"description":"Indicates when and why the subscription transitioned to the paused status.","x-expandableFields":["subscription"],"x-stripeMostCommon":["subscription","transitioned_at","type"]},"subscriptions_resource_paused_status_details_subscription":{"title":"Subscription pause detail","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The reason that the subscription was paused.","enum":["final_payment_failure","first_payment_failure","pause_requested","system","trial_end_without_payment_method"],"x-stripeEnum":{"kind":"open","values":[{"description":"Indicates the subscription was paused because the final payment attempt failed.","value":"final_payment_failure"},{"description":"Indicates the subscription was paused because the first payment attempt failed.","value":"first_payment_failure"},{"description":"Indicates the subscription was paused using an API request.","value":"pause_requested"},{"description":"Indicates the subscription was paused by Stripe.","value":"system"},{"description":"Indicates the subscription was paused because a trial ended without the customer providing a payment method.","value":"trial_end_without_payment_method"}]}}},"description":"Information on the `type=subscription` pause.","x-expandableFields":[],"x-stripeMostCommon":["type"]},"subscriptions_resource_payment_method_options":{"title":"SubscriptionsResourcePaymentMethodOptions","required":["acss_debit","bancontact","card","customer_balance","konbini","payto","pix","sepa_debit","upi","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"}]},"billie":{"description":"This sub-hash contains details about the Billie payment method options to pass to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_payment_method_options_billie"}]},"blik":{"description":"This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_payment_method_options_blik"}]},"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"}]},"id_bank_transfer":{"description":"This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_id_bank_transfer"}]},"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"}]},"pix":{"description":"This sub-hash contains details about the Pix payment method options to pass to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_payment_method_options_pix"}]},"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"}]},"upi":{"description":"This sub-hash contains details about the UPI payment method options to pass to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_upi"}]},"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","billie","blik","card","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account"],"x-stripeMostCommon":["acss_debit","bancontact","billie","blik","card","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","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","alipay","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","id_bank_transfer","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","mb_way","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_balance","swish","twint","upi","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":"Pending Update","required":["billing_cycle_anchor","cancel_at_period_end","discount","discounts","expires_at","metadata","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},"cancel_at_period_end":{"type":"boolean","description":"Indicates whether this subscription should cancel at the end of the current period if the update is applied.","nullable":true},"discount":{"description":"The pending subscription-level discount that will be applied when the pending update is applied.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/discount"}]},"discounts":{"type":"array","description":"The discounts that will be applied to the subscription when the pending update is applied. 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"}]}}},"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"},"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},"prebilling_iterations":{"type":"integer","description":"The number of iterations of prebilling to apply.","nullable":true},"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/free-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":["discount","discounts","subscription_items"],"x-stripeMostCommon":["billing_cycle_anchor","cancel_at_period_end","discount","discounts","expires_at","metadata","prebilling_iterations","subscription_items","trial_end","trial_from_plan"]},"subscriptions_resource_price_migration_error":{"title":"SubscriptionsResourcePriceMigrationError","required":["errored_at","failed_transitions","type"],"type":"object","properties":{"errored_at":{"type":"integer","description":"The time at which the price migration encountered an error.","format":"unix-time"},"failed_transitions":{"type":"array","description":"The involved price pairs in each failed transition.","items":{"$ref":"#/components/schemas/subscriptions_resource_price_migration_error_failed_transition"}},"type":{"type":"string","description":"The type of error encountered by the price migration.","enum":["price_uniqueness_violation"]}},"description":"","x-expandableFields":["failed_transitions"],"x-stripeMostCommon":["errored_at","failed_transitions","type"]},"subscriptions_resource_price_migration_error_failed_transition":{"title":"SubscriptionsResourcePriceMigrationErrorFailedTransition","required":["source_price","target_price"],"type":"object","properties":{"source_price":{"maxLength":5000,"type":"string","description":"The original price to be migrated."},"target_price":{"maxLength":5000,"type":"string","description":"The intended resulting price of the migration."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["source_price","target_price"]},"subscriptions_resource_status_details_public":{"title":"Status Detail","required":["paused"],"type":"object","properties":{"paused":{"$ref":"#/components/schemas/subscriptions_resource_paused_status_details_public"}},"description":"Describes changes to the subscription's status.","x-expandableFields":["paused"],"x-stripeMostCommon":["paused"]},"subscriptions_resource_subscription_invoice_settings":{"title":"SubscriptionsResourceSubscriptionInvoiceSettings","required":["account_tax_ids","custom_fields","description","footer","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"}]}}},"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":{"$ref":"#/components/schemas/connect_account_reference"}},"description":"","x-expandableFields":["account_tax_ids","custom_fields","issuer"],"x-stripeMostCommon":["account_tax_ids","custom_fields","description","footer","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":"End Behavior","required":["billing_cycle_anchor","missing_payment_method"],"type":"object","properties":{"billing_cycle_anchor":{"type":"string","description":"Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.","nullable":true,"enum":["now","unchanged"],"x-stripeEnum":{"kind":"open","values":[{"description":"Reset the subscription's billing cycle anchor to the end of the trial.","value":"now"},{"description":"Keep the subscription's existing billing cycle anchor unchanged. This value is unsupported for trials initiated through `trial_end`, `trial_period_days`, or a plan trial.","value":"unchanged"}]}},"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":["billing_cycle_anchor","missing_payment_method"]},"subscriptions_resource_trial_settings_trial_settings":{"title":"Trial Setting","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_current_trial":{"title":"Current Trial","required":["end_date","start_date","trial_offer"],"type":"object","properties":{"end_date":{"type":"integer","format":"unix-time"},"start_date":{"type":"integer","format":"unix-time"},"trial_offer":{"maxLength":5000,"type":"string"}},"description":"The current trial attached to the subscription item.","x-expandableFields":[],"x-stableId":"current_trial","x-stripeMostCommon":["end_date","start_date","trial_offer"]},"subscriptions_trials_resource_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 a subscription behaves when a free trial ends.","x-expandableFields":[],"x-stripeMostCommon":["missing_payment_method"]},"subscriptions_trials_resource_trial":{"title":"SubscriptionsTrialsResourceTrial","required":["type"],"type":"object","properties":{"converts_to":{"type":"array","description":"List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Determines the type of trial for this item.","enum":["free","paid"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["converts_to","type"]},"subscriptions_trials_resource_trial_settings":{"title":"Trial Setting","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":"Tax Association","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-stableId":"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":"Tax Calculation","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":"The calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window.","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-stableId":"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":"Tax Calculation Line Item","required":["amount","amount_tax","id","livemode","metadata","object","performance_location","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"]},"performance_location":{"maxLength":5000,"type":"string","description":"Indicates the line item represents a performance where the venue location might determine the tax, not the customer address. Leave empty if the tax code doesn't require a tax location. If you provide this value for tax codes with an `optional` location requirement, it overrides the customer address.","nullable":true},"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":"A Tax Calculation Line Item represents a single item in a tax calculation.","x-expandableFields":["tax_breakdown"],"x-resourceId":"tax.calculation_line_item","x-stableId":"tax_calculation_line_item","x-stripeMostCommon":["amount","amount_tax","id","livemode","metadata","object","performance_location","product","quantity","reference","tax_behavior","tax_breakdown","tax_code"],"x-stripeResource":{"class_name":"CalculationLineItem","has_collection_class":true,"in_package":"Tax"}},"tax.form":{"title":"Tax form","required":["corrected_by","created","filing_statuses","id","livemode","object","payee","type"],"type":"object","properties":{"au_serr":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_au_serr"},"ca_mrdp":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_ca_mrdp"},"corrected_by":{"description":"The form that corrects this form, if any.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/tax.form"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/tax.form"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"eu_dac7":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_eu_dac7"},"filing_statuses":{"type":"array","description":"A list of tax filing statuses. Note that a filing status will only be included if the form has been filed directly with the jurisdiction’s tax authority.","items":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_filing_status"}},"gb_mrdp":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_gb_mrdp"},"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`."},"nz_mrdp":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_nz_mrdp"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax.form"]},"payee":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_payee"},"type":{"type":"string","description":"The type of the tax form. An additional hash is included on the tax form with a name matching this value. It contains additional information specific to the tax form type.","enum":["au_serr","ca_mrdp","eu_dac7","gb_mrdp","nz_mrdp","us_1099_k","us_1099_misc","us_1099_nec"],"x-stripeBypassValidation":true},"us_1099_k":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_us1099_k"},"us_1099_misc":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_us1099_misc"},"us_1099_nec":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_us1099_nec"}},"description":"Tax forms are legal documents which are delivered to one or more tax authorities for information reporting purposes.\n\nRelated guide: [US tax reporting for Connect platforms](https://stripe.com/docs/connect/tax-reporting)","x-expandableFields":["au_serr","ca_mrdp","corrected_by","eu_dac7","filing_statuses","gb_mrdp","nz_mrdp","payee","us_1099_k","us_1099_misc","us_1099_nec"],"x-resourceId":"tax.form","x-stableId":"tax_form","x-stripeMostCommon":["corrected_by","filing_statuses","id","payee","type"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/tax/forms"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/tax/forms/{id}"},{"method_name":"pdf","method_on":"service","method_type":"custom","operation":"get","path":"/v1/tax/forms/{id}/pdf"}],"x-stripeResource":{"class_name":"Form","has_collection_class":true,"in_package":"Tax"}},"tax.form.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/tax.form"}},"description":"Occurs when a tax form is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"tax.form.updated"}},"tax.location":{"title":"Tax location","required":["address","description","id","livemode","object","type"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"description":{"maxLength":5000,"type":"string","description":"A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, \"A spacious auditorium suitable for large concerts and events.\").","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.location"]},"type":{"type":"string","description":"The type of tax location to be defined. Currently the only option is `performance`.","enum":["performance"]}},"description":"Tax locations represent venues for services, tickets, or other product types.","x-expandableFields":["address"],"x-resourceId":"tax.location","x-stableId":"tax_location","x-stripeMostCommon":["address","description","id","livemode","object","type"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/tax/locations"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/tax/locations/{location}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/tax/locations"}],"x-stripeResource":{"class_name":"Location","has_collection_class":true,"in_package":"Tax"}},"tax.registration":{"title":"Tax Registration","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-stableId":"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":"Tax Setting","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":"Whether these settings have the information Stripe Tax needs to calculate tax. It doesn't reflect whether your integration is ready to collect tax.","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-stableId":"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":"Tax Transaction","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":"The calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window.","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-stableId":"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":"Tax Transaction Line Item","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":"A Tax Transaction Line Item represents an individual item in a Tax Transaction.","x-expandableFields":["reversal"],"x-resourceId":"tax.transaction_line_item","x-stableId":"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":"Tax Code","required":["description","id","name","object","requirements"],"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"]},"requirements":{"description":"An object that describes more information about the tax location required for this tax code. Some tax codes require a [performance location](/tax/location-sales#required-versus-optional-performance-locations) to calculate tax correctly.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_code_requirements"}]}},"description":"[Tax codes](https://stripe.com/docs/tax/tax-categories) classify goods and services for tax purposes.","x-expandableFields":["requirements"],"x-resourceId":"tax_code","x-stableId":"tax_code","x-stripeMostCommon":["description","id","name","object","requirements"],"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_code_requirements":{"title":"TaxCodeRequirements","required":["performance_location"],"type":"object","properties":{"performance_location":{"type":"string","description":"Describes whether a performance location is required for a successful tax calculation with a tax code.","enum":["optional","required"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["performance_location"]},"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`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `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`, `py_ruc`, `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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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-stableId":"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_integration_resource_tax_calculation_reference":{"title":"TaxProductIntegrationResourceTaxCalculationReference","required":["calculation_id","calculation_item_id"],"type":"object","properties":{"calculation_id":{"maxLength":5000,"type":"string","description":"The calculation identifier for tax calculation response.","nullable":true},"calculation_item_id":{"maxLength":5000,"type":"string","description":"The calculation identifier for tax calculation response line item.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["calculation_id","calculation_item_id"]},"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_spain"},"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_igic":{"title":"TaxProductRegistrationsResourceCountryOptionsIgic","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an IGIC registration.","enum":["inbound_goods","standard"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Inbound goods place of supply scheme in which the tax is collected at destination for inbound physical goods.","value":"inbound_goods"},{"description":"Standard place of supply scheme in which tax is applied to sales in this country only.","value":"standard"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["place_of_supply_scheme"]},"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_spain":{"title":"TaxProductRegistrationsResourceCountryOptionsSpain","required":["type"],"type":"object","properties":{"igic":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_igic"},"standard":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_eu_standard"},"type":{"type":"string","description":"Type of registration in ES.","enum":["igic","ioss","oss_non_union","oss_union","standard"],"x-stripeEnum":{"kind":"open","values":[{"description":"Impuesto General Indirecto Canario. For businesses selling goods and services in the Canary Islands.","value":"igic"},{"description":"Common for businesses shipping goods below EUR 150 from non-EU countries to EU customers.","value":"ioss"},{"description":"Common for businesses established outside of the EU selling services to customers in the EU.","value":"oss_non_union"},{"description":"Common for businesses established in the EU selling goods and services to customers in the EU.","value":"oss_union"},{"description":"Common for businesses selling goods and services to customers in this country.","value":"standard"}]}}},"description":"","x-expandableFields":["igic","standard"],"x-stripeMostCommon":["igic","standard","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,"x-stripeEnum":{"kind":"open","values":[{"description":"A simplified Tax Registration in Thailand to collect VAT.","value":"simplified"}]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"tax_product_registrations_resource_country_options_united_states":{"title":"TaxProductRegistrationsResourceCountryOptionsUnitedStates","required":["state","type"],"type":"object","properties":{"admissions_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_admissions_tax"},"attendance_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_attendance_tax"},"entertainment_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_entertainment_tax"},"gross_receipts_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_gross_receipts_tax"},"hospitality_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_hospitality_tax"},"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"},"luxury_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_luxury_tax"},"mass_transit_parking_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_mass_transit_parking_tax"},"parking_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_parking_tax"},"resort_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_resort_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"},"tourism_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_tourism_tax"},"type":{"type":"string","description":"Type of registration in the US.","enum":["admissions_tax","attendance_tax","entertainment_tax","gross_receipts_tax","hospitality_tax","local_amusement_tax","local_lease_tax","luxury_tax","mass_transit_parking_tax","parking_tax","resort_tax","state_communications_tax","state_retail_delivery_fee","state_sales_tax","tourism_tax"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"A Tax Registration in the specified US state to collect admissions tax.","value":"admissions_tax"},{"description":"A Tax Registration in the specified US state to collect attendance tax.","value":"attendance_tax"},{"description":"A Tax Registration in the specified US state to collect entertainment tax.","value":"entertainment_tax"},{"description":"A Tax Registration in the specified US state to collect gross receipts tax.","value":"gross_receipts_tax"},{"description":"A Tax Registration in the specified US state to collect hospitality tax.","value":"hospitality_tax"},{"description":"A Tax Registration in the specified US state to collect local amusement tax.","value":"local_amusement_tax"},{"description":"A Tax Registration in the specified US state to collect local lease tax.","value":"local_lease_tax"},{"description":"A Tax Registration in the specified US state to collect luxury tax.","value":"luxury_tax"},{"description":"A Tax Registration in the specified US state to collect mass transit parking tax.","value":"mass_transit_parking_tax"},{"description":"A Tax Registration in the specified US state to collect parking tax.","value":"parking_tax"},{"description":"A Tax Registration in the specified US state to collect resort tax.","value":"resort_tax"},{"description":"A Tax Registration in the specified US state to collect communications tax.","value":"state_communications_tax"},{"description":"A Tax Registration in the specified US state to collect state retail delivery fee.","value":"state_retail_delivery_fee"},{"description":"A Tax Registration in the specified US state to collect sales tax.","value":"state_sales_tax"},{"description":"A Tax Registration in the specified US state to collect tourism tax.","value":"tourism_tax"}]}}},"description":"","x-expandableFields":["admissions_tax","attendance_tax","entertainment_tax","gross_receipts_tax","hospitality_tax","local_amusement_tax","local_lease_tax","luxury_tax","mass_transit_parking_tax","parking_tax","resort_tax","state_sales_tax","tourism_tax"],"x-stripeMostCommon":["admissions_tax","attendance_tax","entertainment_tax","gross_receipts_tax","hospitality_tax","local_amusement_tax","local_lease_tax","luxury_tax","mass_transit_parking_tax","parking_tax","resort_tax","state","state_sales_tax","tourism_tax","type"]},"tax_product_registrations_resource_country_options_us_admissions_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsAdmissionsTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"tax_product_registrations_resource_country_options_us_attendance_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsAttendanceTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"tax_product_registrations_resource_country_options_us_entertainment_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsEntertainmentTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"tax_product_registrations_resource_country_options_us_gross_receipts_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsGrossReceiptsTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"tax_product_registrations_resource_country_options_us_hospitality_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsHospitalityTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"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_luxury_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsLuxuryTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"tax_product_registrations_resource_country_options_us_mass_transit_parking_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsMassTransitParkingTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=mass_transit_parking_tax#registration-types) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"tax_product_registrations_resource_country_options_us_parking_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsParkingTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=parking_tax#registration-types) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"tax_product_registrations_resource_country_options_us_resort_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsResortTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=resort_tax#registration-types) 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_registrations_resource_country_options_us_tourism_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsTourismTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [jurisdiction code](https://docs.stripe.com/tax/registering?type=tourism_tax#registration-types) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"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`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `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`, `ic_nif`, 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","fo_vat","gb_vat","ge_vat","gi_tin","gn_nif","hk_br","hr_oib","hu_tin","ic_nif","id_npwp","il_vat","in_gst","is_vat","it_cf","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","py_ruc","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","performance"],"x-stripeEnum":{"kind":"open","values":[{"description":"The tax is calculated at the customer's address.","value":"destination"},{"description":"The tax is calculated at one of your addresses, for example the main establishment.","value":"origin"},{"description":"The tax is calculated at the resolved performance location.","value":"performance"}]}},"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":["admissions_tax","amusement_tax","attendance_tax","communications_tax","digital_excise_tax","entertainment_tax","gross_receipts_tax","gst","hospitality_tax","hst","igst","jct","lease_tax","luxury_tax","mass_transit_parking_tax","parking_tax","pst","qst","recycling_fee","resort_tax","retail_delivery_fee","rst","sales_tax","service_tax","tourism_tax","utility_users_tax","vat"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Admissions Tax","value":"admissions_tax"},{"description":"Amusement Tax","value":"amusement_tax"},{"description":"Attendance Tax","value":"attendance_tax"},{"description":"Communications Tax","value":"communications_tax"},{"description":"Digital Excise Tax","value":"digital_excise_tax"},{"description":"Entertainment Tax","value":"entertainment_tax"},{"description":"Gross Receipts Tax","value":"gross_receipts_tax"},{"description":"Goods and Services Tax","value":"gst"},{"description":"Hospitality Tax","value":"hospitality_tax"},{"description":"Harmonized Sales Tax","value":"hst"},{"description":"Integrated Goods and Services Tax","value":"igst"},{"description":"Japanese Consumption Tax","value":"jct"},{"description":"Chicago Lease Tax","value":"lease_tax"},{"description":"Luxury Tax","value":"luxury_tax"},{"description":"Mass Transit Parking Tax","value":"mass_transit_parking_tax"},{"description":"Parking Tax","value":"parking_tax"},{"description":"Provincial Sales Tax","value":"pst"},{"description":"Quebec Sales Tax","value":"qst"},{"description":"Recycling Fee","value":"recycling_fee"},{"description":"Resort Tax","value":"resort_tax"},{"description":"Retail Delivery Fee","value":"retail_delivery_fee"},{"description":"Retail Sales Tax","value":"rst"},{"description":"Sales Tax","value":"sales_tax"},{"description":"Service Tax","value":"service_tax"},{"description":"Tourism Tax","value":"tourism_tax"},{"description":"Utility Users Tax","value":"utility_users_tax"},{"description":"Value-Added Tax","value":"vat"}]}}},"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"],"x-stripeEnum":{"kind":"open","values":[{"description":"A fixed amount applied as tax, regardless of the taxable amount, such as a retail delivery fee.","value":"flat_amount"},{"description":"A tax rate expressed as a percentage of the taxable amount, such as the sales tax rate in California.","value":"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":["admissions_tax","amusement_tax","attendance_tax","communications_tax","digital_excise_tax","entertainment_tax","gross_receipts_tax","gst","hospitality_tax","hst","igst","jct","lease_tax","luxury_tax","mass_transit_parking_tax","parking_tax","pst","qst","recycling_fee","resort_tax","retail_delivery_fee","rst","sales_tax","service_tax","tourism_tax","utility_users_tax","vat"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Admissions Tax","value":"admissions_tax"},{"description":"Amusement Tax","value":"amusement_tax"},{"description":"Attendance Tax","value":"attendance_tax"},{"description":"Communications Tax","value":"communications_tax"},{"description":"Digital Excise Tax","value":"digital_excise_tax"},{"description":"Entertainment Tax","value":"entertainment_tax"},{"description":"Gross Receipts Tax","value":"gross_receipts_tax"},{"description":"Goods and Services Tax","value":"gst"},{"description":"Hospitality Tax","value":"hospitality_tax"},{"description":"Harmonized Sales Tax","value":"hst"},{"description":"Integrated Goods and Services Tax","value":"igst"},{"description":"Japanese Consumption Tax","value":"jct"},{"description":"Chicago Lease Tax","value":"lease_tax"},{"description":"Luxury Tax","value":"luxury_tax"},{"description":"Mass Transit Parking Tax","value":"mass_transit_parking_tax"},{"description":"Parking Tax","value":"parking_tax"},{"description":"Provincial Sales Tax","value":"pst"},{"description":"Quebec Sales Tax","value":"qst"},{"description":"Recycling Fee","value":"recycling_fee"},{"description":"Resort Tax","value":"resort_tax"},{"description":"Retail Delivery Fee","value":"retail_delivery_fee"},{"description":"Retail Sales Tax","value":"rst"},{"description":"Sales Tax","value":"sales_tax"},{"description":"Service Tax","value":"service_tax"},{"description":"Tourism Tax","value":"tourism_tax"},{"description":"Utility Users Tax","value":"utility_users_tax"},{"description":"Value-Added Tax","value":"vat"}]}}},"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_product_tax_details_resource_tax_details":{"title":"Tax Detail","required":["performance_location","tax_code"],"type":"object","properties":{"performance_location":{"maxLength":5000,"type":"string","description":"The ID of a tax location with type `performance`, representing where the performance takes place.","nullable":true},"tax_code":{"maxLength":5000,"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","nullable":true}},"description":"Tax details contains information about the data that was used to calculate taxes.","x-expandableFields":[],"x-stripeMostCommon":["performance_location","tax_code"]},"tax_rate":{"title":"Tax Rate","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"],"x-stripeEnum":{"kind":"open","values":[{"description":"A fixed amount applied as tax, regardless of the taxable amount, such as a retail delivery fee.","value":"flat_amount"},{"description":"A tax rate expressed as a percentage of the taxable amount, such as the sales tax rate in California.","value":"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","digital_excise_tax","gst","hst","igst","jct","lease_tax","mass_transit_parking_tax","parking_tax","pst","qst","retail_delivery_fee","rst","sales_tax","service_tax","utility_users_tax","vat"],"x-stripeBypassValidation":true,"x-stripeEnum":{"kind":"open","values":[{"description":"Amusement Tax","value":"amusement_tax"},{"description":"Communications Tax","value":"communications_tax"},{"description":"Digital Excise Tax","value":"digital_excise_tax"},{"description":"Goods and Services Tax","value":"gst"},{"description":"Harmonized Sales Tax","value":"hst"},{"description":"Integrated Goods and Services Tax","value":"igst"},{"description":"Japanese Consumption Tax","value":"jct"},{"description":"Chicago Lease Tax","value":"lease_tax"},{"description":"Mass Transit Parking Tax","value":"mass_transit_parking_tax"},{"description":"Parking Tax","value":"parking_tax"},{"description":"Provincial Sales Tax","value":"pst"},{"description":"Quebec Sales Tax","value":"qst"},{"description":"Retail Delivery Fee","value":"retail_delivery_fee"},{"description":"Retail Sales Tax","value":"rst"},{"description":"Sales Tax","value":"sales_tax"},{"description":"Service Tax","value":"service_tax"},{"description":"Utility Users Tax","value":"utility_users_tax"},{"description":"Value-Added Tax","value":"vat"}]}}},"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-stableId":"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":"Flat Amount","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":""}},"tax_reporting_account_settings_resource_tax_form_settings":{"title":"TaxReportingAccountSettingsResourceTaxFormSettings","required":["consented_to_paperless_delivery"],"type":"object","properties":{"consented_to_paperless_delivery":{"type":"boolean","description":"Whether the account opted out of receiving their tax forms by postal delivery."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["consented_to_paperless_delivery"]},"tax_reporting_resource_tax_form_au_serr":{"title":"TaxReportingResourceTaxFormAuSerr","required":["reporting_period_end_date","reporting_period_start_date"],"type":"object","properties":{"reporting_period_end_date":{"maxLength":5000,"type":"string","description":"End date of the period represented by the information reported on the tax form."},"reporting_period_start_date":{"maxLength":5000,"type":"string","description":"Start date of the period represented by the information reported on the tax form."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reporting_period_end_date","reporting_period_start_date"]},"tax_reporting_resource_tax_form_ca_mrdp":{"title":"TaxReportingResourceTaxFormCAMrdp","required":["reporting_period_end_date","reporting_period_start_date"],"type":"object","properties":{"reporting_period_end_date":{"maxLength":5000,"type":"string","description":"End date of the period represented by the information reported on the tax form."},"reporting_period_start_date":{"maxLength":5000,"type":"string","description":"Start date of the period represented by the information reported on the tax form."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reporting_period_end_date","reporting_period_start_date"]},"tax_reporting_resource_tax_form_eu_dac7":{"title":"TaxReportingResourceTaxFormEuDac7","required":["reporting_period_end_date","reporting_period_start_date"],"type":"object","properties":{"reporting_period_end_date":{"maxLength":5000,"type":"string","description":"End date of the period represented by the information reported on the tax form."},"reporting_period_start_date":{"maxLength":5000,"type":"string","description":"Start date of the period represented by the information reported on the tax form."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reporting_period_end_date","reporting_period_start_date"]},"tax_reporting_resource_tax_form_filing_status":{"title":"TaxReportingResourceTaxFormFilingStatus","required":["effective_at","jurisdiction","value"],"type":"object","properties":{"effective_at":{"type":"integer","description":"Time when the filing status was updated.","format":"unix-time"},"jurisdiction":{"$ref":"#/components/schemas/tax_reporting_resource_tax_form_filing_status_resource_jurisdiction"},"value":{"type":"string","description":"The current status of the filed form.","enum":["accepted","filed","rejected"]}},"description":"","x-expandableFields":["jurisdiction"],"x-stripeMostCommon":["effective_at","jurisdiction","value"]},"tax_reporting_resource_tax_form_filing_status_resource_jurisdiction":{"title":"TaxReportingResourceTaxFormFilingStatusResourceJurisdiction","required":["country","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))."},"level":{"type":"string","description":"Indicates the level of the jurisdiction where the form was filed.","enum":["country","state"]},"state":{"maxLength":5000,"type":"string","description":"[ISO 3166-2 U.S. state code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix, if any. For example, \"NY\" for New York, United States. Null for non-U.S. forms.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country","level","state"]},"tax_reporting_resource_tax_form_gb_mrdp":{"title":"TaxReportingResourceTaxFormGbMrdp","required":["reporting_period_end_date","reporting_period_start_date"],"type":"object","properties":{"reporting_period_end_date":{"maxLength":5000,"type":"string","description":"End date of the period represented by the information reported on the tax form."},"reporting_period_start_date":{"maxLength":5000,"type":"string","description":"Start date of the period represented by the information reported on the tax form."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reporting_period_end_date","reporting_period_start_date"]},"tax_reporting_resource_tax_form_nz_mrdp":{"title":"TaxReportingResourceTaxFormNzMrdp","required":["reporting_period_end_date","reporting_period_start_date"],"type":"object","properties":{"reporting_period_end_date":{"maxLength":5000,"type":"string","description":"End date of the period represented by the information reported on the tax form."},"reporting_period_start_date":{"maxLength":5000,"type":"string","description":"Start date of the period represented by the information reported on the tax form."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reporting_period_end_date","reporting_period_start_date"]},"tax_reporting_resource_tax_form_payee":{"title":"TaxReportingResourceTaxFormPayee","required":["account","external_reference","type"],"type":"object","properties":{"account":{"description":"The ID of the payee's Stripe account.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"external_reference":{"maxLength":5000,"type":"string","description":"The external reference to this payee.","nullable":true},"type":{"type":"string","description":"Specifies the payee type.","enum":["account","external_reference"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["account"],"x-stripeMostCommon":["account","external_reference","type"]},"tax_reporting_resource_tax_form_us1099_k":{"title":"TaxReportingResourceTaxFormUS1099K","required":["reporting_year"],"type":"object","properties":{"reporting_year":{"type":"integer","description":"Year represented by the information reported on the tax form."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reporting_year"]},"tax_reporting_resource_tax_form_us1099_misc":{"title":"TaxReportingResourceTaxFormUS1099MISC","required":["reporting_year"],"type":"object","properties":{"reporting_year":{"type":"integer","description":"Year represented by the information reported on the tax form."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reporting_year"]},"tax_reporting_resource_tax_form_us1099_nec":{"title":"TaxReportingResourceTaxFormUS1099NEC","required":["reporting_year"],"type":"object","properties":{"reporting_year":{"type":"integer","description":"Year represented by the information reported on the tax form."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reporting_year"]},"terminal.configuration":{"title":"Configuration","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"},"reader_security":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_reader_security_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_m425":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_device_type_specific_config"},"verifone_p400":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_device_type_specific_config"},"verifone_p630":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_device_type_specific_config"},"verifone_ux700":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_device_type_specific_config"},"verifone_v660p":{"$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","reader_security","reboot_window","stripe_s700","stripe_s710","tipping","verifone_m425","verifone_p400","verifone_p630","verifone_ux700","verifone_v660p","wifi"],"x-resourceId":"terminal.configuration","x-stableId":"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":"Connection Token","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-stableId":"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":"Location","required":["address","display_name","id","livemode","metadata","object"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/address_api_resource_terminal"},"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-stableId":"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":"Onboarding Link","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-stableId":"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":"Reader","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_verifone_m425","simulated_verifone_p630","simulated_verifone_ux700","simulated_verifone_v660p","simulated_wisepos_e","stripe_m2","stripe_s700","stripe_s710","verifone_P400","verifone_m425","verifone_p630","verifone_ux700","verifone_v660p"],"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. This value is `null` for mobile readers. 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-stableId":"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.reader_collected_data":{"title":"Reader Collected Data","required":["created","id","livemode","magstripe","object","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"},"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`."},"magstripe":{"description":"The magstripe data collected by the reader.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/terminal_reader_collected_data_resource_magstripe_data"}]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["terminal.reader_collected_data"]},"type":{"type":"string","description":"The type of data collected by the reader.","enum":["magstripe"]}},"description":"Returns data collected by Terminal readers. This data is only stored for 24 hours.","x-expandableFields":["magstripe"],"x-resourceId":"terminal.reader_collected_data","x-stableId":"reader_collected_data_resource","x-stripeMostCommon":["id","magstripe","type"],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/terminal/reader_collected_data/{reader_collected_data}"}],"x-stripeResource":{"class_name":"ReaderCollectedData","in_package":"Terminal"}},"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_reader_security_config":{"title":"TerminalConfigurationConfigurationResourceReaderSecurityConfig","required":["admin_menu_passcode"],"type":"object","properties":{"admin_menu_passcode":{"maxLength":5000,"type":"string","description":"Passcode used to access a reader's admin menu."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["admin_menu_passcode"]},"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":"Onboarding Link Options, Apple Terms and Condition","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":"Onboarding Link Option","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_collected_data_resource_magstripe_data":{"title":"Magstripe Data","required":["data"],"type":"object","properties":{"data":{"maxLength":5000,"type":"string","description":"The raw magstripe data collected by the reader.","nullable":true}},"description":"Represents magstripe data collected by the reader.","x-expandableFields":[],"x-stripeMostCommon":["data"]},"terminal_reader_reader_resource_cart":{"title":"CartItem","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":"Choice","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":"CollectConfig","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":"CollectInputsAction","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":"CollectPaymentMethodReaderAction","required":["payment_intent"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"Account the payment intent belongs to."},"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":"ConfirmConfig","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":"ConfirmPaymentIntentReaderAction","required":["payment_intent"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"Account the payment intent belongs to."},"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":"Custom Text","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":"Email","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_file_metadata":{"title":"FileMetadata","required":["created_at","filename","size","type"],"type":"object","properties":{"created_at":{"type":"integer","description":"Creation time of the object (in seconds since the Unix epoch).","format":"unix-time"},"filename":{"maxLength":5000,"type":"string","description":"The original name of the uploaded file (e.g. `receipt.png`)."},"size":{"type":"integer","description":"The size (in bytes) of the uploaded file."},"type":{"maxLength":5000,"type":"string","description":"The format of the uploaded file."}},"description":"Metadata of an uploaded file","x-expandableFields":[],"x-stripeMostCommon":["created_at","filename","size","type"]},"terminal_reader_reader_resource_input":{"title":"Input","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":"LineItem","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":"Numeric","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":"Phone","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_print_content":{"title":"PrintContent","required":["type"],"type":"object","properties":{"image":{"$ref":"#/components/schemas/terminal_reader_reader_resource_file_metadata"},"type":{"type":"string","description":"The type of content to print. Currently supports `image`.","enum":["image"]}},"description":"Represents a reader action to print content","x-expandableFields":["image"],"x-stripeMostCommon":["image","type"]},"terminal_reader_reader_resource_process_config":{"title":"ProcessConfig","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":"ProcessPaymentIntentReaderAction","required":["payment_intent"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"Account the payment intent belongs to."},"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":"ProcessSetupConfig","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":"ProcessSetupIntentReaderAction","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":"ReaderAction","required":["api_error","failure_code","failure_message","status","type"],"type":"object","properties":{"api_error":{"description":"The reader action failed due to an [API error](https://docs.stripe.com/api/errors). Only present when `status` is `failed` and the underlying failure was an API error. Avoid parsing the `message` field for programmatic logic; use `type` or `code` instead. The `message` field is for display to humans only and may be updated at anytime. Requires [reader version](https://docs.stripe.com/terminal/readers/stripe-reader-s700-s710#reader-software-version) 2.42 or later. Readers on older versions always return null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/api_errors"}]},"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},"print_content":{"$ref":"#/components/schemas/terminal_reader_reader_resource_print_content"},"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","print_content","process_payment_intent","process_setup_intent","refund_payment","set_reader_display"],"x-stripeBypassValidation":true}},"description":"Represents an action performed by the reader","x-expandableFields":["api_error","collect_inputs","collect_payment_method","confirm_payment_intent","print_content","process_payment_intent","process_setup_intent","refund_payment","set_reader_display"],"x-stripeMostCommon":["api_error","collect_inputs","collect_payment_method","confirm_payment_intent","failure_code","failure_message","print_content","process_payment_intent","process_setup_intent","refund_payment","set_reader_display","status","type"]},"terminal_reader_reader_resource_refund_payment_action":{"title":"RefundPaymentReaderAction","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"Account the payment intent belongs to."},"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":"RefundPaymentConfig","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":"Selection","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":"SetReaderDisplayAction","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":"Signature","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":"Text","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":"TippingConfig","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":"Toggle","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":"Test Clock","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-stableId":"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.authentication":{"title":"3DS Authentication","required":["channel","created","directory_server","id","livemode","message_category","metadata","object","payment_method","status"],"type":"object","properties":{"acquirer_details":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_acquirer_details"},"amount":{"type":"integer","description":"The amount for this 3DS Authentication."},"challenge_url":{"maxLength":5000,"type":"string","description":"The URL for presenting a challenge to your cardholder, present if status is requires_challenge."},"channel":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_channel"},"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"},"directory_server":{"type":"string","description":"The 3DS directory server with which this 3DS Authentication was processed.","enum":["american_express","cartes_bancaires","discover","mastercard","visa"]},"fingerprinting_url":{"maxLength":5000,"type":"string","description":"The URL for performing issuer fingerprinting, present if fingerprinting is supported for the given payment method."},"flow_preference":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_flow_preference"},"future_usage":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_future_usage"},"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`."},"message_category":{"type":"string","description":"Indicates whether this 3DS Authentication is being performed for a payment or non-payment use case.","enum":["non_payment_authentication","payment_authentication"]},"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":["three_d_secure.authentication"]},"outcome":{"type":"string","description":"The outcome of this 3DS Authentication.","enum":["abandoned","attempt_acknowledged","authenticated","canceled","denied","informational","internal_error","not_supported","not_triggered","processing_error","rejected"]},"outcome_details":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_outcome_details"},"payment_method":{"description":"ID of the payment method (a PaymentMethod object) to attach to this 3DS Authentication.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"reason":{"type":"string","description":"The reason for invoking this 3DS Authentication.","enum":["cardholder_authentication","issuer_requested","liability_shift","processing_costs","regulatory_compliance"],"x-stripeEnum":{"kind":"open","values":[{"description":"The authentication is performed to attempt to require the cardholder to actively complete a challenge.","value":"cardholder_authentication"},{"description":"The authentication is performed when the issuer soft declines the transaction. This option should be used when you have tried authorization without 3DS authentication and the bank responded in a soft decline. Stripe will then trigger 3DS, post which you can retry authorization with the issuer.","value":"issuer_requested"},{"description":"The authentication is performed to try to shift liability away from the merchant and onto the issuer to reduce the cost implications from disputes.\n\n**Note**: If you don't select `liability_shift` as your reason, the 3DS flow won't prioritize liability shift as a desired outcome. And even when `liability_shift` is selected, liability shift is not guaranteed, since that decision is made by the network and not Stripe([source](/payments/3d-secure/authentication-flow#disputed-payments)).","value":"liability_shift"},{"description":"The authentication is performed to optimize payments processing cost.","value":"processing_costs"},{"description":"The authentication is performed solely to enable compliance with local regulations such as SCA (Strong Customer Authentication). Use this option when your sole requirement is compliance with local regulations, such as SCA or other 3DS-related mandates. The authentication will be performed only as necessary for compliance purposes.\n\n**Note:** This `reason` parameter value will always apply even when you do not choose this value explicitly.","value":"regulatory_compliance"}]}},"shipping_address":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_shipping_address"},"status":{"type":"string","description":"Status of this Authentication.","enum":["canceled","error","failed","requires_challenge","requires_submission","succeeded"],"x-stripeBypassValidation":true}},"description":"The Standalone 3DS API allows you to run EMV 3D Secure (3DS) authentication using Stripe while authorizing the payment with any PSP.\n\nRelated guide: [Standalone 3DS](/payments/3d-secure/standalone-3d-secure)","x-expandableFields":["acquirer_details","channel","flow_preference","future_usage","outcome_details","payment_method","shipping_address"],"x-resourceId":"three_d_secure.authentication","x-stableId":"standalone_3d_secure_authentication","x-stripeMostCommon":["acquirer_details","amount","channel","currency","directory_server","flow_preference","future_usage","id","message_category","metadata","object","payment_method","reason","shipping_address","status"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/three_d_secure/authentications"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/three_d_secure/authentications/{authentication}"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/three_d_secure/authentications"},{"method_name":"cancel","method_on":"service","method_type":"custom","operation":"post","path":"/v1/three_d_secure/authentications/{authentication}/cancel"},{"method_name":"submit","method_on":"service","method_type":"custom","operation":"post","path":"/v1/three_d_secure/authentications/{authentication}/submit"}],"x-stripeResource":{"class_name":"Authentication","has_collection_class":true,"in_package":"ThreeDSecure"}},"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","data_share_only","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","data_share_only","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_standalone_resource_acquirer_details":{"title":"Acquirer Detail","type":"object","properties":{"acquirer_bin":{"maxLength":5000,"type":"string","description":"The Acquirer BIN (specific to the directory_server)."},"acquirer_country":{"maxLength":5000,"type":"string","description":"The two-letter country code of the acquirer ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"acquirer_merchant_id":{"maxLength":5000,"type":"string","description":"The Merchant ID (or Card Acceptor ID) that your acquirer assigned you (specific to the directory_server)."},"mcc":{"maxLength":5000,"type":"string","description":"The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) as defined by each payment system or directory server."},"merchant_name":{"maxLength":5000,"type":"string","description":"The merchant name assigned by the acquirer or payment system. Same name used in the authorization message as defined in [ISO 8583](https://en.wikipedia.org/wiki/ISO_8583)."},"requestor_id":{"maxLength":5000,"type":"string","description":"Requestor ID if you’re enrolled in the card network’s 3DS program. Otherwise, you can omit this field because Stripe assigns a Requestor ID with the card networks."}},"description":"Contains additional details about the acquirer for a 3DS Authentication.","x-expandableFields":[],"x-stripeMostCommon":["acquirer_bin","acquirer_country","acquirer_merchant_id","mcc","merchant_name","requestor_id"]},"three_d_secure_standalone_resource_browser_details":{"title":"BrowserDetailsResource","required":["accept_header","ip_address","javascript_enabled","language","user_agent"],"type":"object","properties":{"accept_header":{"maxLength":5000,"type":"string","description":"The HTTP accept headers from the cardholder's browser."},"color_depth":{"type":"integer","description":"The color depth of the cardholder’s screen."},"ip_address":{"maxLength":5000,"type":"string","description":"The IP address of the browser."},"java_enabled":{"type":"boolean","description":"The cardholder browser’s ability to execute Java."},"javascript_enabled":{"type":"boolean","description":"The cardholder browser’s ability to execute JavaScript."},"language":{"maxLength":5000,"type":"string","description":"An IETF BCP 47 language tag representing the browser language."},"screen_height":{"type":"integer","description":"The total height of the cardholder’s screen in pixels."},"screen_width":{"type":"integer","description":"The total width of the cardholder’s screen in pixels."},"timezone_offset":{"type":"integer","description":"The time difference between UTC time and the local time of the cardholder’s browser, in minutes."},"user_agent":{"maxLength":5000,"type":"string","description":"The browser user agent."}},"description":"Contains details on the browser for a standalone 3DS Authentication.","x-expandableFields":[],"x-stripeMostCommon":["accept_header","color_depth","ip_address","java_enabled","javascript_enabled","language","screen_height","screen_width","timezone_offset","user_agent"]},"three_d_secure_standalone_resource_cartes_bancaires":{"title":"CartesBancairesResource","required":["avalgo","cb_exemption","cb_score"],"type":"object","properties":{"avalgo":{"maxLength":5000,"type":"string","description":"The cryptogram calculation algorithm used by the card Issuer's ACS to calculate the Authentication cryptogram. Also known as cavvAlgorithm. ARes/RReq messageExtension: `CB-AVALGO`"},"cb_exemption":{"maxLength":5000,"type":"string","description":"The exemption indicator returned from Cartes Bancaires in the ARes. This is a 3 byte bitmap (lowest significant byte first and most significant bit first) that has been Base64 encoded. String (4 characters). ARes message extension: `CB-EXEMPTION`","nullable":true},"cb_score":{"maxLength":5000,"type":"string","description":"The risk score returned from Cartes Bancaires in the ARes. Numeric value 0-99. ARes/RReq message extension: `CB-SCORE`","nullable":true}},"description":"Contains details for Cartes Bancaires specific fields in the authentication outcomes.","x-expandableFields":[],"x-stripeMostCommon":["avalgo","cb_exemption","cb_score"]},"three_d_secure_standalone_resource_challenge_details":{"title":"ChallengeDetailsResource","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of challenge flow you requested for this 3DS Authentication.","enum":["mandated","preferred"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"three_d_secure_standalone_resource_channel":{"title":"ChannelResource","required":["type"],"type":"object","properties":{"browser":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_browser_details"},"three_r_i":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_three_ri_details"},"type":{"type":"string","description":"Type of channel you would prefer to use for this 3DS Authentication. Only browser.","enum":["browser","three_r_i"]}},"description":"Contains details on the channel used (browser, 3RI) for a standalone 3DS Authentication.","x-expandableFields":["browser","three_r_i"],"x-stripeMostCommon":["browser","three_r_i","type"]},"three_d_secure_standalone_resource_data_share_details":{"title":"DataShareDetailsResource","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of data share flow you requested for this 3DS Authentication.","enum":["ds_specific","emv_standard"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"three_d_secure_standalone_resource_expiry":{"title":"Expiry Detail","required":["type"],"type":"object","properties":{"date":{"maxLength":5000,"type":"string"},"type":{"type":"string","enum":["date","never"]}},"description":"Information about recurring payment expiry","x-expandableFields":[],"x-stripeMostCommon":["date","type"]},"three_d_secure_standalone_resource_flow_preference":{"title":"FlowPreferenceResource","required":["type"],"type":"object","properties":{"challenge":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_challenge_details"},"data_share":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_data_share_details"},"frictionless":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_frictionless_details"},"type":{"type":"string","description":"Type of flow you requested for this 3DS Authentication.","enum":["challenge","data_share","frictionless"]}},"description":"Contains details of the flow preference used for a standalone 3DS Authentication.","x-expandableFields":["challenge","data_share","frictionless"],"x-stripeMostCommon":["challenge","data_share","frictionless","type"]},"three_d_secure_standalone_resource_frictionless_details":{"title":"FrictionlessDetailsResource","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of frictionless flow you requested for this 3DS Authentication.","enum":["low_risk","none"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"three_d_secure_standalone_resource_future_usage":{"title":"Future Usage Detail","required":["type"],"type":"object","properties":{"installment":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_installment"},"recurring":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_recurring"},"type":{"type":"string","description":"The type of future usage declared for this 3DS Authentication.","enum":["card_on_file","installment","recurring"]}},"description":"Contains information about the future authorisations related to this authentication","x-expandableFields":["installment","recurring"],"x-stripeMostCommon":["installment","recurring","type"]},"three_d_secure_standalone_resource_installment":{"title":"Installment Detail","required":["expiry","interval","interval_count","number"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal)."},"expiry":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_expiry"},"interval":{"type":"string","description":"The unit of time for `interval_count`.","enum":["day"]},"interval_count":{"type":"integer","description":"The minimum number of time intervals between authorizations."},"number":{"type":"integer","description":"The maximum number of installments."}},"description":"Details about installment payments","x-expandableFields":["expiry"],"x-stripeMostCommon":["amount","expiry","interval","interval_count","number"]},"three_d_secure_standalone_resource_network_details":{"title":"NetworkDetailsResource","type":"object","properties":{"cartes_bancaires":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_cartes_bancaires"}},"description":"Contains details specific to the individual network.","x-expandableFields":["cartes_bancaires"],"x-stripeMostCommon":["cartes_bancaires"]},"three_d_secure_standalone_resource_outcome_details":{"title":"OutcomeDetailsResource","required":["protocol_version","three_ds_server_transaction_id"],"type":"object","properties":{"acs_transaction_id":{"maxLength":5000,"type":"string","description":"Universally unique transaction identifier assigned by the issuer to identify the transaction."},"ares":{"maxLength":5000,"type":"string","description":"The Authentication Response Message (ARes) is the issuer's response to the AReq message."},"ares_trans_status":{"type":"string","description":"TransStatus field on the ARes","enum":["A","C","D","I","N","R","S","U","Y"]},"cryptogram":{"maxLength":5000,"type":"string","description":"A 28-character Base64 string proving that 3DS was completed. Store this value securely, and don’t reuse it for multiple authorizations."},"ds_transaction_id":{"maxLength":5000,"type":"string","description":"The 3DS2 Directory Server Transaction ID."},"eci":{"maxLength":5000,"type":"string","description":"Electronic Commerce Indicator provided by the issuer to indicate the result of this 3DS Authentication."},"network_details":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_network_details"},"protocol_version":{"type":"string","description":"The 3DS protocol version used for this 3DS Authentication.","enum":["2.1.0","2.2.0","2.3.1"],"x-stripeEnum":{"kind":"open","values":[{"value":"2.1.0"},{"value":"2.2.0"},{"value":"2.3.1"}]}},"requestor_challenge_indicator":{"type":"string","description":"The indicator provided to the issuer by Stripe in the AReq that indicates whether a challenge is requested for this Authentication. This indicator should match the flow_preference you specified but may be overridden (for compliance reasons for example).","enum":["01","02","03","04","05","06"]},"rreq":{"maxLength":5000,"type":"string","description":"The Results Request Message (RReq) communicates the results of the authentication or verification."},"rreq_trans_status":{"type":"string","description":"TransStatus field on the RReq","enum":["A","C","D","I","N","R","S","U","Y"]},"three_ds_server_transaction_id":{"maxLength":5000,"type":"string","description":"Universally unique transaction identifier assigned by Stripe to identify the transaction."}},"description":"Contains details on the result for a standalone 3DS Authentication.","x-expandableFields":["network_details"],"x-stripeMostCommon":["acs_transaction_id","ares","ares_trans_status","cryptogram","ds_transaction_id","eci","network_details","protocol_version","requestor_challenge_indicator","rreq","rreq_trans_status","three_ds_server_transaction_id"]},"three_d_secure_standalone_resource_recurring":{"title":"Recurring Detail","required":["expiry","interval","interval_count"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal)."},"expiry":{"$ref":"#/components/schemas/three_d_secure_standalone_resource_expiry"},"interval":{"type":"string","description":"The unit of time for `interval_count`.","enum":["day"]},"interval_count":{"type":"integer","description":"The minimum number of time intervals between authorizations."}},"description":"Details about recurring payments","x-expandableFields":["expiry"],"x-stripeMostCommon":["amount","expiry","interval","interval_count"]},"three_d_secure_standalone_resource_shipping_address":{"title":"Shipping 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":"Contains details about the shipping address for a 3DS Authentication.","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"three_d_secure_standalone_resource_three_ri_details":{"title":"ThreeRIDetailsResource","required":["previous_authentication","type"],"type":"object","properties":{"previous_authentication":{"maxLength":5000,"type":"string","description":"ID of the previous initial authenticated 3DS Authentication object."},"type":{"type":"string","description":"Type of the 3RI Authentication.","enum":["delayed_shipment","other_payment","recurring","split_shipment"]}},"description":"Contains details for a 3RI standalone 3DS Authentication.","x-expandableFields":[],"x-stripeMostCommon":["previous_authentication","type"]},"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":"Usage threshold alert configuration","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-stableId":"usage_threshold","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"]},"redaction":{"description":"Redaction status of this token. If not null, this token is associated to a redaction job.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/token_api_resource_redaction"}]},"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","redaction"],"x-resourceId":"token","x-stableId":"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_api_resource_redaction":{"title":"TokenAPIResourceRedaction","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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"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":"Top-up","required":["amount","balance_transaction","created","currency","description","expected_availability_date","failure_code","failure_message","id","initiated_by","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."},"initiated_by":{"type":"string","description":"Indicates whether the top-up was initiated by Stripe or by the user.","nullable":true,"enum":["stripe","user"],"x-stripeEnum":{"kind":"open","values":[{"description":"The top-up was initiated by Stripe.","value":"stripe"},{"description":"The top-up was initiated by the user.","value":"user"}]}},"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"]},"payment_method":{"description":"The ID of a PaymentMethod representing the payment method used for the top-up. A PaymentMethod of type `us_bank_account` can be used.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"payment_method_options":{"description":"Payment-method-specific configuration for this top-up.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/topup_resource_payment_method_options"}]},"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","payment_method","payment_method_options","source"],"x-resourceId":"topup","x-stableId":"connect_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"}},"topup_resource_payment_method_options":{"title":"TopupResourcePaymentMethodOptions","required":["us_bank_account"],"type":"object","properties":{"us_bank_account":{"description":"If this top-up is to be used with a `us_bank_account` payment method, this sub-hash contains configuration for it.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/topup_resource_us_bank_account"}]}},"description":"","x-expandableFields":["us_bank_account"],"x-stripeMostCommon":["us_bank_account"]},"topup_resource_us_bank_account":{"title":"TopupResourceUSBankAccount","required":["network"],"type":"object","properties":{"network":{"type":"string","description":"The US bank transfer network used for this top-up. The default is `ach`.","enum":["ach"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["network"]},"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"}]}},"fx_quote":{"maxLength":5000,"type":"string","description":"The FX Quote used for the transfer."},"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://docs.stripe.com/api#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-stableId":"connect_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)."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the transfer. Often useful for displaying to users."},"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"}]}},"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_data":{"$ref":"#/components/schemas/payment_data"}},"description":"","x-expandableFields":["destination","payment_data"],"x-stripeMostCommon":["amount","description","destination","metadata","payment_data"]},"transfer_reversal":{"title":"Transfer Reversal","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-stableId":"connect_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":"CreditReversal","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://docs.stripe.com/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.","x-expandableFields":["status_transitions","transaction"],"x-resourceId":"treasury.credit_reversal","x-stableId":"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 a 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 a CreditReversal post is posted.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.credit_reversal.posted"}},"treasury.debit_reversal":{"title":"DebitReversal","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://docs.stripe.com/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.","x-expandableFields":["linked_flows","status_transitions","transaction"],"x-resourceId":"treasury.debit_reversal","x-stableId":"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":"FinancialAccount","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"},"display_name":{"maxLength":5000,"type":"string","description":"The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.","nullable":true},"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 for Platforms 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 for Platform’s money movement APIs.","x-expandableFields":["balance","features","financial_addresses","platform_restrictions","status_details"],"x-resourceId":"treasury.financial_account","x-stableId":"treasury_financial_account","x-stripeMostCommon":["active_features","balance","country","created","display_name","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":"FinancialAccount Feature","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-stableId":"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":"InboundTransfer","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. Will be set when `status=failed` or `returned=true`.","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://docs.stripe.com/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.\n\nRelated guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers)","x-expandableFields":["failure_details","linked_flows","origin_payment_method_details","status_transitions","transaction"],"x-resourceId":"treasury.inbound_transfer","x-stableId":"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":"Outbound Payment","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"]},"purpose":{"type":"string","description":"The purpose of the OutboundPayment, if applicable.","nullable":true,"enum":["payroll"],"x-stripeEnum":{"kind":"open","values":[{"description":"The purpose of the OutboundPayment is payroll.","value":"payroll"}]}},"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://docs.stripe.com/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://docs.stripe.com/api#outbound_transfers).\n\nSimulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.\n\nRelated guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments)","x-expandableFields":["destination_payment_method_details","end_user_details","returned_details","status_transitions","tracking_details","transaction"],"x-resourceId":"treasury.outbound_payment","x-stableId":"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","purpose","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":"OutboundTransfer","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."},"network_details":{"description":"Details about the network used for the OutboundTransfer.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_outbound_transfers_resource_network_details"}]},"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://docs.stripe.com/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://docs.stripe.com/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.\n\nSimulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.\n\nRelated guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers)","x-expandableFields":["destination_payment_method_details","network_details","returned_details","status_transitions","tracking_details","transaction"],"x-resourceId":"treasury.outbound_transfer","x-stableId":"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","network_details","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":"ReceivedCredit","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","rtp","stripe","us_domestic_wire"],"x-stripeBypassValidation":true},"network_details":{"description":"Details specific to the money movement rails.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_received_credits_resource_network_details"}]},"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://docs.stripe.com/api#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","network_details","reversal_details","transaction"],"x-resourceId":"treasury.received_credit","x-stableId":"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","network_details","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":"ReceivedDebit","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},"network_details":{"description":"Details specific to the money movement rails.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_received_debits_resource_network_details"}]},"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://docs.stripe.com/api#financial_accounts). These are not initiated from the FinancialAccount.","x-expandableFields":["initiating_payment_method_details","linked_flows","network_details","reversal_details","transaction"],"x-resourceId":"treasury.received_debit","x-stableId":"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","network_details","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":"Transaction","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://docs.stripe.com/api#financial_accounts) balance.","x-expandableFields":["balance_impact","entries","flow_details","status_transitions"],"x-resourceId":"treasury.transaction","x-stableId":"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":"TransactionEntry","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://docs.stripe.com/api#transactions).","x-expandableFields":["balance_impact","flow_details","transaction"],"x-resourceId":"treasury.transaction_entry","x-stableId":"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":"ABARecord","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":{"bank":{"type":"string","description":"Requested bank partner for this Financial Account","enum":["evolve","fifth_third","goldman_sachs"]},"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":["bank","requested","status","status_details"],"x-stripeResource":{"class_name":"AbaToggleSettings","in_package":""}},"treasury_financial_accounts_resource_balance":{"title":"BalanceResource","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":"FinancialAddress","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","rtp","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":"FinancialAddressesFeaturesResource","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":"InboundTransfer","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":"OutboundPaymentsResource","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":"OutboundTransfer","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":"FinancialAccountPlatformRestriction","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":"StatusDetailsResource","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_network_details":{"title":"TreasuryOutboundTransfersResourceACHNetworkDetails","required":["addenda"],"type":"object","properties":{"addenda":{"maxLength":5000,"type":"string","description":"ACH Addenda record","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["addenda"]},"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_network_details":{"title":"TreasuryOutboundTransfersResourceNetworkDetails","required":["type"],"type":"object","properties":{"ach":{"description":"Details about an ACH transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_outbound_transfers_resource_ach_network_details"}]},"type":{"type":"string","description":"The type of flow that originated the OutboundTransfer.","enum":["ach"]}},"description":"","x-expandableFields":["ach"],"x-stripeMostCommon":["ach","type"],"x-stripeResource":{"class_name":"NetworkDetails","in_package":""}},"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_ach_network_details":{"title":"TreasuryReceivedCreditsResourceACHNetworkDetails","required":["addenda"],"type":"object","properties":{"addenda":{"maxLength":5000,"type":"string","description":"ACH Addenda record","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["addenda"]},"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://docs.stripe.com/api#issuing_authorizations) object.","nullable":true},"issuing_transaction":{"maxLength":5000,"type":"string","description":"Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://docs.stripe.com/api#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_network_details":{"title":"TreasuryReceivedCreditsResourceNetworkDetails","required":["type"],"type":"object","properties":{"ach":{"description":"Details about an ACH transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_received_credits_resource_ach_network_details"}]},"type":{"type":"string","description":"The type of flow that originated the ReceivedCredit.","enum":["ach"]}},"description":"","x-expandableFields":["ach"],"x-stripeMostCommon":["ach","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_ach_network_details":{"title":"TreasuryReceivedDebitsResourceACHNetworkDetails","required":["addenda"],"type":"object","properties":{"addenda":{"maxLength":5000,"type":"string","description":"ACH Addenda record","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["addenda"]},"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://docs.stripe.com/api#issuing_authorizations) object.","nullable":true},"issuing_transaction":{"maxLength":5000,"type":"string","description":"Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://docs.stripe.com/api#issuing_disputes) object.","nullable":true},"payout":{"maxLength":5000,"type":"string","description":"Set if the ReceivedDebit was created due to a [Payout](https://docs.stripe.com/api#payouts) object.","nullable":true},"received_credit_capital_withholding":{"maxLength":5000,"type":"string","description":"The ReceivedCredit that Capital withheld from","nullable":true},"topup":{"maxLength":5000,"type":"string","description":"Set if the ReceivedDebit was created due to a [Topup](https://docs.stripe.com/api#topups) object.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["debit_reversal","inbound_transfer","issuing_authorization","issuing_transaction","payout","received_credit_capital_withholding","topup"]},"treasury_received_debits_resource_network_details":{"title":"TreasuryReceivedDebitsResourceNetworkDetails","required":["type"],"type":"object","properties":{"ach":{"description":"Details about an ACH transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_received_debits_resource_ach_network_details"}]},"type":{"type":"string","description":"The type of flow that originated the ReceivedDebit.","enum":["ach"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["ach"],"x-stripeMostCommon":["ach","type"]},"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://docs.stripe.com/api#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":"BalanceImpactResource","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"]},"usage_details":{"title":"usage_details","required":["amount_captured"],"type":"object","properties":{"amount_captured":{"description":"The total amount captured using this SharedPaymentToken.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shared_payment_tokens_amount"}]}},"description":"Some details on how the SharedPaymentGrantedToken has been used so far.","x-expandableFields":["amount_captured"],"x-stripeMostCommon":["amount_captured"]},"usage_limits":{"title":"usage_limits","required":["currency","expires_at","max_amount"],"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)."},"expires_at":{"type":"integer","description":"Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.","format":"unix-time","nullable":true},"max_amount":{"type":"integer","description":"Max amount that can be captured using this SharedPaymentToken."}},"description":"Limits on how this SharedPaymentGrantedToken can be used.","x-expandableFields":[],"x-stripeMostCommon":["currency","expires_at","max_amount"]},"v1.account.application.authorized":{"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":{"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.account.application.authorized"]}},"description":"Occurs whenever a user authorizes an application. Sent to the related application only.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.account.application.authorized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.account.application.authorized","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.account.application.authorized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.account.application.authorized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.account.application.authorized"}},"v1.account.application.deauthorized":{"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":{"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.account.application.deauthorized"]}},"description":"Occurs whenever a user deauthorizes an application. Sent to the related application only.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.account.application.deauthorized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.account.application.deauthorized","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.account.application.deauthorized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.account.application.deauthorized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.account.application.deauthorized"}},"v1.account.external_account.created":{"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":{"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.account.external_account.created"]}},"description":"Occurs whenever an external account is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ba_1MtGwL2eZvKYlo2CQm7LmEOI","type":"bank_account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK/external_accounts/ba_1MtGwL2eZvKYlo2CQm7LmEOI"},"type":"v1.account.external_account.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.account.external_account.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ba_1MtGwL2eZvKYlo2CQm7LmEOI","type":"bank_account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK/external_accounts/ba_1MtGwL2eZvKYlo2CQm7LmEOI"},"type":"v1.account.external_account.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ba_1MtGwL2eZvKYlo2CQm7LmEOI","type":"bank_account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK/external_accounts/ba_1MtGwL2eZvKYlo2CQm7LmEOI"},"type":"v1.account.external_account.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.account.external_account.created"}},"v1.account.external_account.deleted":{"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":{"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.account.external_account.deleted"]}},"description":"Occurs whenever an external account is deleted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ba_1MtGwL2eZvKYlo2CQm7LmEOI","type":"bank_account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK/external_accounts/ba_1MtGwL2eZvKYlo2CQm7LmEOI"},"type":"v1.account.external_account.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.account.external_account.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ba_1MtGwL2eZvKYlo2CQm7LmEOI","type":"bank_account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK/external_accounts/ba_1MtGwL2eZvKYlo2CQm7LmEOI"},"type":"v1.account.external_account.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ba_1MtGwL2eZvKYlo2CQm7LmEOI","type":"bank_account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK/external_accounts/ba_1MtGwL2eZvKYlo2CQm7LmEOI"},"type":"v1.account.external_account.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.account.external_account.deleted"}},"v1.account.external_account.updated":{"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":{"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.account.external_account.updated"]}},"description":"Occurs whenever an external account is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ba_1MtGwL2eZvKYlo2CQm7LmEOI","type":"bank_account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK/external_accounts/ba_1MtGwL2eZvKYlo2CQm7LmEOI"},"type":"v1.account.external_account.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.account.external_account.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ba_1MtGwL2eZvKYlo2CQm7LmEOI","type":"bank_account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK/external_accounts/ba_1MtGwL2eZvKYlo2CQm7LmEOI"},"type":"v1.account.external_account.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ba_1MtGwL2eZvKYlo2CQm7LmEOI","type":"bank_account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK/external_accounts/ba_1MtGwL2eZvKYlo2CQm7LmEOI"},"type":"v1.account.external_account.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.account.external_account.updated"}},"v1.account.updated":{"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":{"kind":"open","values":[{"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":["account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.account.updated"]}},"description":"Occurs whenever an account status or property has changed.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"acct_1Nv0FGQ9RKHgCVdK","type":"account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK"},"type":"v1.account.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.account.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"acct_1Nv0FGQ9RKHgCVdK","type":"account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK"},"type":"v1.account.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"acct_1Nv0FGQ9RKHgCVdK","type":"account","url":"/v1/accounts/acct_1Nv0FGQ9RKHgCVdK"},"type":"v1.account.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.account.updated"}},"v1.application_fee.created":{"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":{"kind":"open","values":[{"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":["application_fee"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.application_fee.created"]}},"description":"Occurs whenever an application fee is created on a charge.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fee_1B73DOKbnvuxQXGuhY8Aw0TN","type":"application_fee","url":"/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN"},"type":"v1.application_fee.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.application_fee.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fee_1B73DOKbnvuxQXGuhY8Aw0TN","type":"application_fee","url":"/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN"},"type":"v1.application_fee.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fee_1B73DOKbnvuxQXGuhY8Aw0TN","type":"application_fee","url":"/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN"},"type":"v1.application_fee.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.application_fee.created"}},"v1.application_fee.refund.updated":{"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":{"kind":"open","values":[{"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":["fee_refund"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.application_fee.refund.updated"]}},"description":"Occurs whenever an application fee refund is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fr_1Nispe2eZvKYlo2Cd31jOCgZ","type":"fee_refund","url":"/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN/refunds/fr_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.application_fee.refund.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.application_fee.refund.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fr_1Nispe2eZvKYlo2Cd31jOCgZ","type":"fee_refund","url":"/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN/refunds/fr_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.application_fee.refund.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fr_1Nispe2eZvKYlo2Cd31jOCgZ","type":"fee_refund","url":"/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN/refunds/fr_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.application_fee.refund.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.application_fee.refund.updated"}},"v1.application_fee.refunded":{"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":{"kind":"open","values":[{"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":["application_fee"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.application_fee.refunded"]}},"description":"Occurs whenever an application fee is refunded, whether from refunding a charge or from [refunding the application fee directly](#fee_refunds). This includes partial refunds.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fee_1B73DOKbnvuxQXGuhY8Aw0TN","type":"application_fee","url":"/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN"},"type":"v1.application_fee.refunded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.application_fee.refunded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fee_1B73DOKbnvuxQXGuhY8Aw0TN","type":"application_fee","url":"/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN"},"type":"v1.application_fee.refunded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fee_1B73DOKbnvuxQXGuhY8Aw0TN","type":"application_fee","url":"/v1/application_fees/fee_1B73DOKbnvuxQXGuhY8Aw0TN"},"type":"v1.application_fee.refunded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.application_fee.refunded"}},"v1.balance.available":{"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":{"kind":"open","values":[{"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.","nullable":true},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["balance"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.balance.available"]}},"description":"Occurs whenever your Stripe balance has been updated (e.g., when a charge is available to be paid out). By default, Stripe automatically transfers funds in your balance to your bank account on a daily basis. This event is not fired for negative transactions.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"balance","url":"/v1/balance"},"type":"v1.balance.available","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.balance.available","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"balance","url":"/v1/balance"},"type":"v1.balance.available","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"balance","url":"/v1/balance"},"type":"v1.balance.available","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.balance.available"}},"v1.balance_settings.updated":{"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":{"kind":"open","values":[{"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.","nullable":true},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["balance_settings"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.balance_settings.updated"]}},"description":"Occurs whenever a balance settings status or property has changed.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"balance_settings","url":"/v1/balance_settings"},"type":"v1.balance_settings.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.balance_settings.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"balance_settings","url":"/v1/balance_settings"},"type":"v1.balance_settings.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"balance_settings","url":"/v1/balance_settings"},"type":"v1.balance_settings.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.balance_settings.updated"}},"v1.billing.alert.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":{"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":{"kind":"open","values":[{"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.alert"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.alert.triggered"]}},"description":"Occurs whenever your custom alert threshold is met.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"alrt_1MowQVLkdIwHu7ixeRlqHVzs","type":"billing.alert","url":"/v1/billing/alerts/alrt_1MowQVLkdIwHu7ixeRlqHVzs"},"type":"v1.billing.alert.triggered","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing.alert.triggered","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"alrt_1MowQVLkdIwHu7ixeRlqHVzs","type":"billing.alert","url":"/v1/billing/alerts/alrt_1MowQVLkdIwHu7ixeRlqHVzs"},"type":"v1.billing.alert.triggered","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"alrt_1MowQVLkdIwHu7ixeRlqHVzs","type":"billing.alert","url":"/v1/billing/alerts/alrt_1MowQVLkdIwHu7ixeRlqHVzs"},"type":"v1.billing.alert.triggered","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.alert.triggered"}},"v1.billing.credit_balance_transaction.created":{"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":{"kind":"open","values":[{"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.credit_balance_transaction"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.credit_balance_transaction.created"]}},"description":"Occurs when a credit balance transaction is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cbtxn_test_61R9ZljjaFmdidb6e41L6nFOS1ekD9Ue","type":"billing.credit_balance_transaction","url":"/v1/billing/credit_balance_transactions/cbtxn_test_61R9ZljjaFmdidb6e41L6nFOS1ekD9Ue"},"type":"v1.billing.credit_balance_transaction.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing.credit_balance_transaction.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cbtxn_test_61R9ZljjaFmdidb6e41L6nFOS1ekD9Ue","type":"billing.credit_balance_transaction","url":"/v1/billing/credit_balance_transactions/cbtxn_test_61R9ZljjaFmdidb6e41L6nFOS1ekD9Ue"},"type":"v1.billing.credit_balance_transaction.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cbtxn_test_61R9ZljjaFmdidb6e41L6nFOS1ekD9Ue","type":"billing.credit_balance_transaction","url":"/v1/billing/credit_balance_transactions/cbtxn_test_61R9ZljjaFmdidb6e41L6nFOS1ekD9Ue"},"type":"v1.billing.credit_balance_transaction.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.credit_balance_transaction.created"}},"v1.billing.credit_grant.created":{"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":{"kind":"open","values":[{"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.credit_grant"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.credit_grant.created"]}},"description":"Occurs when a credit grant is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"crgr_1MowQVLkdIwHu7ixeRlqHVzs","type":"billing.credit_grant","url":"/v1/billing/credit_grants/crgr_1MowQVLkdIwHu7ixeRlqHVzs"},"type":"v1.billing.credit_grant.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing.credit_grant.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"crgr_1MowQVLkdIwHu7ixeRlqHVzs","type":"billing.credit_grant","url":"/v1/billing/credit_grants/crgr_1MowQVLkdIwHu7ixeRlqHVzs"},"type":"v1.billing.credit_grant.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"crgr_1MowQVLkdIwHu7ixeRlqHVzs","type":"billing.credit_grant","url":"/v1/billing/credit_grants/crgr_1MowQVLkdIwHu7ixeRlqHVzs"},"type":"v1.billing.credit_grant.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.credit_grant.created"}},"v1.billing.credit_grant.updated":{"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":{"kind":"open","values":[{"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.credit_grant"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.credit_grant.updated"]}},"description":"Occurs when a credit grant is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"credgr_test_61R9a6NUWsRmOW3RM41L6nFOS1ekDGHo","type":"billing.credit_grant","url":"/v1/billing/credit_grants/credgr_test_61R9a6NUWsRmOW3RM41L6nFOS1ekDGHo"},"type":"v1.billing.credit_grant.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing.credit_grant.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"credgr_test_61R9a6NUWsRmOW3RM41L6nFOS1ekDGHo","type":"billing.credit_grant","url":"/v1/billing/credit_grants/credgr_test_61R9a6NUWsRmOW3RM41L6nFOS1ekDGHo"},"type":"v1.billing.credit_grant.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"credgr_test_61R9a6NUWsRmOW3RM41L6nFOS1ekDGHo","type":"billing.credit_grant","url":"/v1/billing/credit_grants/credgr_test_61R9a6NUWsRmOW3RM41L6nFOS1ekDGHo"},"type":"v1.billing.credit_grant.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.credit_grant.updated"}},"v1.billing.meter.created":{"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.meter.created"]}},"description":"Occurs when a meter is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing.meter.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.meter.created"}},"v1.billing.meter.deactivated":{"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.meter.deactivated"]}},"description":"Occurs when a meter is deactivated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.deactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing.meter.deactivated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.deactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.deactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.meter.deactivated"}},"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","meter_event_value_too_many_digits","missing_dimension_payload_keys","no_meter","timestamp_in_future","timestamp_too_far_in_past"],"x-stripeEnum":{"kind":"open","values":[{"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: meter_event_value_too_many_digits.","value":"meter_event_value_too_many_digits"},{"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"context":null,"created":"2024-08-28T20:54:12.051Z","id":"evt_test_65R2GpwDsnmpzihMjdT16R2GDhI4SQdXJGRbvn7JA8mPEm","object":"v2.core.event","reason":null,"related_object":{"id":"mtr_test_61R2GlpFXJ4R3L5DN41Fb82guyGVEUmO","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61R2GlpFXJ4R3L5DN41Fb82guyGVEUmO"},"type":"v1.billing.meter.error_report_triggered","livemode":false,"changes":{},"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":"37c741d8-1f7e-4adc-af16-afdca1d73b37"}}]}]},"validation_end":"2024-08-28T20:54:10.000Z","validation_start":"2024-08-28T20:54:00.000Z"}},"x-stableId":"v1.billing.meter.error_report_triggered","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2024-08-28T20:54:12.051Z","id":"evt_test_65R2GpwDsnmpzihMjdT16R2GDhI4SQdXJGRbvn7JA8mPEm","object":"v2.core.event","reason":null,"related_object":{"id":"mtr_test_61R2GlpFXJ4R3L5DN41Fb82guyGVEUmO","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61R2GlpFXJ4R3L5DN41Fb82guyGVEUmO"},"type":"v1.billing.meter.error_report_triggered","livemode":false},"response":{"context":null,"created":"2024-08-28T20:54:12.051Z","id":"evt_test_65R2GpwDsnmpzihMjdT16R2GDhI4SQdXJGRbvn7JA8mPEm","object":"v2.core.event","reason":null,"related_object":{"id":"mtr_test_61R2GlpFXJ4R3L5DN41Fb82guyGVEUmO","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61R2GlpFXJ4R3L5DN41Fb82guyGVEUmO"},"type":"v1.billing.meter.error_report_triggered","livemode":false,"changes":{},"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":"37c741d8-1f7e-4adc-af16-afdca1d73b37"}}]}]},"validation_end":"2024-08-28T20:54:10.000Z","validation_start":"2024-08-28T20:54: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","meter_event_value_too_many_digits","missing_dimension_payload_keys","no_meter","timestamp_in_future","timestamp_too_far_in_past"],"x-stripeEnum":{"kind":"open","values":[{"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: meter_event_value_too_many_digits.","value":"meter_event_value_too_many_digits"},{"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"context":null,"created":"2024-10-01T20:42:52.203Z","id":"evt_test_61REarcdWIsXleUiz16REahOMTSQbAhSD0fdnF9JAUdk","object":"v2.core.event","reason":null,"related_object":{},"type":"v1.billing.meter.no_meter_found","livemode":false,"changes":{},"data":{"developer_message_summary":"There is 1 invalid event","reason":{"error_count":1,"error_types":[{"code":"no_meter","error_count":1,"sample_errors":[{"error_message":"No meter was found matching event_name d2aa8cb3-3f00-44a4-b98f-3fbd1d0e93b1.","request":{"identifier":"df5d4002-515b-4090-8fe2-a1b1f6f5b945"}}]}]},"validation_end":"2024-10-01T20:42:50.000Z","validation_start":"2024-10-01T20:42:40.000Z"}},"x-stableId":"v1.billing.meter.no_meter_found","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2024-10-01T20:42:52.203Z","id":"evt_test_61REarcdWIsXleUiz16REahOMTSQbAhSD0fdnF9JAUdk","object":"v2.core.event","reason":null,"related_object":{},"type":"v1.billing.meter.no_meter_found","livemode":false},"response":{"context":null,"created":"2024-10-01T20:42:52.203Z","id":"evt_test_61REarcdWIsXleUiz16REahOMTSQbAhSD0fdnF9JAUdk","object":"v2.core.event","reason":null,"related_object":{},"type":"v1.billing.meter.no_meter_found","livemode":false,"changes":{},"data":{"developer_message_summary":"There is 1 invalid event","reason":{"error_count":1,"error_types":[{"code":"no_meter","error_count":1,"sample_errors":[{"error_message":"No meter was found matching event_name d2aa8cb3-3f00-44a4-b98f-3fbd1d0e93b1.","request":{"identifier":"df5d4002-515b-4090-8fe2-a1b1f6f5b945"}}]}]},"validation_end":"2024-10-01T20:42:50.000Z","validation_start":"2024-10-01T20:42:40.000Z"}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.meter.no_meter_found"}},"v1.billing.meter.reactivated":{"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.meter.reactivated"]}},"description":"Occurs when a meter is reactivated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.reactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing.meter.reactivated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.reactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.reactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.meter.reactivated"}},"v1.billing.meter.updated":{"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.meter.updated"]}},"description":"Occurs when a meter is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing.meter.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA"},"type":"v1.billing.meter.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.meter.updated"}},"v1.billing_portal.configuration.created":{"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":{"kind":"open","values":[{"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_portal.configuration"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing_portal.configuration.created"]}},"description":"Occurs whenever a portal configuration is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"bpc_1MrnZsLkdIwHu7ixNiQL1xPM","type":"billing_portal.configuration","url":"/v1/billing_portal/configurations/bpc_1MrnZsLkdIwHu7ixNiQL1xPM"},"type":"v1.billing_portal.configuration.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing_portal.configuration.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"bpc_1MrnZsLkdIwHu7ixNiQL1xPM","type":"billing_portal.configuration","url":"/v1/billing_portal/configurations/bpc_1MrnZsLkdIwHu7ixNiQL1xPM"},"type":"v1.billing_portal.configuration.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"bpc_1MrnZsLkdIwHu7ixNiQL1xPM","type":"billing_portal.configuration","url":"/v1/billing_portal/configurations/bpc_1MrnZsLkdIwHu7ixNiQL1xPM"},"type":"v1.billing_portal.configuration.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing_portal.configuration.created"}},"v1.billing_portal.configuration.updated":{"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":{"kind":"open","values":[{"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_portal.configuration"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing_portal.configuration.updated"]}},"description":"Occurs whenever a portal configuration is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"bpc_1MrnZsLkdIwHu7ixNiQL1xPM","type":"billing_portal.configuration","url":"/v1/billing_portal/configurations/bpc_1MrnZsLkdIwHu7ixNiQL1xPM"},"type":"v1.billing_portal.configuration.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing_portal.configuration.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"bpc_1MrnZsLkdIwHu7ixNiQL1xPM","type":"billing_portal.configuration","url":"/v1/billing_portal/configurations/bpc_1MrnZsLkdIwHu7ixNiQL1xPM"},"type":"v1.billing_portal.configuration.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"bpc_1MrnZsLkdIwHu7ixNiQL1xPM","type":"billing_portal.configuration","url":"/v1/billing_portal/configurations/bpc_1MrnZsLkdIwHu7ixNiQL1xPM"},"type":"v1.billing_portal.configuration.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing_portal.configuration.updated"}},"v1.billing_portal.session.created":{"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":{"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing_portal.session.created"]}},"description":"Occurs whenever a portal session is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.billing_portal.session.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.billing_portal.session.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.billing_portal.session.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.billing_portal.session.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing_portal.session.created"}},"v1.capability.updated":{"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":{"kind":"open","values":[{"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":["capability"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.capability.updated"]}},"description":"Occurs whenever a capability has new requirements or a new status.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"card_payments","type":"capability","url":"/v1/account/capabilities/card_payments"},"type":"v1.capability.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.capability.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"card_payments","type":"capability","url":"/v1/account/capabilities/card_payments"},"type":"v1.capability.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"card_payments","type":"capability","url":"/v1/account/capabilities/card_payments"},"type":"v1.capability.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.capability.updated"}},"v1.cash_balance.funds_available":{"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":{"kind":"open","values":[{"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.","nullable":true},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["cash_balance"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.cash_balance.funds_available"]}},"description":"Occurs whenever there is a positive remaining cash balance after Stripe automatically reconciles new funds into the cash balance. If you enabled manual reconciliation, this webhook will fire whenever there are new funds into the cash balance.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"cash_balance","url":"/v1/customers/cus_NffrFeUfNV2Hib/cash_balance"},"type":"v1.cash_balance.funds_available","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.cash_balance.funds_available","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"cash_balance","url":"/v1/customers/cus_NffrFeUfNV2Hib/cash_balance"},"type":"v1.cash_balance.funds_available","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"cash_balance","url":"/v1/customers/cus_NffrFeUfNV2Hib/cash_balance"},"type":"v1.cash_balance.funds_available","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.cash_balance.funds_available"}},"v1.charge.captured":{"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":{"kind":"open","values":[{"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":["charge"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.captured"]}},"description":"Occurs whenever a previously uncaptured charge is captured.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.captured","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.captured","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.captured","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.captured","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.captured"}},"v1.charge.dispute.closed":{"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":{"kind":"open","values":[{"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":["dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.dispute.closed"]}},"description":"Occurs when a dispute is closed and the dispute status changes to `lost`, `warning_closed`, or `won`.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.closed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.dispute.closed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.closed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.closed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.dispute.closed"}},"v1.charge.dispute.created":{"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":{"kind":"open","values":[{"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":["dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.dispute.created"]}},"description":"Occurs whenever a customer disputes a charge with their bank.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.dispute.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.dispute.created"}},"v1.charge.dispute.funds_reinstated":{"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":{"kind":"open","values":[{"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":["dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.dispute.funds_reinstated"]}},"description":"Occurs when funds are reinstated to your account after a dispute is closed. This includes [partially refunded payments](https://docs.stripe.com/disputes#disputes-on-partially-refunded-payments).","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.funds_reinstated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.dispute.funds_reinstated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.funds_reinstated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.funds_reinstated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.dispute.funds_reinstated"}},"v1.charge.dispute.funds_withdrawn":{"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":{"kind":"open","values":[{"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":["dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.dispute.funds_withdrawn"]}},"description":"Occurs when funds are removed from your account due to a dispute.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.funds_withdrawn","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.dispute.funds_withdrawn","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.funds_withdrawn","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.funds_withdrawn","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.dispute.funds_withdrawn"}},"v1.charge.dispute.updated":{"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":{"kind":"open","values":[{"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":["dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.dispute.updated"]}},"description":"Occurs when the dispute is updated (usually with evidence).","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.dispute.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"du_1MtJUT2eZvKYlo2CNaw2HvEv","type":"dispute","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15/dispute"},"type":"v1.charge.dispute.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.dispute.updated"}},"v1.charge.expired":{"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":{"kind":"open","values":[{"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":["charge"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.expired"]}},"description":"Occurs whenever an uncaptured charge expires.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.expired","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.expired","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.expired","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.expired","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.expired"}},"v1.charge.failed":{"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":{"kind":"open","values":[{"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":["charge"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.failed"]}},"description":"Occurs whenever a failed charge attempt occurs.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.failed"}},"v1.charge.pending":{"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":{"kind":"open","values":[{"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":["charge"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.pending"]}},"description":"Occurs whenever a pending charge is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.pending","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.pending","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.pending","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.pending","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.pending"}},"v1.charge.refund.updated":{"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":{"kind":"open","values":[{"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":["refund"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.refund.updated"]}},"description":"Occurs whenever a refund is updated on selected payment methods. For updates on all refunds, listen to `refund.updated` instead.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.charge.refund.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.refund.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.charge.refund.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.charge.refund.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.refund.updated"}},"v1.charge.refunded":{"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":{"kind":"open","values":[{"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":["charge"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.refunded"]}},"description":"Occurs whenever a charge is refunded, including partial refunds. Listen to `refund.created` for information about the refund.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.refunded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.refunded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.refunded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.refunded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.refunded"}},"v1.charge.succeeded":{"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":{"kind":"open","values":[{"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":["charge"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.succeeded"]}},"description":"Occurs whenever a charge is successful.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.succeeded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.succeeded"}},"v1.charge.updated":{"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":{"kind":"open","values":[{"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":["charge"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.charge.updated"]}},"description":"Occurs whenever a charge description or metadata is updated, or upon an asynchronous capture.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.charge.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ch_3MmlLrLkdIwHu7ix0snN0B15","type":"charge","url":"/v1/charges/ch_3MmlLrLkdIwHu7ix0snN0B15"},"type":"v1.charge.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.charge.updated"}},"v1.checkout.session.async_payment_failed":{"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":{"kind":"open","values":[{"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":["checkout.session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.checkout.session.async_payment_failed"]}},"description":"Occurs when a payment intent using a delayed payment method fails.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.async_payment_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.checkout.session.async_payment_failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.async_payment_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.async_payment_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.checkout.session.async_payment_failed"}},"v1.checkout.session.async_payment_succeeded":{"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":{"kind":"open","values":[{"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":["checkout.session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.checkout.session.async_payment_succeeded"]}},"description":"Occurs when a payment intent using a delayed payment method finally succeeds.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.async_payment_succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.checkout.session.async_payment_succeeded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.async_payment_succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.async_payment_succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.checkout.session.async_payment_succeeded"}},"v1.checkout.session.completed":{"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":{"kind":"open","values":[{"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":["checkout.session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.checkout.session.completed"]}},"description":"Occurs when a Checkout Session has been successfully completed.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.completed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.checkout.session.completed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.completed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.completed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.checkout.session.completed"}},"v1.checkout.session.expired":{"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":{"kind":"open","values":[{"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":["checkout.session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.checkout.session.expired"]}},"description":"Occurs when a Checkout Session is expired.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.expired","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.checkout.session.expired","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.expired","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u","type":"checkout.session","url":"/v1/checkout/sessions/cs_test_a11YYufWQzNY63zpQ6QSNRQhkUpVph4WRmzW0zWJO2znZKdVujZ0N0S22u"},"type":"v1.checkout.session.expired","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.checkout.session.expired"}},"v1.climate.order.canceled":{"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":{"kind":"open","values":[{"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":["climate.order"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.climate.order.canceled"]}},"description":"Occurs when a Climate order is canceled.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.climate.order.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.climate.order.canceled"}},"v1.climate.order.created":{"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":{"kind":"open","values":[{"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":["climate.order"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.climate.order.created"]}},"description":"Occurs when a Climate order is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.climate.order.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.climate.order.created"}},"v1.climate.order.delayed":{"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":{"kind":"open","values":[{"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":["climate.order"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.climate.order.delayed"]}},"description":"Occurs when a Climate order is delayed.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.delayed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.climate.order.delayed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.delayed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.delayed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.climate.order.delayed"}},"v1.climate.order.delivered":{"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":{"kind":"open","values":[{"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":["climate.order"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.climate.order.delivered"]}},"description":"Occurs when a Climate order is delivered.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.delivered","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.climate.order.delivered","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.delivered","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.delivered","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.climate.order.delivered"}},"v1.climate.order.product_substituted":{"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":{"kind":"open","values":[{"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":["climate.order"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.climate.order.product_substituted"]}},"description":"Occurs when a Climate order's product is substituted for another.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.product_substituted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.climate.order.product_substituted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.product_substituted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climorder_1aTnU0B63jkB3XAQKUbA5yyl","type":"climate.order","url":"/v1/climate/orders/climorder_1aTnU0B63jkB3XAQKUbA5yyl"},"type":"v1.climate.order.product_substituted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.climate.order.product_substituted"}},"v1.climate.product.created":{"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":{"kind":"open","values":[{"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":["climate.product"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.climate.product.created"]}},"description":"Occurs when a Climate product is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climsku_frontier_offtake_portfolio_2027","type":"climate.product","url":"/v1/climate/products/climsku_frontier_offtake_portfolio_2027"},"type":"v1.climate.product.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.climate.product.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climsku_frontier_offtake_portfolio_2027","type":"climate.product","url":"/v1/climate/products/climsku_frontier_offtake_portfolio_2027"},"type":"v1.climate.product.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climsku_frontier_offtake_portfolio_2027","type":"climate.product","url":"/v1/climate/products/climsku_frontier_offtake_portfolio_2027"},"type":"v1.climate.product.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.climate.product.created"}},"v1.climate.product.pricing_updated":{"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":{"kind":"open","values":[{"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":["climate.product"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.climate.product.pricing_updated"]}},"description":"Occurs when a Climate product is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climsku_frontier_offtake_portfolio_2027","type":"climate.product","url":"/v1/climate/products/climsku_frontier_offtake_portfolio_2027"},"type":"v1.climate.product.pricing_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.climate.product.pricing_updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climsku_frontier_offtake_portfolio_2027","type":"climate.product","url":"/v1/climate/products/climsku_frontier_offtake_portfolio_2027"},"type":"v1.climate.product.pricing_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"climsku_frontier_offtake_portfolio_2027","type":"climate.product","url":"/v1/climate/products/climsku_frontier_offtake_portfolio_2027"},"type":"v1.climate.product.pricing_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.climate.product.pricing_updated"}},"v1.coupon.created":{"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":{"kind":"open","values":[{"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":["coupon"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.coupon.created"]}},"description":"Occurs whenever a coupon is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"jMT0WJUD","type":"coupon","url":"/v1/coupons/jMT0WJUD"},"type":"v1.coupon.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.coupon.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"jMT0WJUD","type":"coupon","url":"/v1/coupons/jMT0WJUD"},"type":"v1.coupon.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"jMT0WJUD","type":"coupon","url":"/v1/coupons/jMT0WJUD"},"type":"v1.coupon.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.coupon.created"}},"v1.coupon.deleted":{"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":{"kind":"open","values":[{"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":["coupon"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.coupon.deleted"]}},"description":"Occurs whenever a coupon is deleted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"jMT0WJUD","type":"coupon","url":"/v1/coupons/jMT0WJUD"},"type":"v1.coupon.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.coupon.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"jMT0WJUD","type":"coupon","url":"/v1/coupons/jMT0WJUD"},"type":"v1.coupon.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"jMT0WJUD","type":"coupon","url":"/v1/coupons/jMT0WJUD"},"type":"v1.coupon.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.coupon.deleted"}},"v1.coupon.updated":{"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":{"kind":"open","values":[{"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":["coupon"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.coupon.updated"]}},"description":"Occurs whenever a coupon is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"jMT0WJUD","type":"coupon","url":"/v1/coupons/jMT0WJUD"},"type":"v1.coupon.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.coupon.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"jMT0WJUD","type":"coupon","url":"/v1/coupons/jMT0WJUD"},"type":"v1.coupon.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"jMT0WJUD","type":"coupon","url":"/v1/coupons/jMT0WJUD"},"type":"v1.coupon.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.coupon.updated"}},"v1.credit_note.created":{"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":{"kind":"open","values":[{"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":["credit_note"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.credit_note.created"]}},"description":"Occurs whenever a credit note is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cn_1MxvRqLkdIwHu7ixY0xbUcxk","type":"credit_note","url":"/v1/credit_notes/cn_1MxvRqLkdIwHu7ixY0xbUcxk"},"type":"v1.credit_note.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.credit_note.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cn_1MxvRqLkdIwHu7ixY0xbUcxk","type":"credit_note","url":"/v1/credit_notes/cn_1MxvRqLkdIwHu7ixY0xbUcxk"},"type":"v1.credit_note.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cn_1MxvRqLkdIwHu7ixY0xbUcxk","type":"credit_note","url":"/v1/credit_notes/cn_1MxvRqLkdIwHu7ixY0xbUcxk"},"type":"v1.credit_note.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.credit_note.created"}},"v1.credit_note.updated":{"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":{"kind":"open","values":[{"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":["credit_note"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.credit_note.updated"]}},"description":"Occurs whenever a credit note is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cn_1MxvRqLkdIwHu7ixY0xbUcxk","type":"credit_note","url":"/v1/credit_notes/cn_1MxvRqLkdIwHu7ixY0xbUcxk"},"type":"v1.credit_note.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.credit_note.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cn_1MxvRqLkdIwHu7ixY0xbUcxk","type":"credit_note","url":"/v1/credit_notes/cn_1MxvRqLkdIwHu7ixY0xbUcxk"},"type":"v1.credit_note.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cn_1MxvRqLkdIwHu7ixY0xbUcxk","type":"credit_note","url":"/v1/credit_notes/cn_1MxvRqLkdIwHu7ixY0xbUcxk"},"type":"v1.credit_note.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.credit_note.updated"}},"v1.credit_note.voided":{"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":{"kind":"open","values":[{"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":["credit_note"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.credit_note.voided"]}},"description":"Occurs whenever a credit note is voided.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cn_1MxvRqLkdIwHu7ixY0xbUcxk","type":"credit_note","url":"/v1/credit_notes/cn_1MxvRqLkdIwHu7ixY0xbUcxk"},"type":"v1.credit_note.voided","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.credit_note.voided","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cn_1MxvRqLkdIwHu7ixY0xbUcxk","type":"credit_note","url":"/v1/credit_notes/cn_1MxvRqLkdIwHu7ixY0xbUcxk"},"type":"v1.credit_note.voided","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cn_1MxvRqLkdIwHu7ixY0xbUcxk","type":"credit_note","url":"/v1/credit_notes/cn_1MxvRqLkdIwHu7ixY0xbUcxk"},"type":"v1.credit_note.voided","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.credit_note.voided"}},"v1.customer.created":{"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":{"kind":"open","values":[{"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":["customer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.created"]}},"description":"Occurs whenever a new customer is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cus_NffrFeUfNV2Hib","type":"customer","url":"/v1/customers/cus_NffrFeUfNV2Hib"},"type":"v1.customer.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cus_NffrFeUfNV2Hib","type":"customer","url":"/v1/customers/cus_NffrFeUfNV2Hib"},"type":"v1.customer.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cus_NffrFeUfNV2Hib","type":"customer","url":"/v1/customers/cus_NffrFeUfNV2Hib"},"type":"v1.customer.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.created"}},"v1.customer.deleted":{"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":{"kind":"open","values":[{"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":["customer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.deleted"]}},"description":"Occurs whenever a customer is deleted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cus_NffrFeUfNV2Hib","type":"customer","url":"/v1/customers/cus_NffrFeUfNV2Hib"},"type":"v1.customer.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cus_NffrFeUfNV2Hib","type":"customer","url":"/v1/customers/cus_NffrFeUfNV2Hib"},"type":"v1.customer.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cus_NffrFeUfNV2Hib","type":"customer","url":"/v1/customers/cus_NffrFeUfNV2Hib"},"type":"v1.customer.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.deleted"}},"v1.customer.discount.created":{"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":{"kind":"open","values":[{"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.","nullable":true},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["discount"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.discount.created"]}},"description":"Occurs whenever a coupon is attached to a customer.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"discount","url":"/v1/customers/cus_NffrFeUfNV2Hib/discount"},"type":"v1.customer.discount.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.discount.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"discount","url":"/v1/customers/cus_NffrFeUfNV2Hib/discount"},"type":"v1.customer.discount.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"discount","url":"/v1/customers/cus_NffrFeUfNV2Hib/discount"},"type":"v1.customer.discount.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.discount.created"}},"v1.customer.discount.deleted":{"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":{"kind":"open","values":[{"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.","nullable":true},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["discount"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.discount.deleted"]}},"description":"Occurs whenever a coupon is removed from a customer.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"discount","url":"/v1/customers/cus_NffrFeUfNV2Hib/discount"},"type":"v1.customer.discount.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.discount.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"discount","url":"/v1/customers/cus_NffrFeUfNV2Hib/discount"},"type":"v1.customer.discount.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"discount","url":"/v1/customers/cus_NffrFeUfNV2Hib/discount"},"type":"v1.customer.discount.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.discount.deleted"}},"v1.customer.discount.updated":{"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":{"kind":"open","values":[{"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.","nullable":true},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["discount"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.discount.updated"]}},"description":"Occurs whenever a customer is switched from one coupon to another.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"discount","url":"/v1/customers/cus_NffrFeUfNV2Hib/discount"},"type":"v1.customer.discount.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.discount.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"discount","url":"/v1/customers/cus_NffrFeUfNV2Hib/discount"},"type":"v1.customer.discount.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"discount","url":"/v1/customers/cus_NffrFeUfNV2Hib/discount"},"type":"v1.customer.discount.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.discount.updated"}},"v1.customer.subscription.created":{"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":{"kind":"open","values":[{"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":["subscription"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.subscription.created"]}},"description":"Occurs whenever a customer is signed up for a new plan.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.subscription.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.subscription.created"}},"v1.customer.subscription.deleted":{"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":{"kind":"open","values":[{"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":["subscription"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.subscription.deleted"]}},"description":"Occurs whenever a customer's subscription ends.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.subscription.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.subscription.deleted"}},"v1.customer.subscription.paused":{"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":{"kind":"open","values":[{"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":["subscription"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.subscription.paused"]}},"description":"Occurs whenever a customer's subscription is paused. Only applies when subscriptions enter `status=paused`, not when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is paused.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.paused","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.subscription.paused","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.paused","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.paused","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.subscription.paused"}},"v1.customer.subscription.pending_update_applied":{"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":{"kind":"open","values":[{"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":["subscription"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.subscription.pending_update_applied"]}},"description":"Occurs whenever a customer's subscription's pending update is applied, and the subscription is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.pending_update_applied","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.subscription.pending_update_applied","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.pending_update_applied","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.pending_update_applied","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.subscription.pending_update_applied"}},"v1.customer.subscription.pending_update_expired":{"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":{"kind":"open","values":[{"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":["subscription"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.subscription.pending_update_expired"]}},"description":"Occurs whenever a customer's subscription's pending update expires before the related invoice is paid.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.pending_update_expired","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.subscription.pending_update_expired","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.pending_update_expired","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.pending_update_expired","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.subscription.pending_update_expired"}},"v1.customer.subscription.resumed":{"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":{"kind":"open","values":[{"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":["subscription"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.subscription.resumed"]}},"description":"Occurs whenever a customer's subscription is no longer paused. Only applies when a `status=paused` subscription is [resumed](https://docs.stripe.com/api/subscriptions/resume), not when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.resumed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.subscription.resumed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.resumed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.resumed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.subscription.resumed"}},"v1.customer.subscription.trial_will_end":{"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":{"kind":"open","values":[{"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":["subscription"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.subscription.trial_will_end"]}},"description":"Occurs three days before a subscription's trial period is scheduled to end, or immediately when a trial is ended early (for example, with `trial_end=now` or when a Customer Portal plan change ends a trial). If a trial is shortened so that fewer than three days remain, this event can fire immediately, including during the same transaction that collects payment. Before sending payment-reminder communications from this webhook, check the subscription status and latest invoice to determine whether payment has already been collected.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.trial_will_end","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.subscription.trial_will_end","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.trial_will_end","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.trial_will_end","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.subscription.trial_will_end"}},"v1.customer.subscription.updated":{"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":{"kind":"open","values":[{"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":["subscription"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.subscription.updated"]}},"description":"Occurs whenever a subscription changes (e.g., switching from one plan to another, or changing the status from trial to active).","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.subscription.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_1MowQVLkdIwHu7ixeRlqHVzs","type":"subscription","url":"/v1/customers/cus_NffrFeUfNV2Hib/subscription"},"type":"v1.customer.subscription.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.subscription.updated"}},"v1.customer.tax_id.created":{"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":{"kind":"open","values":[{"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":["tax_id"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.tax_id.created"]}},"description":"Occurs whenever a tax ID is created for a customer.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txi_1NuMB12eZvKYlo2CMecoWkZd","type":"tax_id","url":"/v1/tax_ids/txi_1NuMB12eZvKYlo2CMecoWkZd"},"type":"v1.customer.tax_id.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.tax_id.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txi_1NuMB12eZvKYlo2CMecoWkZd","type":"tax_id","url":"/v1/tax_ids/txi_1NuMB12eZvKYlo2CMecoWkZd"},"type":"v1.customer.tax_id.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txi_1NuMB12eZvKYlo2CMecoWkZd","type":"tax_id","url":"/v1/tax_ids/txi_1NuMB12eZvKYlo2CMecoWkZd"},"type":"v1.customer.tax_id.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.tax_id.created"}},"v1.customer.tax_id.deleted":{"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":{"kind":"open","values":[{"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":["tax_id"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.tax_id.deleted"]}},"description":"Occurs whenever a tax ID is deleted from a customer.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txi_1NuMB12eZvKYlo2CMecoWkZd","type":"tax_id","url":"/v1/tax_ids/txi_1NuMB12eZvKYlo2CMecoWkZd"},"type":"v1.customer.tax_id.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.tax_id.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txi_1NuMB12eZvKYlo2CMecoWkZd","type":"tax_id","url":"/v1/tax_ids/txi_1NuMB12eZvKYlo2CMecoWkZd"},"type":"v1.customer.tax_id.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txi_1NuMB12eZvKYlo2CMecoWkZd","type":"tax_id","url":"/v1/tax_ids/txi_1NuMB12eZvKYlo2CMecoWkZd"},"type":"v1.customer.tax_id.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.tax_id.deleted"}},"v1.customer.tax_id.updated":{"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":{"kind":"open","values":[{"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":["tax_id"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.tax_id.updated"]}},"description":"Occurs whenever a customer's tax ID is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txi_1NuMB12eZvKYlo2CMecoWkZd","type":"tax_id","url":"/v1/tax_ids/txi_1NuMB12eZvKYlo2CMecoWkZd"},"type":"v1.customer.tax_id.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.tax_id.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txi_1NuMB12eZvKYlo2CMecoWkZd","type":"tax_id","url":"/v1/tax_ids/txi_1NuMB12eZvKYlo2CMecoWkZd"},"type":"v1.customer.tax_id.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txi_1NuMB12eZvKYlo2CMecoWkZd","type":"tax_id","url":"/v1/tax_ids/txi_1NuMB12eZvKYlo2CMecoWkZd"},"type":"v1.customer.tax_id.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.tax_id.updated"}},"v1.customer.updated":{"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":{"kind":"open","values":[{"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":["customer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer.updated"]}},"description":"Occurs whenever any property of a customer changes.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cus_NffrFeUfNV2Hib","type":"customer","url":"/v1/customers/cus_NffrFeUfNV2Hib"},"type":"v1.customer.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cus_NffrFeUfNV2Hib","type":"customer","url":"/v1/customers/cus_NffrFeUfNV2Hib"},"type":"v1.customer.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"cus_NffrFeUfNV2Hib","type":"customer","url":"/v1/customers/cus_NffrFeUfNV2Hib"},"type":"v1.customer.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer.updated"}},"v1.customer_cash_balance_transaction.created":{"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":{"kind":"open","values":[{"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":["customer_cash_balance_transaction"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.customer_cash_balance_transaction.created"]}},"description":"Occurs whenever a new customer cash balance transactions is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ccsbtxn_1MowQVLkdIwHu7ixeRlqHVzs","type":"customer_cash_balance_transaction","url":"/v1/customers/cus_NffrFeUfNV2Hib/cash_balance_transactions/ccsbtxn_1MowQVLkdIwHu7ixeRlqHVzs"},"type":"v1.customer_cash_balance_transaction.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.customer_cash_balance_transaction.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ccsbtxn_1MowQVLkdIwHu7ixeRlqHVzs","type":"customer_cash_balance_transaction","url":"/v1/customers/cus_NffrFeUfNV2Hib/cash_balance_transactions/ccsbtxn_1MowQVLkdIwHu7ixeRlqHVzs"},"type":"v1.customer_cash_balance_transaction.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ccsbtxn_1MowQVLkdIwHu7ixeRlqHVzs","type":"customer_cash_balance_transaction","url":"/v1/customers/cus_NffrFeUfNV2Hib/cash_balance_transactions/ccsbtxn_1MowQVLkdIwHu7ixeRlqHVzs"},"type":"v1.customer_cash_balance_transaction.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.customer_cash_balance_transaction.created"}},"v1.entitlements.active_entitlement_summary.updated":{"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":{"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.entitlements.active_entitlement_summary.updated"]}},"description":"Occurs whenever a customer's entitlements change.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.entitlements.active_entitlement_summary.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.entitlements.active_entitlement_summary.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.entitlements.active_entitlement_summary.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"type":"v1.entitlements.active_entitlement_summary.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.entitlements.active_entitlement_summary.updated"}},"v1.file.created":{"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":{"kind":"open","values":[{"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":["file"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.file.created"]}},"description":"Occurs whenever a new Stripe-generated file is available for your account.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"file_1Mr4LDLkdIwHu7ixFCz0dZiH","type":"file","url":"/v1/files/file_1Mr4LDLkdIwHu7ixFCz0dZiH"},"type":"v1.file.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.file.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"file_1Mr4LDLkdIwHu7ixFCz0dZiH","type":"file","url":"/v1/files/file_1Mr4LDLkdIwHu7ixFCz0dZiH"},"type":"v1.file.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"file_1Mr4LDLkdIwHu7ixFCz0dZiH","type":"file","url":"/v1/files/file_1Mr4LDLkdIwHu7ixFCz0dZiH"},"type":"v1.file.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.file.created"}},"v1.financial_connections.account.account_numbers_updated":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.account_numbers_updated"]}},"description":"Occurs when a Financial Connections account's account numbers are updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.account_numbers_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.account_numbers_updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.account_numbers_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.account_numbers_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.account_numbers_updated"}},"v1.financial_connections.account.created":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.created"]}},"description":"Occurs when a new Financial Connections account is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.created"}},"v1.financial_connections.account.deactivated":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.deactivated"]}},"description":"Occurs when a Financial Connections account's status is updated from `active` to `inactive`.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.deactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.deactivated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.deactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.deactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.deactivated"}},"v1.financial_connections.account.disconnected":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.disconnected"]}},"description":"Occurs when a Financial Connections account is disconnected.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.disconnected","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.disconnected","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.disconnected","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.disconnected","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.disconnected"}},"v1.financial_connections.account.expected_deactivation_date_updated":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.expected_deactivation_date_updated"]}},"description":"Occurs when a Financial Connections account’s `expected_deactivation_date` changes.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.expected_deactivation_date_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.expected_deactivation_date_updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.expected_deactivation_date_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.expected_deactivation_date_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.expected_deactivation_date_updated"}},"v1.financial_connections.account.reactivated":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.reactivated"]}},"description":"Occurs when a Financial Connections account's status is updated from `inactive` to `active`.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.reactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.reactivated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.reactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.reactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.reactivated"}},"v1.financial_connections.account.refreshed_balance":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.refreshed_balance"]}},"description":"Occurs when an Account’s `balance_refresh` status transitions from `pending` to either `succeeded` or `failed`.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.refreshed_balance","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.refreshed_balance","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.refreshed_balance","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.refreshed_balance","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.refreshed_balance"}},"v1.financial_connections.account.refreshed_ownership":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.refreshed_ownership"]}},"description":"Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.refreshed_ownership","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.refreshed_ownership","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.refreshed_ownership","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.refreshed_ownership","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.refreshed_ownership"}},"v1.financial_connections.account.refreshed_transactions":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.refreshed_transactions"]}},"description":"Occurs when an Account’s `transaction_refresh` status transitions from `pending` to either `succeeded` or `failed`.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.refreshed_transactions","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.refreshed_transactions","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.refreshed_transactions","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.refreshed_transactions","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.refreshed_transactions"}},"v1.financial_connections.account.supported_payment_method_types_updated":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.supported_payment_method_types_updated"]}},"description":"Occurs when the supported_payment_method_types array on a Financial Connections account changes.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.supported_payment_method_types_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.supported_payment_method_types_updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.supported_payment_method_types_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.supported_payment_method_types_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.supported_payment_method_types_updated"}},"v1.financial_connections.account.upcoming_account_number_expiry":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.upcoming_account_number_expiry"]}},"description":"Occurs when an Account’s tokenized account number is about to expire.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.upcoming_account_number_expiry","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.upcoming_account_number_expiry","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.upcoming_account_number_expiry","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.upcoming_account_number_expiry","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.upcoming_account_number_expiry"}},"v1.financial_connections.account.upcoming_deactivation":{"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":{"kind":"open","values":[{"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":["financial_connections.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.financial_connections.account.upcoming_deactivation"]}},"description":"Occurs when a Financial Connections account is about to become `inactive`.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.upcoming_deactivation","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.financial_connections.account.upcoming_deactivation","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.upcoming_deactivation","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"fca_1MwVK82eZvKYlo2Cjw8FMxXf","type":"financial_connections.account","url":"/v1/financial_connections/accounts/fca_1MwVK82eZvKYlo2Cjw8FMxXf"},"type":"v1.financial_connections.account.upcoming_deactivation","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.financial_connections.account.upcoming_deactivation"}},"v1.identity.verification_session.canceled":{"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":{"kind":"open","values":[{"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":["identity.verification_session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.identity.verification_session.canceled"]}},"description":"Occurs whenever a VerificationSession is canceled.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.identity.verification_session.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.identity.verification_session.canceled"}},"v1.identity.verification_session.created":{"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":{"kind":"open","values":[{"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":["identity.verification_session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.identity.verification_session.created"]}},"description":"Occurs whenever a VerificationSession is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.identity.verification_session.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.identity.verification_session.created"}},"v1.identity.verification_session.processing":{"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":{"kind":"open","values":[{"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":["identity.verification_session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.identity.verification_session.processing"]}},"description":"Occurs whenever a VerificationSession transitions to processing.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.processing","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.identity.verification_session.processing","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.processing","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.processing","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.identity.verification_session.processing"}},"v1.identity.verification_session.redacted":{"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":{"kind":"open","values":[{"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":["identity.verification_session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.identity.verification_session.redacted"]}},"description":"Occurs whenever a VerificationSession is redacted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.redacted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.identity.verification_session.redacted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.redacted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.redacted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.identity.verification_session.redacted"}},"v1.identity.verification_session.requires_input":{"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":{"kind":"open","values":[{"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":["identity.verification_session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.identity.verification_session.requires_input"]}},"description":"Occurs whenever a VerificationSession transitions to require user input.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.requires_input","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.identity.verification_session.requires_input","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.requires_input","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.requires_input","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.identity.verification_session.requires_input"}},"v1.identity.verification_session.verified":{"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":{"kind":"open","values":[{"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":["identity.verification_session"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.identity.verification_session.verified"]}},"description":"Occurs whenever a VerificationSession transitions to verified.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.verified","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.identity.verification_session.verified","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.verified","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"vs_1NuNAILkdIwHu7ixh7OtGMLw","type":"identity.verification_session","url":"/v1/identity/verification_sessions/vs_1NuNAILkdIwHu7ixh7OtGMLw"},"type":"v1.identity.verification_session.verified","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.identity.verification_session.verified"}},"v1.invoice.created":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.created"]}},"description":"Occurs whenever a new invoice is created. To learn how webhooks can be used with this event, and how they can affect it, see [Using Webhooks with Subscriptions](https://docs.stripe.com/subscriptions/webhooks).","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.created"}},"v1.invoice.deleted":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.deleted"]}},"description":"Occurs whenever a draft invoice is deleted. Note: This event is not sent for [invoice previews](https://docs.stripe.com/api/invoices/create_preview).","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.deleted"}},"v1.invoice.finalization_failed":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.finalization_failed"]}},"description":"Occurs whenever a draft invoice cannot be finalized. See the invoice’s [last finalization error](https://docs.stripe.com/api/invoices/object#invoice_object-last_finalization_error) for details.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.finalization_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.finalization_failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.finalization_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.finalization_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.finalization_failed"}},"v1.invoice.finalized":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.finalized"]}},"description":"Occurs whenever a draft invoice is finalized and updated to be an open invoice.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.finalized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.finalized","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.finalized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.finalized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.finalized"}},"v1.invoice.marked_uncollectible":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.marked_uncollectible"]}},"description":"Occurs whenever an invoice is marked uncollectible.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.marked_uncollectible","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.marked_uncollectible","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.marked_uncollectible","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.marked_uncollectible","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.marked_uncollectible"}},"v1.invoice.overdue":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.overdue"]}},"description":"Occurs X number of days after an invoice becomes due—where X is determined by Automations.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.overdue","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.overdue","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.overdue","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.overdue","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.overdue"}},"v1.invoice.overpaid":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.overpaid"]}},"description":"Occurs when an invoice transitions to paid with a non-zero amount_overpaid.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.overpaid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.overpaid","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.overpaid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.overpaid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.overpaid"}},"v1.invoice.paid":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.paid"]}},"description":"Occurs whenever an invoice payment attempt succeeds or an invoice is marked as paid out-of-band.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.paid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.paid","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.paid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.paid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.paid"}},"v1.invoice.payment_action_required":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.payment_action_required"]}},"description":"Occurs whenever an invoice payment attempt requires further user action to complete.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_action_required","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.payment_action_required","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_action_required","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_action_required","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.payment_action_required"}},"v1.invoice.payment_attempt_required":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.payment_attempt_required"]}},"description":"Occurs when an invoice requires a payment using a payment method that cannot be processed by Stripe.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_attempt_required","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.payment_attempt_required","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_attempt_required","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_attempt_required","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.payment_attempt_required"}},"v1.invoice.payment_failed":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.payment_failed"]}},"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.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.payment_failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.payment_failed"}},"v1.invoice.payment_succeeded":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.payment_succeeded"]}},"description":"Occurs whenever an invoice payment attempt succeeds.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.payment_succeeded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.payment_succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.payment_succeeded"}},"v1.invoice.sent":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.sent"]}},"description":"Occurs whenever an invoice email is sent out.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.sent","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.sent","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.sent","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.sent","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.sent"}},"v1.invoice.upcoming":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.upcoming"]}},"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.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.upcoming","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.upcoming","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.upcoming","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.upcoming","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.upcoming"}},"v1.invoice.updated":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.updated"]}},"description":"Occurs whenever an invoice changes (e.g., the invoice amount).","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.updated"}},"v1.invoice.voided":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.voided"]}},"description":"Occurs whenever an invoice is voided.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.voided","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.voided","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.voided","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.voided","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.voided"}},"v1.invoice.will_be_due":{"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":{"kind":"open","values":[{"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":["invoice"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice.will_be_due"]}},"description":"Occurs X number of days before an invoice becomes due—where X is determined by Automations.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.will_be_due","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice.will_be_due","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.will_be_due","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"in_1MtHbELkdIwHu7ixl4OzzPMv","type":"invoice","url":"/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv"},"type":"v1.invoice.will_be_due","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice.will_be_due"}},"v1.invoice_payment.paid":{"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":{"kind":"open","values":[{"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":["invoice_payment"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoice_payment.paid"]}},"description":"Occurs when an InvoicePayment is successfully paid.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"inpay_1M3USa2eZvKYlo2CBjuwbq0N","type":"invoice_payment","url":"/v1/invoice_payments/inpay_1M3USa2eZvKYlo2CBjuwbq0N"},"type":"v1.invoice_payment.paid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoice_payment.paid","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"inpay_1M3USa2eZvKYlo2CBjuwbq0N","type":"invoice_payment","url":"/v1/invoice_payments/inpay_1M3USa2eZvKYlo2CBjuwbq0N"},"type":"v1.invoice_payment.paid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"inpay_1M3USa2eZvKYlo2CBjuwbq0N","type":"invoice_payment","url":"/v1/invoice_payments/inpay_1M3USa2eZvKYlo2CBjuwbq0N"},"type":"v1.invoice_payment.paid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoice_payment.paid"}},"v1.invoiceitem.created":{"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":{"kind":"open","values":[{"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":["invoiceitem"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoiceitem.created"]}},"description":"Occurs whenever an invoice item is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ii_1MtGUtLkdIwHu7ixBYwjAM00","type":"invoiceitem","url":"/v1/invoiceitems/ii_1MtGUtLkdIwHu7ixBYwjAM00"},"type":"v1.invoiceitem.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoiceitem.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ii_1MtGUtLkdIwHu7ixBYwjAM00","type":"invoiceitem","url":"/v1/invoiceitems/ii_1MtGUtLkdIwHu7ixBYwjAM00"},"type":"v1.invoiceitem.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ii_1MtGUtLkdIwHu7ixBYwjAM00","type":"invoiceitem","url":"/v1/invoiceitems/ii_1MtGUtLkdIwHu7ixBYwjAM00"},"type":"v1.invoiceitem.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoiceitem.created"}},"v1.invoiceitem.deleted":{"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":{"kind":"open","values":[{"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":["invoiceitem"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.invoiceitem.deleted"]}},"description":"Occurs whenever an invoice item is deleted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ii_1MtGUtLkdIwHu7ixBYwjAM00","type":"invoiceitem","url":"/v1/invoiceitems/ii_1MtGUtLkdIwHu7ixBYwjAM00"},"type":"v1.invoiceitem.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.invoiceitem.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ii_1MtGUtLkdIwHu7ixBYwjAM00","type":"invoiceitem","url":"/v1/invoiceitems/ii_1MtGUtLkdIwHu7ixBYwjAM00"},"type":"v1.invoiceitem.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ii_1MtGUtLkdIwHu7ixBYwjAM00","type":"invoiceitem","url":"/v1/invoiceitems/ii_1MtGUtLkdIwHu7ixBYwjAM00"},"type":"v1.invoiceitem.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.invoiceitem.deleted"}},"v1.issuing_authorization.created":{"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":{"kind":"open","values":[{"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":["issuing.authorization"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_authorization.created"]}},"description":"Occurs whenever an authorization is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"iauth_1JVXl82eZvKYlo2CPIiWlzrn","type":"issuing.authorization","url":"/v1/issuing/authorizations/iauth_1JVXl82eZvKYlo2CPIiWlzrn"},"type":"v1.issuing_authorization.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_authorization.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"iauth_1JVXl82eZvKYlo2CPIiWlzrn","type":"issuing.authorization","url":"/v1/issuing/authorizations/iauth_1JVXl82eZvKYlo2CPIiWlzrn"},"type":"v1.issuing_authorization.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"iauth_1JVXl82eZvKYlo2CPIiWlzrn","type":"issuing.authorization","url":"/v1/issuing/authorizations/iauth_1JVXl82eZvKYlo2CPIiWlzrn"},"type":"v1.issuing_authorization.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_authorization.created"}},"v1.issuing_authorization.request":{"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":{"kind":"open","values":[{"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":["issuing.authorization"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_authorization.request"]}},"description":"Represents a synchronous request for authorization, see [Using your integration to handle authorization requests](https://docs.stripe.com/issuing/purchases/authorizations#authorization-handling).","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"iauth_1JVXl82eZvKYlo2CPIiWlzrn","type":"issuing.authorization","url":"/v1/issuing/authorizations/iauth_1JVXl82eZvKYlo2CPIiWlzrn"},"type":"v1.issuing_authorization.request","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_authorization.request","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"iauth_1JVXl82eZvKYlo2CPIiWlzrn","type":"issuing.authorization","url":"/v1/issuing/authorizations/iauth_1JVXl82eZvKYlo2CPIiWlzrn"},"type":"v1.issuing_authorization.request","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"iauth_1JVXl82eZvKYlo2CPIiWlzrn","type":"issuing.authorization","url":"/v1/issuing/authorizations/iauth_1JVXl82eZvKYlo2CPIiWlzrn"},"type":"v1.issuing_authorization.request","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_authorization.request"}},"v1.issuing_authorization.updated":{"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":{"kind":"open","values":[{"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":["issuing.authorization"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_authorization.updated"]}},"description":"Occurs whenever an authorization is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"iauth_1JVXl82eZvKYlo2CPIiWlzrn","type":"issuing.authorization","url":"/v1/issuing/authorizations/iauth_1JVXl82eZvKYlo2CPIiWlzrn"},"type":"v1.issuing_authorization.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_authorization.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"iauth_1JVXl82eZvKYlo2CPIiWlzrn","type":"issuing.authorization","url":"/v1/issuing/authorizations/iauth_1JVXl82eZvKYlo2CPIiWlzrn"},"type":"v1.issuing_authorization.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"iauth_1JVXl82eZvKYlo2CPIiWlzrn","type":"issuing.authorization","url":"/v1/issuing/authorizations/iauth_1JVXl82eZvKYlo2CPIiWlzrn"},"type":"v1.issuing_authorization.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_authorization.updated"}},"v1.issuing_card.created":{"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":{"kind":"open","values":[{"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":["issuing.card"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_card.created"]}},"description":"Occurs whenever a card is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ic_1MvSieLkdIwHu7ixn6uuO0Xu","type":"issuing.card","url":"/v1/issuing/cards/ic_1MvSieLkdIwHu7ixn6uuO0Xu"},"type":"v1.issuing_card.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_card.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ic_1MvSieLkdIwHu7ixn6uuO0Xu","type":"issuing.card","url":"/v1/issuing/cards/ic_1MvSieLkdIwHu7ixn6uuO0Xu"},"type":"v1.issuing_card.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ic_1MvSieLkdIwHu7ixn6uuO0Xu","type":"issuing.card","url":"/v1/issuing/cards/ic_1MvSieLkdIwHu7ixn6uuO0Xu"},"type":"v1.issuing_card.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_card.created"}},"v1.issuing_card.updated":{"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":{"kind":"open","values":[{"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":["issuing.card"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_card.updated"]}},"description":"Occurs whenever a card is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ic_1MvSieLkdIwHu7ixn6uuO0Xu","type":"issuing.card","url":"/v1/issuing/cards/ic_1MvSieLkdIwHu7ixn6uuO0Xu"},"type":"v1.issuing_card.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_card.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ic_1MvSieLkdIwHu7ixn6uuO0Xu","type":"issuing.card","url":"/v1/issuing/cards/ic_1MvSieLkdIwHu7ixn6uuO0Xu"},"type":"v1.issuing_card.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ic_1MvSieLkdIwHu7ixn6uuO0Xu","type":"issuing.card","url":"/v1/issuing/cards/ic_1MvSieLkdIwHu7ixn6uuO0Xu"},"type":"v1.issuing_card.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_card.updated"}},"v1.issuing_cardholder.created":{"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":{"kind":"open","values":[{"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":["issuing.cardholder"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_cardholder.created"]}},"description":"Occurs whenever a cardholder is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ich_1MsKAB2eZvKYlo2C3eZ2BdvK","type":"issuing.cardholder","url":"/v1/issuing/cardholders/ich_1MsKAB2eZvKYlo2C3eZ2BdvK"},"type":"v1.issuing_cardholder.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_cardholder.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ich_1MsKAB2eZvKYlo2C3eZ2BdvK","type":"issuing.cardholder","url":"/v1/issuing/cardholders/ich_1MsKAB2eZvKYlo2C3eZ2BdvK"},"type":"v1.issuing_cardholder.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ich_1MsKAB2eZvKYlo2C3eZ2BdvK","type":"issuing.cardholder","url":"/v1/issuing/cardholders/ich_1MsKAB2eZvKYlo2C3eZ2BdvK"},"type":"v1.issuing_cardholder.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_cardholder.created"}},"v1.issuing_cardholder.updated":{"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":{"kind":"open","values":[{"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":["issuing.cardholder"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_cardholder.updated"]}},"description":"Occurs whenever a cardholder is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ich_1MsKAB2eZvKYlo2C3eZ2BdvK","type":"issuing.cardholder","url":"/v1/issuing/cardholders/ich_1MsKAB2eZvKYlo2C3eZ2BdvK"},"type":"v1.issuing_cardholder.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_cardholder.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ich_1MsKAB2eZvKYlo2C3eZ2BdvK","type":"issuing.cardholder","url":"/v1/issuing/cardholders/ich_1MsKAB2eZvKYlo2C3eZ2BdvK"},"type":"v1.issuing_cardholder.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ich_1MsKAB2eZvKYlo2C3eZ2BdvK","type":"issuing.cardholder","url":"/v1/issuing/cardholders/ich_1MsKAB2eZvKYlo2C3eZ2BdvK"},"type":"v1.issuing_cardholder.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_cardholder.updated"}},"v1.issuing_dispute.closed":{"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":{"kind":"open","values":[{"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":["issuing.dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_dispute.closed"]}},"description":"Occurs whenever a dispute is won, lost or expired.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.closed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_dispute.closed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.closed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.closed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_dispute.closed"}},"v1.issuing_dispute.created":{"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":{"kind":"open","values":[{"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":["issuing.dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_dispute.created"]}},"description":"Occurs whenever a dispute is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_dispute.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_dispute.created"}},"v1.issuing_dispute.funds_reinstated":{"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":{"kind":"open","values":[{"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":["issuing.dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_dispute.funds_reinstated"]}},"description":"Occurs whenever funds are reinstated to your account for an Issuing dispute.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.funds_reinstated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_dispute.funds_reinstated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.funds_reinstated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.funds_reinstated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_dispute.funds_reinstated"}},"v1.issuing_dispute.funds_rescinded":{"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":{"kind":"open","values":[{"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":["issuing.dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_dispute.funds_rescinded"]}},"description":"Occurs whenever funds are deducted from your account for an Issuing dispute.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.funds_rescinded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_dispute.funds_rescinded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.funds_rescinded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.funds_rescinded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_dispute.funds_rescinded"}},"v1.issuing_dispute.submitted":{"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":{"kind":"open","values":[{"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":["issuing.dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_dispute.submitted"]}},"description":"Occurs whenever a dispute is submitted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.submitted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_dispute.submitted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.submitted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.submitted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_dispute.submitted"}},"v1.issuing_dispute.updated":{"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":{"kind":"open","values":[{"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":["issuing.dispute"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_dispute.updated"]}},"description":"Occurs whenever a dispute is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_dispute.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"idp_1MykdxFtDWhhyHE1BFAV3osZ","type":"issuing.dispute","url":"/v1/issuing/disputes/idp_1MykdxFtDWhhyHE1BFAV3osZ"},"type":"v1.issuing_dispute.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_dispute.updated"}},"v1.issuing_personalization_design.activated":{"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":{"kind":"open","values":[{"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":["issuing.personalization_design"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_personalization_design.activated"]}},"description":"Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.activated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_personalization_design.activated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.activated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.activated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_personalization_design.activated"}},"v1.issuing_personalization_design.deactivated":{"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":{"kind":"open","values":[{"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":["issuing.personalization_design"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_personalization_design.deactivated"]}},"description":"Occurs whenever a personalization design is deactivated following the deactivation of the physical bundle that belongs to it.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.deactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_personalization_design.deactivated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.deactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.deactivated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_personalization_design.deactivated"}},"v1.issuing_personalization_design.rejected":{"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":{"kind":"open","values":[{"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":["issuing.personalization_design"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_personalization_design.rejected"]}},"description":"Occurs whenever a personalization design is rejected by design review.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.rejected","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_personalization_design.rejected","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.rejected","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.rejected","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_personalization_design.rejected"}},"v1.issuing_personalization_design.updated":{"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":{"kind":"open","values":[{"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":["issuing.personalization_design"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_personalization_design.updated"]}},"description":"Occurs whenever a personalization design is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_personalization_design.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipcd_Oiw9GXcFRE81LZ","type":"issuing.personalization_design","url":"/v1/issuing/personalization_designs/ipcd_Oiw9GXcFRE81LZ"},"type":"v1.issuing_personalization_design.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_personalization_design.updated"}},"v1.issuing_token.created":{"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":{"kind":"open","values":[{"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":["issuing.token"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_token.created"]}},"description":"Occurs whenever an issuing digital wallet token is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"intok_1MzDbE2eZvKYlo2C26a98MDg","type":"issuing.token","url":"/v1/issuing/tokens/intok_1MzDbE2eZvKYlo2C26a98MDg"},"type":"v1.issuing_token.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_token.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"intok_1MzDbE2eZvKYlo2C26a98MDg","type":"issuing.token","url":"/v1/issuing/tokens/intok_1MzDbE2eZvKYlo2C26a98MDg"},"type":"v1.issuing_token.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"intok_1MzDbE2eZvKYlo2C26a98MDg","type":"issuing.token","url":"/v1/issuing/tokens/intok_1MzDbE2eZvKYlo2C26a98MDg"},"type":"v1.issuing_token.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_token.created"}},"v1.issuing_token.updated":{"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":{"kind":"open","values":[{"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":["issuing.token"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_token.updated"]}},"description":"Occurs whenever an issuing digital wallet token is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"intok_1MzDbE2eZvKYlo2C26a98MDg","type":"issuing.token","url":"/v1/issuing/tokens/intok_1MzDbE2eZvKYlo2C26a98MDg"},"type":"v1.issuing_token.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_token.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"intok_1MzDbE2eZvKYlo2C26a98MDg","type":"issuing.token","url":"/v1/issuing/tokens/intok_1MzDbE2eZvKYlo2C26a98MDg"},"type":"v1.issuing_token.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"intok_1MzDbE2eZvKYlo2C26a98MDg","type":"issuing.token","url":"/v1/issuing/tokens/intok_1MzDbE2eZvKYlo2C26a98MDg"},"type":"v1.issuing_token.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_token.updated"}},"v1.issuing_transaction.created":{"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":{"kind":"open","values":[{"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":["issuing.transaction"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_transaction.created"]}},"description":"Occurs whenever an issuing transaction is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipi_1MzFN1K8F4fqH0lBmFq8CjbU","type":"issuing.transaction","url":"/v1/issuing/transactions/ipi_1MzFN1K8F4fqH0lBmFq8CjbU"},"type":"v1.issuing_transaction.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_transaction.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipi_1MzFN1K8F4fqH0lBmFq8CjbU","type":"issuing.transaction","url":"/v1/issuing/transactions/ipi_1MzFN1K8F4fqH0lBmFq8CjbU"},"type":"v1.issuing_transaction.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipi_1MzFN1K8F4fqH0lBmFq8CjbU","type":"issuing.transaction","url":"/v1/issuing/transactions/ipi_1MzFN1K8F4fqH0lBmFq8CjbU"},"type":"v1.issuing_transaction.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_transaction.created"}},"v1.issuing_transaction.purchase_details_receipt_updated":{"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":{"kind":"open","values":[{"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":["issuing.transaction"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_transaction.purchase_details_receipt_updated"]}},"description":"Occurs whenever an issuing transaction is updated with receipt data.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipi_1MzFN1K8F4fqH0lBmFq8CjbU","type":"issuing.transaction","url":"/v1/issuing/transactions/ipi_1MzFN1K8F4fqH0lBmFq8CjbU"},"type":"v1.issuing_transaction.purchase_details_receipt_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_transaction.purchase_details_receipt_updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipi_1MzFN1K8F4fqH0lBmFq8CjbU","type":"issuing.transaction","url":"/v1/issuing/transactions/ipi_1MzFN1K8F4fqH0lBmFq8CjbU"},"type":"v1.issuing_transaction.purchase_details_receipt_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipi_1MzFN1K8F4fqH0lBmFq8CjbU","type":"issuing.transaction","url":"/v1/issuing/transactions/ipi_1MzFN1K8F4fqH0lBmFq8CjbU"},"type":"v1.issuing_transaction.purchase_details_receipt_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_transaction.purchase_details_receipt_updated"}},"v1.issuing_transaction.updated":{"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":{"kind":"open","values":[{"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":["issuing.transaction"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.issuing_transaction.updated"]}},"description":"Occurs whenever an issuing transaction is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipi_1MzFN1K8F4fqH0lBmFq8CjbU","type":"issuing.transaction","url":"/v1/issuing/transactions/ipi_1MzFN1K8F4fqH0lBmFq8CjbU"},"type":"v1.issuing_transaction.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.issuing_transaction.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipi_1MzFN1K8F4fqH0lBmFq8CjbU","type":"issuing.transaction","url":"/v1/issuing/transactions/ipi_1MzFN1K8F4fqH0lBmFq8CjbU"},"type":"v1.issuing_transaction.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"ipi_1MzFN1K8F4fqH0lBmFq8CjbU","type":"issuing.transaction","url":"/v1/issuing/transactions/ipi_1MzFN1K8F4fqH0lBmFq8CjbU"},"type":"v1.issuing_transaction.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.issuing_transaction.updated"}},"v1.mandate.updated":{"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":{"kind":"open","values":[{"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":["mandate"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.mandate.updated"]}},"description":"Occurs whenever a Mandate is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mandate_1MvojA2eZvKYlo2CvqTABjZs","type":"mandate","url":"/v1/mandates/mandate_1MvojA2eZvKYlo2CvqTABjZs"},"type":"v1.mandate.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.mandate.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mandate_1MvojA2eZvKYlo2CvqTABjZs","type":"mandate","url":"/v1/mandates/mandate_1MvojA2eZvKYlo2CvqTABjZs"},"type":"v1.mandate.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"mandate_1MvojA2eZvKYlo2CvqTABjZs","type":"mandate","url":"/v1/mandates/mandate_1MvojA2eZvKYlo2CvqTABjZs"},"type":"v1.mandate.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.mandate.updated"}},"v1.payment_intent.amount_capturable_updated":{"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":{"kind":"open","values":[{"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":["payment_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_intent.amount_capturable_updated"]}},"description":"Occurs when a PaymentIntent has funds to be captured. Check the `amount_capturable` property on the PaymentIntent to determine the amount that can be captured. You may capture the PaymentIntent with an `amount_to_capture` value up to the specified amount. [Learn more about capturing PaymentIntents.](https://docs.stripe.com/api/payment_intents/capture).","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.amount_capturable_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_intent.amount_capturable_updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.amount_capturable_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.amount_capturable_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_intent.amount_capturable_updated"}},"v1.payment_intent.canceled":{"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":{"kind":"open","values":[{"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":["payment_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_intent.canceled"]}},"description":"Occurs when a PaymentIntent is canceled.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_intent.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_intent.canceled"}},"v1.payment_intent.created":{"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":{"kind":"open","values":[{"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":["payment_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_intent.created"]}},"description":"Occurs when a new PaymentIntent is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_intent.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_intent.created"}},"v1.payment_intent.partially_funded":{"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":{"kind":"open","values":[{"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":["payment_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_intent.partially_funded"]}},"description":"Occurs when funds are applied to a customer_balance PaymentIntent and the 'amount_remaining' changes.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.partially_funded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_intent.partially_funded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.partially_funded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.partially_funded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_intent.partially_funded"}},"v1.payment_intent.payment_failed":{"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":{"kind":"open","values":[{"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":["payment_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_intent.payment_failed"]}},"description":"Occurs when a PaymentIntent has failed the attempt to create a payment method or a payment.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.payment_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_intent.payment_failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.payment_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.payment_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_intent.payment_failed"}},"v1.payment_intent.processing":{"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":{"kind":"open","values":[{"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":["payment_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_intent.processing"]}},"description":"Occurs when a PaymentIntent has started processing.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.processing","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_intent.processing","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.processing","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.processing","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_intent.processing"}},"v1.payment_intent.requires_action":{"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":{"kind":"open","values":[{"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":["payment_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_intent.requires_action"]}},"description":"Occurs when a PaymentIntent transitions to requires_action state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.requires_action","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_intent.requires_action","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.requires_action","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.requires_action","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_intent.requires_action"}},"v1.payment_intent.succeeded":{"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":{"kind":"open","values":[{"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":["payment_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_intent.succeeded"]}},"description":"Occurs when a PaymentIntent has successfully completed payment.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_intent.succeeded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pi_3MtwBwLkdIwHu7ix28a3tqPa","type":"payment_intent","url":"/v1/payment_intents/pi_3MtwBwLkdIwHu7ix28a3tqPa"},"type":"v1.payment_intent.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_intent.succeeded"}},"v1.payment_link.created":{"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":{"kind":"open","values":[{"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":["payment_link"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_link.created"]}},"description":"Occurs when a payment link is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plink_1MoC3ULkdIwHu7ixZjtGpVl2","type":"payment_link","url":"/v1/payment_links/plink_1MoC3ULkdIwHu7ixZjtGpVl2"},"type":"v1.payment_link.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_link.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plink_1MoC3ULkdIwHu7ixZjtGpVl2","type":"payment_link","url":"/v1/payment_links/plink_1MoC3ULkdIwHu7ixZjtGpVl2"},"type":"v1.payment_link.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plink_1MoC3ULkdIwHu7ixZjtGpVl2","type":"payment_link","url":"/v1/payment_links/plink_1MoC3ULkdIwHu7ixZjtGpVl2"},"type":"v1.payment_link.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_link.created"}},"v1.payment_link.updated":{"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":{"kind":"open","values":[{"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":["payment_link"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_link.updated"]}},"description":"Occurs when a payment link is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plink_1MoC3ULkdIwHu7ixZjtGpVl2","type":"payment_link","url":"/v1/payment_links/plink_1MoC3ULkdIwHu7ixZjtGpVl2"},"type":"v1.payment_link.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_link.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plink_1MoC3ULkdIwHu7ixZjtGpVl2","type":"payment_link","url":"/v1/payment_links/plink_1MoC3ULkdIwHu7ixZjtGpVl2"},"type":"v1.payment_link.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plink_1MoC3ULkdIwHu7ixZjtGpVl2","type":"payment_link","url":"/v1/payment_links/plink_1MoC3ULkdIwHu7ixZjtGpVl2"},"type":"v1.payment_link.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_link.updated"}},"v1.payment_method.attached":{"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":{"kind":"open","values":[{"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":["payment_method"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_method.attached"]}},"description":"Occurs whenever a new payment method is attached to a customer.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.attached","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_method.attached","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.attached","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.attached","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_method.attached"}},"v1.payment_method.automatically_updated":{"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":{"kind":"open","values":[{"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":["payment_method"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_method.automatically_updated"]}},"description":"Occurs whenever a payment method's details are automatically updated by the network.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.automatically_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_method.automatically_updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.automatically_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.automatically_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_method.automatically_updated"}},"v1.payment_method.detached":{"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":{"kind":"open","values":[{"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":["payment_method"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_method.detached"]}},"description":"Occurs whenever a payment method is detached from a customer.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.detached","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_method.detached","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.detached","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.detached","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_method.detached"}},"v1.payment_method.updated":{"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":{"kind":"open","values":[{"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":["payment_method"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payment_method.updated"]}},"description":"Occurs whenever a payment method is updated via the [PaymentMethod update API](https://docs.stripe.com/api/payment_methods/update).","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payment_method.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"pm_1Q0PsIJvEtkwdCNYMSaVuRz6","type":"payment_method","url":"/v1/payment_methods/pm_1Q0PsIJvEtkwdCNYMSaVuRz6"},"type":"v1.payment_method.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payment_method.updated"}},"v1.payout.canceled":{"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":{"kind":"open","values":[{"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":["payout"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payout.canceled"]}},"description":"Occurs whenever a payout is canceled.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payout.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payout.canceled"}},"v1.payout.created":{"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":{"kind":"open","values":[{"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":["payout"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payout.created"]}},"description":"Occurs whenever a payout is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payout.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payout.created"}},"v1.payout.failed":{"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":{"kind":"open","values":[{"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":["payout"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payout.failed"]}},"description":"Occurs whenever a payout attempt fails.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payout.failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payout.failed"}},"v1.payout.paid":{"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":{"kind":"open","values":[{"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":["payout"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payout.paid"]}},"description":"Occurs whenever a payout is *expected* to be available in the destination account. If the payout fails, a `payout.failed` notification is also sent, at a later time.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.paid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payout.paid","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.paid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.paid","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payout.paid"}},"v1.payout.reconciliation_completed":{"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":{"kind":"open","values":[{"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":["payout"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payout.reconciliation_completed"]}},"description":"Occurs whenever balance transactions paid out in an automatic payout can be queried.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.reconciliation_completed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payout.reconciliation_completed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.reconciliation_completed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.reconciliation_completed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payout.reconciliation_completed"}},"v1.payout.updated":{"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":{"kind":"open","values":[{"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":["payout"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.payout.updated"]}},"description":"Occurs whenever a payout is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.payout.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"po_1OaFDbEcg9tTZuTgNYmX0PKB","type":"payout","url":"/v1/payouts/po_1OaFDbEcg9tTZuTgNYmX0PKB"},"type":"v1.payout.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.payout.updated"}},"v1.person.created":{"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":{"kind":"open","values":[{"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":["person"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.person.created"]}},"description":"Occurs whenever a person associated with an account is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"person_1N9XNb2eZvKYlo2CjPX7xF6F","type":"person","url":"/v1/account/persons/person_1N9XNb2eZvKYlo2CjPX7xF6F"},"type":"v1.person.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.person.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"person_1N9XNb2eZvKYlo2CjPX7xF6F","type":"person","url":"/v1/account/persons/person_1N9XNb2eZvKYlo2CjPX7xF6F"},"type":"v1.person.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"person_1N9XNb2eZvKYlo2CjPX7xF6F","type":"person","url":"/v1/account/persons/person_1N9XNb2eZvKYlo2CjPX7xF6F"},"type":"v1.person.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.person.created"}},"v1.person.deleted":{"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":{"kind":"open","values":[{"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":["person"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.person.deleted"]}},"description":"Occurs whenever a person associated with an account is deleted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"person_1N9XNb2eZvKYlo2CjPX7xF6F","type":"person","url":"/v1/account/persons/person_1N9XNb2eZvKYlo2CjPX7xF6F"},"type":"v1.person.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.person.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"person_1N9XNb2eZvKYlo2CjPX7xF6F","type":"person","url":"/v1/account/persons/person_1N9XNb2eZvKYlo2CjPX7xF6F"},"type":"v1.person.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"person_1N9XNb2eZvKYlo2CjPX7xF6F","type":"person","url":"/v1/account/persons/person_1N9XNb2eZvKYlo2CjPX7xF6F"},"type":"v1.person.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.person.deleted"}},"v1.person.updated":{"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":{"kind":"open","values":[{"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":["person"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.person.updated"]}},"description":"Occurs whenever a person associated with an account is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"person_1N9XNb2eZvKYlo2CjPX7xF6F","type":"person","url":"/v1/account/persons/person_1N9XNb2eZvKYlo2CjPX7xF6F"},"type":"v1.person.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.person.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"person_1N9XNb2eZvKYlo2CjPX7xF6F","type":"person","url":"/v1/account/persons/person_1N9XNb2eZvKYlo2CjPX7xF6F"},"type":"v1.person.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"person_1N9XNb2eZvKYlo2CjPX7xF6F","type":"person","url":"/v1/account/persons/person_1N9XNb2eZvKYlo2CjPX7xF6F"},"type":"v1.person.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.person.updated"}},"v1.plan.created":{"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":{"kind":"open","values":[{"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":["plan"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.plan.created"]}},"description":"Occurs whenever a plan is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plan_NjpIbv3g3ZibnD","type":"plan","url":"/v1/plans/plan_NjpIbv3g3ZibnD"},"type":"v1.plan.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.plan.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plan_NjpIbv3g3ZibnD","type":"plan","url":"/v1/plans/plan_NjpIbv3g3ZibnD"},"type":"v1.plan.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plan_NjpIbv3g3ZibnD","type":"plan","url":"/v1/plans/plan_NjpIbv3g3ZibnD"},"type":"v1.plan.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.plan.created"}},"v1.plan.deleted":{"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":{"kind":"open","values":[{"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":["plan"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.plan.deleted"]}},"description":"Occurs whenever a plan is deleted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plan_NjpIbv3g3ZibnD","type":"plan","url":"/v1/plans/plan_NjpIbv3g3ZibnD"},"type":"v1.plan.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.plan.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plan_NjpIbv3g3ZibnD","type":"plan","url":"/v1/plans/plan_NjpIbv3g3ZibnD"},"type":"v1.plan.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plan_NjpIbv3g3ZibnD","type":"plan","url":"/v1/plans/plan_NjpIbv3g3ZibnD"},"type":"v1.plan.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.plan.deleted"}},"v1.plan.updated":{"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":{"kind":"open","values":[{"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":["plan"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.plan.updated"]}},"description":"Occurs whenever a plan is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plan_NjpIbv3g3ZibnD","type":"plan","url":"/v1/plans/plan_NjpIbv3g3ZibnD"},"type":"v1.plan.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.plan.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plan_NjpIbv3g3ZibnD","type":"plan","url":"/v1/plans/plan_NjpIbv3g3ZibnD"},"type":"v1.plan.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"plan_NjpIbv3g3ZibnD","type":"plan","url":"/v1/plans/plan_NjpIbv3g3ZibnD"},"type":"v1.plan.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.plan.updated"}},"v1.price.created":{"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":{"kind":"open","values":[{"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":["price"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.price.created"]}},"description":"Occurs whenever a price is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"price_1MoBy5LkdIwHu7ixZhnattbh","type":"price","url":"/v1/prices/price_1MoBy5LkdIwHu7ixZhnattbh"},"type":"v1.price.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.price.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"price_1MoBy5LkdIwHu7ixZhnattbh","type":"price","url":"/v1/prices/price_1MoBy5LkdIwHu7ixZhnattbh"},"type":"v1.price.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"price_1MoBy5LkdIwHu7ixZhnattbh","type":"price","url":"/v1/prices/price_1MoBy5LkdIwHu7ixZhnattbh"},"type":"v1.price.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.price.created"}},"v1.price.deleted":{"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":{"kind":"open","values":[{"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":["price"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.price.deleted"]}},"description":"Occurs whenever a price is deleted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"price_1MoBy5LkdIwHu7ixZhnattbh","type":"price","url":"/v1/prices/price_1MoBy5LkdIwHu7ixZhnattbh"},"type":"v1.price.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.price.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"price_1MoBy5LkdIwHu7ixZhnattbh","type":"price","url":"/v1/prices/price_1MoBy5LkdIwHu7ixZhnattbh"},"type":"v1.price.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"price_1MoBy5LkdIwHu7ixZhnattbh","type":"price","url":"/v1/prices/price_1MoBy5LkdIwHu7ixZhnattbh"},"type":"v1.price.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.price.deleted"}},"v1.price.updated":{"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":{"kind":"open","values":[{"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":["price"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.price.updated"]}},"description":"Occurs whenever a price is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"price_1MoBy5LkdIwHu7ixZhnattbh","type":"price","url":"/v1/prices/price_1MoBy5LkdIwHu7ixZhnattbh"},"type":"v1.price.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.price.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"price_1MoBy5LkdIwHu7ixZhnattbh","type":"price","url":"/v1/prices/price_1MoBy5LkdIwHu7ixZhnattbh"},"type":"v1.price.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"price_1MoBy5LkdIwHu7ixZhnattbh","type":"price","url":"/v1/prices/price_1MoBy5LkdIwHu7ixZhnattbh"},"type":"v1.price.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.price.updated"}},"v1.product.created":{"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":{"kind":"open","values":[{"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":["product"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.product.created"]}},"description":"Occurs whenever a product is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prod_NWjs8kKbJWmuuc","type":"product","url":"/v1/products/prod_NWjs8kKbJWmuuc"},"type":"v1.product.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.product.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prod_NWjs8kKbJWmuuc","type":"product","url":"/v1/products/prod_NWjs8kKbJWmuuc"},"type":"v1.product.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prod_NWjs8kKbJWmuuc","type":"product","url":"/v1/products/prod_NWjs8kKbJWmuuc"},"type":"v1.product.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.product.created"}},"v1.product.deleted":{"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":{"kind":"open","values":[{"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":["product"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.product.deleted"]}},"description":"Occurs whenever a product is deleted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prod_NWjs8kKbJWmuuc","type":"product","url":"/v1/products/prod_NWjs8kKbJWmuuc"},"type":"v1.product.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.product.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prod_NWjs8kKbJWmuuc","type":"product","url":"/v1/products/prod_NWjs8kKbJWmuuc"},"type":"v1.product.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prod_NWjs8kKbJWmuuc","type":"product","url":"/v1/products/prod_NWjs8kKbJWmuuc"},"type":"v1.product.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.product.deleted"}},"v1.product.updated":{"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":{"kind":"open","values":[{"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":["product"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.product.updated"]}},"description":"Occurs whenever a product is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prod_NWjs8kKbJWmuuc","type":"product","url":"/v1/products/prod_NWjs8kKbJWmuuc"},"type":"v1.product.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.product.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prod_NWjs8kKbJWmuuc","type":"product","url":"/v1/products/prod_NWjs8kKbJWmuuc"},"type":"v1.product.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prod_NWjs8kKbJWmuuc","type":"product","url":"/v1/products/prod_NWjs8kKbJWmuuc"},"type":"v1.product.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.product.updated"}},"v1.promotion_code.created":{"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":{"kind":"open","values":[{"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":["promotion_code"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.promotion_code.created"]}},"description":"Occurs whenever a promotion code is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"promo_1MiM6KLkdIwHu7ixrIaX4wgn","type":"promotion_code","url":"/v1/promotion_codes/promo_1MiM6KLkdIwHu7ixrIaX4wgn"},"type":"v1.promotion_code.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.promotion_code.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"promo_1MiM6KLkdIwHu7ixrIaX4wgn","type":"promotion_code","url":"/v1/promotion_codes/promo_1MiM6KLkdIwHu7ixrIaX4wgn"},"type":"v1.promotion_code.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"promo_1MiM6KLkdIwHu7ixrIaX4wgn","type":"promotion_code","url":"/v1/promotion_codes/promo_1MiM6KLkdIwHu7ixrIaX4wgn"},"type":"v1.promotion_code.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.promotion_code.created"}},"v1.promotion_code.updated":{"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":{"kind":"open","values":[{"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":["promotion_code"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.promotion_code.updated"]}},"description":"Occurs whenever a promotion code is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"promo_1MiM6KLkdIwHu7ixrIaX4wgn","type":"promotion_code","url":"/v1/promotion_codes/promo_1MiM6KLkdIwHu7ixrIaX4wgn"},"type":"v1.promotion_code.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.promotion_code.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"promo_1MiM6KLkdIwHu7ixrIaX4wgn","type":"promotion_code","url":"/v1/promotion_codes/promo_1MiM6KLkdIwHu7ixrIaX4wgn"},"type":"v1.promotion_code.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"promo_1MiM6KLkdIwHu7ixrIaX4wgn","type":"promotion_code","url":"/v1/promotion_codes/promo_1MiM6KLkdIwHu7ixrIaX4wgn"},"type":"v1.promotion_code.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.promotion_code.updated"}},"v1.quote.accepted":{"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":{"kind":"open","values":[{"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":["quote"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.quote.accepted"]}},"description":"Occurs whenever a quote is accepted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.accepted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.quote.accepted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.accepted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.accepted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.quote.accepted"}},"v1.quote.canceled":{"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":{"kind":"open","values":[{"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":["quote"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.quote.canceled"]}},"description":"Occurs whenever a quote is canceled.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.quote.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.quote.canceled"}},"v1.quote.created":{"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":{"kind":"open","values":[{"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":["quote"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.quote.created"]}},"description":"Occurs whenever a quote is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.quote.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.quote.created"}},"v1.quote.finalized":{"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":{"kind":"open","values":[{"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":["quote"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.quote.finalized"]}},"description":"Occurs whenever a quote is finalized.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.finalized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.quote.finalized","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.finalized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"qt_1Mr7wVLkdIwHu7ixJYSiPTGq","type":"quote","url":"/v1/quotes/qt_1Mr7wVLkdIwHu7ixJYSiPTGq"},"type":"v1.quote.finalized","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.quote.finalized"}},"v1.radar.early_fraud_warning.created":{"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":{"kind":"open","values":[{"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":["radar.early_fraud_warning"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.radar.early_fraud_warning.created"]}},"description":"Occurs whenever an early fraud warning is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"issfr_1NnrwHBw2dPENLoi9lnhV3RQ","type":"radar.early_fraud_warning","url":"/v1/radar/early_fraud_warnings/issfr_1NnrwHBw2dPENLoi9lnhV3RQ"},"type":"v1.radar.early_fraud_warning.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.radar.early_fraud_warning.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"issfr_1NnrwHBw2dPENLoi9lnhV3RQ","type":"radar.early_fraud_warning","url":"/v1/radar/early_fraud_warnings/issfr_1NnrwHBw2dPENLoi9lnhV3RQ"},"type":"v1.radar.early_fraud_warning.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"issfr_1NnrwHBw2dPENLoi9lnhV3RQ","type":"radar.early_fraud_warning","url":"/v1/radar/early_fraud_warnings/issfr_1NnrwHBw2dPENLoi9lnhV3RQ"},"type":"v1.radar.early_fraud_warning.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.radar.early_fraud_warning.created"}},"v1.radar.early_fraud_warning.updated":{"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":{"kind":"open","values":[{"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":["radar.early_fraud_warning"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.radar.early_fraud_warning.updated"]}},"description":"Occurs whenever an early fraud warning is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"issfr_1NnrwHBw2dPENLoi9lnhV3RQ","type":"radar.early_fraud_warning","url":"/v1/radar/early_fraud_warnings/issfr_1NnrwHBw2dPENLoi9lnhV3RQ"},"type":"v1.radar.early_fraud_warning.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.radar.early_fraud_warning.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"issfr_1NnrwHBw2dPENLoi9lnhV3RQ","type":"radar.early_fraud_warning","url":"/v1/radar/early_fraud_warnings/issfr_1NnrwHBw2dPENLoi9lnhV3RQ"},"type":"v1.radar.early_fraud_warning.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"issfr_1NnrwHBw2dPENLoi9lnhV3RQ","type":"radar.early_fraud_warning","url":"/v1/radar/early_fraud_warnings/issfr_1NnrwHBw2dPENLoi9lnhV3RQ"},"type":"v1.radar.early_fraud_warning.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.radar.early_fraud_warning.updated"}},"v1.refund.created":{"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":{"kind":"open","values":[{"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":["refund"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.refund.created"]}},"description":"Occurs whenever a refund is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.refund.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.refund.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.refund.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.refund.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.refund.created"}},"v1.refund.failed":{"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":{"kind":"open","values":[{"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":["refund"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.refund.failed"]}},"description":"Occurs whenever a refund has failed.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.refund.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.refund.failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.refund.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.refund.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.refund.failed"}},"v1.refund.updated":{"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":{"kind":"open","values":[{"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":["refund"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.refund.updated"]}},"description":"Occurs whenever a refund is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.refund.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.refund.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.refund.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"re_1Nispe2eZvKYlo2Cd31jOCgZ","type":"refund","url":"/v1/refunds/re_1Nispe2eZvKYlo2Cd31jOCgZ"},"type":"v1.refund.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.refund.updated"}},"v1.review.closed":{"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":{"kind":"open","values":[{"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":["review"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.review.closed"]}},"description":"Occurs whenever a review is closed. The review's `reason` field indicates why: `approved`, `disputed`, `refunded`, `refunded_as_fraud`, or `canceled`.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prv_1NVyFt2eZvKYlo2CjubqF1xm","type":"review","url":"/v1/reviews/prv_1NVyFt2eZvKYlo2CjubqF1xm"},"type":"v1.review.closed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.review.closed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prv_1NVyFt2eZvKYlo2CjubqF1xm","type":"review","url":"/v1/reviews/prv_1NVyFt2eZvKYlo2CjubqF1xm"},"type":"v1.review.closed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prv_1NVyFt2eZvKYlo2CjubqF1xm","type":"review","url":"/v1/reviews/prv_1NVyFt2eZvKYlo2CjubqF1xm"},"type":"v1.review.closed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.review.closed"}},"v1.review.opened":{"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":{"kind":"open","values":[{"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":["review"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.review.opened"]}},"description":"Occurs whenever a review is opened.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prv_1NVyFt2eZvKYlo2CjubqF1xm","type":"review","url":"/v1/reviews/prv_1NVyFt2eZvKYlo2CjubqF1xm"},"type":"v1.review.opened","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.review.opened","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prv_1NVyFt2eZvKYlo2CjubqF1xm","type":"review","url":"/v1/reviews/prv_1NVyFt2eZvKYlo2CjubqF1xm"},"type":"v1.review.opened","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"prv_1NVyFt2eZvKYlo2CjubqF1xm","type":"review","url":"/v1/reviews/prv_1NVyFt2eZvKYlo2CjubqF1xm"},"type":"v1.review.opened","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.review.opened"}},"v1.setup_intent.canceled":{"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":{"kind":"open","values":[{"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":["setup_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.setup_intent.canceled"]}},"description":"Occurs when a SetupIntent is canceled.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.setup_intent.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.setup_intent.canceled"}},"v1.setup_intent.created":{"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":{"kind":"open","values":[{"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":["setup_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.setup_intent.created"]}},"description":"Occurs when a new SetupIntent is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.setup_intent.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.setup_intent.created"}},"v1.setup_intent.requires_action":{"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":{"kind":"open","values":[{"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":["setup_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.setup_intent.requires_action"]}},"description":"Occurs when a SetupIntent is in requires_action state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.requires_action","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.setup_intent.requires_action","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.requires_action","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.requires_action","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.setup_intent.requires_action"}},"v1.setup_intent.setup_failed":{"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":{"kind":"open","values":[{"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":["setup_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.setup_intent.setup_failed"]}},"description":"Occurs when a SetupIntent has failed the attempt to setup a payment method.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.setup_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.setup_intent.setup_failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.setup_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.setup_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.setup_intent.setup_failed"}},"v1.setup_intent.succeeded":{"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":{"kind":"open","values":[{"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":["setup_intent"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.setup_intent.succeeded"]}},"description":"Occurs when a SetupIntent has successfully setup a payment method.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.setup_intent.succeeded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"seti_1Mm8s8LkdIwHu7ix0OXBfTRG","type":"setup_intent","url":"/v1/setup_intents/seti_1Mm8s8LkdIwHu7ix0OXBfTRG"},"type":"v1.setup_intent.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.setup_intent.succeeded"}},"v1.sigma.scheduled_query_run.created":{"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":{"kind":"open","values":[{"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":["scheduled_query_run"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.sigma.scheduled_query_run.created"]}},"description":"Occurs whenever a Sigma scheduled query run finishes.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sqr_1Pgc7AB7WZ01zgkWvpIic1Da","type":"scheduled_query_run","url":"/v1/sigma/scheduled_query_runs/sqr_1Pgc7AB7WZ01zgkWvpIic1Da"},"type":"v1.sigma.scheduled_query_run.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.sigma.scheduled_query_run.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sqr_1Pgc7AB7WZ01zgkWvpIic1Da","type":"scheduled_query_run","url":"/v1/sigma/scheduled_query_runs/sqr_1Pgc7AB7WZ01zgkWvpIic1Da"},"type":"v1.sigma.scheduled_query_run.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sqr_1Pgc7AB7WZ01zgkWvpIic1Da","type":"scheduled_query_run","url":"/v1/sigma/scheduled_query_runs/sqr_1Pgc7AB7WZ01zgkWvpIic1Da"},"type":"v1.sigma.scheduled_query_run.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.sigma.scheduled_query_run.created"}},"v1.source.canceled":{"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":{"kind":"open","values":[{"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":["source"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.source.canceled"]}},"description":"Occurs whenever a source is canceled.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.source.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.source.canceled"}},"v1.source.chargeable":{"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":{"kind":"open","values":[{"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":["source"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.source.chargeable"]}},"description":"Occurs whenever a source transitions to chargeable.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.chargeable","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.source.chargeable","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.chargeable","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.chargeable","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.source.chargeable"}},"v1.source.failed":{"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":{"kind":"open","values":[{"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":["source"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.source.failed"]}},"description":"Occurs whenever a source fails.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.source.failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.source.failed"}},"v1.source.refund_attributes_required":{"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":{"kind":"open","values":[{"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":["source"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.source.refund_attributes_required"]}},"description":"Occurs whenever the refund attributes are required on a receiver source to process a refund or a mispayment.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.refund_attributes_required","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.source.refund_attributes_required","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.refund_attributes_required","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"src_1N3lxdLkdIwHu7ixPHXy8UcI","type":"source","url":"/v1/sources/src_1N3lxdLkdIwHu7ixPHXy8UcI"},"type":"v1.source.refund_attributes_required","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.source.refund_attributes_required"}},"v1.subscription_schedule.aborted":{"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":{"kind":"open","values":[{"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":["subscription_schedule"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.subscription_schedule.aborted"]}},"description":"Occurs whenever a subscription schedule is canceled due to the underlying subscription being canceled because of delinquency.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.aborted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.subscription_schedule.aborted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.aborted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.aborted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.subscription_schedule.aborted"}},"v1.subscription_schedule.canceled":{"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":{"kind":"open","values":[{"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":["subscription_schedule"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.subscription_schedule.canceled"]}},"description":"Occurs whenever a subscription schedule is canceled.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.subscription_schedule.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.subscription_schedule.canceled"}},"v1.subscription_schedule.completed":{"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":{"kind":"open","values":[{"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":["subscription_schedule"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.subscription_schedule.completed"]}},"description":"Occurs whenever a new subscription schedule is completed.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.completed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.subscription_schedule.completed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.completed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.completed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.subscription_schedule.completed"}},"v1.subscription_schedule.created":{"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":{"kind":"open","values":[{"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":["subscription_schedule"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.subscription_schedule.created"]}},"description":"Occurs whenever a new subscription schedule is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.subscription_schedule.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.subscription_schedule.created"}},"v1.subscription_schedule.expiring":{"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":{"kind":"open","values":[{"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":["subscription_schedule"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.subscription_schedule.expiring"]}},"description":"Occurs 7 days before a subscription schedule will expire.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.expiring","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.subscription_schedule.expiring","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.expiring","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.expiring","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.subscription_schedule.expiring"}},"v1.subscription_schedule.released":{"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":{"kind":"open","values":[{"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":["subscription_schedule"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.subscription_schedule.released"]}},"description":"Occurs whenever a new subscription schedule is released.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.released","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.subscription_schedule.released","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.released","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.released","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.subscription_schedule.released"}},"v1.subscription_schedule.updated":{"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":{"kind":"open","values":[{"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":["subscription_schedule"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.subscription_schedule.updated"]}},"description":"Occurs whenever a subscription schedule is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.subscription_schedule.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"sub_sched_1Mr3YdLkdIwHu7ixjop3qtff","type":"subscription_schedule","url":"/v1/subscription_schedules/sub_sched_1Mr3YdLkdIwHu7ixjop3qtff"},"type":"v1.subscription_schedule.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.subscription_schedule.updated"}},"v1.tax.settings.updated":{"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":{"kind":"open","values":[{"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.","nullable":true},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["tax.settings"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.tax.settings.updated"]}},"description":"Occurs whenever tax settings is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"tax.settings","url":"/v1/tax/settings"},"type":"v1.tax.settings.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.tax.settings.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"tax.settings","url":"/v1/tax/settings"},"type":"v1.tax.settings.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":null,"type":"tax.settings","url":"/v1/tax/settings"},"type":"v1.tax.settings.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.tax.settings.updated"}},"v1.tax_rate.created":{"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":{"kind":"open","values":[{"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":["tax_rate"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.tax_rate.created"]}},"description":"Occurs whenever a new tax rate is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txr_1MzS4RLkdIwHu7ixwvpZ9c2i","type":"tax_rate","url":"/v1/tax_rates/txr_1MzS4RLkdIwHu7ixwvpZ9c2i"},"type":"v1.tax_rate.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.tax_rate.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txr_1MzS4RLkdIwHu7ixwvpZ9c2i","type":"tax_rate","url":"/v1/tax_rates/txr_1MzS4RLkdIwHu7ixwvpZ9c2i"},"type":"v1.tax_rate.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txr_1MzS4RLkdIwHu7ixwvpZ9c2i","type":"tax_rate","url":"/v1/tax_rates/txr_1MzS4RLkdIwHu7ixwvpZ9c2i"},"type":"v1.tax_rate.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.tax_rate.created"}},"v1.tax_rate.updated":{"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":{"kind":"open","values":[{"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":["tax_rate"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.tax_rate.updated"]}},"description":"Occurs whenever a tax rate is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txr_1MzS4RLkdIwHu7ixwvpZ9c2i","type":"tax_rate","url":"/v1/tax_rates/txr_1MzS4RLkdIwHu7ixwvpZ9c2i"},"type":"v1.tax_rate.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.tax_rate.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txr_1MzS4RLkdIwHu7ixwvpZ9c2i","type":"tax_rate","url":"/v1/tax_rates/txr_1MzS4RLkdIwHu7ixwvpZ9c2i"},"type":"v1.tax_rate.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"txr_1MzS4RLkdIwHu7ixwvpZ9c2i","type":"tax_rate","url":"/v1/tax_rates/txr_1MzS4RLkdIwHu7ixwvpZ9c2i"},"type":"v1.tax_rate.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.tax_rate.updated"}},"v1.terminal.reader.action_failed":{"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":{"kind":"open","values":[{"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":["terminal.reader"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.terminal.reader.action_failed"]}},"description":"Occurs whenever an action sent to a Terminal reader failed.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tmr_FDOt2wlRZEdpd7","type":"terminal.reader","url":"/v1/terminal/readers/tmr_FDOt2wlRZEdpd7"},"type":"v1.terminal.reader.action_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.terminal.reader.action_failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tmr_FDOt2wlRZEdpd7","type":"terminal.reader","url":"/v1/terminal/readers/tmr_FDOt2wlRZEdpd7"},"type":"v1.terminal.reader.action_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tmr_FDOt2wlRZEdpd7","type":"terminal.reader","url":"/v1/terminal/readers/tmr_FDOt2wlRZEdpd7"},"type":"v1.terminal.reader.action_failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.terminal.reader.action_failed"}},"v1.terminal.reader.action_succeeded":{"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":{"kind":"open","values":[{"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":["terminal.reader"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.terminal.reader.action_succeeded"]}},"description":"Occurs whenever an action sent to a Terminal reader was successful.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tmr_FDOt2wlRZEdpd7","type":"terminal.reader","url":"/v1/terminal/readers/tmr_FDOt2wlRZEdpd7"},"type":"v1.terminal.reader.action_succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.terminal.reader.action_succeeded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tmr_FDOt2wlRZEdpd7","type":"terminal.reader","url":"/v1/terminal/readers/tmr_FDOt2wlRZEdpd7"},"type":"v1.terminal.reader.action_succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tmr_FDOt2wlRZEdpd7","type":"terminal.reader","url":"/v1/terminal/readers/tmr_FDOt2wlRZEdpd7"},"type":"v1.terminal.reader.action_succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.terminal.reader.action_succeeded"}},"v1.terminal.reader.action_updated":{"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":{"kind":"open","values":[{"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":["terminal.reader"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.terminal.reader.action_updated"]}},"description":"Occurs whenever an action sent to a Terminal reader is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tmr_FDOt2wlRZEdpd7","type":"terminal.reader","url":"/v1/terminal/readers/tmr_FDOt2wlRZEdpd7"},"type":"v1.terminal.reader.action_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.terminal.reader.action_updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tmr_FDOt2wlRZEdpd7","type":"terminal.reader","url":"/v1/terminal/readers/tmr_FDOt2wlRZEdpd7"},"type":"v1.terminal.reader.action_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tmr_FDOt2wlRZEdpd7","type":"terminal.reader","url":"/v1/terminal/readers/tmr_FDOt2wlRZEdpd7"},"type":"v1.terminal.reader.action_updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.terminal.reader.action_updated"}},"v1.test_helpers.test_clock.advancing":{"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":{"kind":"open","values":[{"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":["test_helpers.test_clock"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.test_helpers.test_clock.advancing"]}},"description":"Occurs whenever a test clock starts advancing.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.advancing","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.test_helpers.test_clock.advancing","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.advancing","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.advancing","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.test_helpers.test_clock.advancing"}},"v1.test_helpers.test_clock.created":{"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":{"kind":"open","values":[{"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":["test_helpers.test_clock"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.test_helpers.test_clock.created"]}},"description":"Occurs whenever a test clock is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.test_helpers.test_clock.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.test_helpers.test_clock.created"}},"v1.test_helpers.test_clock.deleted":{"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":{"kind":"open","values":[{"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":["test_helpers.test_clock"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.test_helpers.test_clock.deleted"]}},"description":"Occurs whenever a test clock is deleted.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.test_helpers.test_clock.deleted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.deleted","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.test_helpers.test_clock.deleted"}},"v1.test_helpers.test_clock.internal_failure":{"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":{"kind":"open","values":[{"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":["test_helpers.test_clock"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.test_helpers.test_clock.internal_failure"]}},"description":"Occurs whenever a test clock fails to advance its frozen time.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.internal_failure","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.test_helpers.test_clock.internal_failure","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.internal_failure","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.internal_failure","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.test_helpers.test_clock.internal_failure"}},"v1.test_helpers.test_clock.ready":{"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":{"kind":"open","values":[{"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":["test_helpers.test_clock"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.test_helpers.test_clock.ready"]}},"description":"Occurs whenever a test clock transitions to a ready status.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.ready","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.test_helpers.test_clock.ready","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.ready","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"clock_1Mr3I22eZvKYlo2Ck0rgMqd7","type":"test_helpers.test_clock","url":"/v1/test_helpers/test_clocks/clock_1Mr3I22eZvKYlo2Ck0rgMqd7"},"type":"v1.test_helpers.test_clock.ready","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.test_helpers.test_clock.ready"}},"v1.topup.canceled":{"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":{"kind":"open","values":[{"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":["topup"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.topup.canceled"]}},"description":"Occurs whenever a top-up is canceled.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.topup.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.canceled","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.topup.canceled"}},"v1.topup.created":{"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":{"kind":"open","values":[{"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":["topup"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.topup.created"]}},"description":"Occurs whenever a top-up is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.topup.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.topup.created"}},"v1.topup.failed":{"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":{"kind":"open","values":[{"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":["topup"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.topup.failed"]}},"description":"Occurs whenever a top-up fails.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.topup.failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.failed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.topup.failed"}},"v1.topup.reversed":{"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":{"kind":"open","values":[{"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":["topup"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.topup.reversed"]}},"description":"Occurs whenever a top-up is reversed.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.reversed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.topup.reversed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.reversed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.reversed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.topup.reversed"}},"v1.topup.succeeded":{"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":{"kind":"open","values":[{"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":["topup"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.topup.succeeded"]}},"description":"Occurs whenever a top-up succeeds.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.topup.succeeded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tu_1NG6yj2eZvKYlo2C1FOBiHya","type":"topup","url":"/v1/topups/tu_1NG6yj2eZvKYlo2C1FOBiHya"},"type":"v1.topup.succeeded","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.topup.succeeded"}},"v1.transfer.created":{"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":{"kind":"open","values":[{"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":["transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.transfer.created"]}},"description":"Occurs whenever a transfer is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tr_1MiN3gLkdIwHu7ixNCZvFdgA","type":"transfer","url":"/v1/transfers/tr_1MiN3gLkdIwHu7ixNCZvFdgA"},"type":"v1.transfer.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.transfer.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tr_1MiN3gLkdIwHu7ixNCZvFdgA","type":"transfer","url":"/v1/transfers/tr_1MiN3gLkdIwHu7ixNCZvFdgA"},"type":"v1.transfer.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tr_1MiN3gLkdIwHu7ixNCZvFdgA","type":"transfer","url":"/v1/transfers/tr_1MiN3gLkdIwHu7ixNCZvFdgA"},"type":"v1.transfer.created","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.transfer.created"}},"v1.transfer.reversed":{"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":{"kind":"open","values":[{"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":["transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.transfer.reversed"]}},"description":"Occurs whenever a transfer is reversed, including partial reversals.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tr_1MiN3gLkdIwHu7ixNCZvFdgA","type":"transfer","url":"/v1/transfers/tr_1MiN3gLkdIwHu7ixNCZvFdgA"},"type":"v1.transfer.reversed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.transfer.reversed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tr_1MiN3gLkdIwHu7ixNCZvFdgA","type":"transfer","url":"/v1/transfers/tr_1MiN3gLkdIwHu7ixNCZvFdgA"},"type":"v1.transfer.reversed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tr_1MiN3gLkdIwHu7ixNCZvFdgA","type":"transfer","url":"/v1/transfers/tr_1MiN3gLkdIwHu7ixNCZvFdgA"},"type":"v1.transfer.reversed","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.transfer.reversed"}},"v1.transfer.updated":{"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":{"kind":"open","values":[{"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":["transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v1.transfer.updated"]}},"description":"Occurs whenever a transfer's description or metadata is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tr_1MiN3gLkdIwHu7ixNCZvFdgA","type":"transfer","url":"/v1/transfers/tr_1MiN3gLkdIwHu7ixNCZvFdgA"},"type":"v1.transfer.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}},"x-stableId":"v1.transfer.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tr_1MiN3gLkdIwHu7ixNCZvFdgA","type":"transfer","url":"/v1/transfers/tr_1MiN3gLkdIwHu7ixNCZvFdgA"},"type":"v1.transfer.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65TKLQpAv1Sm67uODUs16TKLJo0qSQNzPlJ0NZGpF32MVk","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_yK7ktaG8CO3xK5","idempotency_key":"672c7b35-f590-4946-bdcf-1206bcd52530"}},"related_object":{"id":"tr_1MiN3gLkdIwHu7ixNCZvFdgA","type":"transfer","url":"/v1/transfers/tr_1MiN3gLkdIwHu7ixNCZvFdgA"},"type":"v1.transfer.updated","snapshot_event":"evt_1SAxTSNX9ddFk9bgxDuoHH3A","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v1.transfer.updated"}},"v2.billing.bill_setting":{"title":"Bill Setting","required":["created","id","latest_version","live_version","livemode","object"],"type":"object","properties":{"calculation":{"type":"object","properties":{"tax":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to \"manual\".","enum":["automatic","manual"],"x-stripeEnum":{"kind":"open","values":[{"description":"Tax is calculated automatically based on a PTC.","value":"automatic"},{"description":"Tax is calculated based on rules defined by the business.","value":"manual"}]}}},"description":"Settings for calculating tax."}},"description":"Settings related to calculating a bill."},"created":{"type":"string","description":"Timestamp of when the object was created.","format":"date-time"},"display_name":{"type":"string","description":"An optional field for adding a display name for the BillSetting object."},"id":{"type":"string","description":"The ID of the BillSetting object."},"invoice":{"type":"object","properties":{"time_until_due":{"required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"The interval unit for the time until due.","enum":["day","month","week","year"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Daily interval.","value":"day"},{"description":"Monthly interval.","value":"month"},{"description":"Weekly interval.","value":"week"},{"description":"Yearly interval.","value":"year"}]}},"interval_count":{"type":"integer","description":"The number of interval units. For example, if interval=day and interval_count=30,\nthe invoice is due in 30 days."}},"description":"The amount of time until the invoice is overdue for payment."}},"description":"Settings related to invoice behavior."},"invoice_rendering_template":{"type":"string","description":"The ID of the invoice rendering template to be used when generating invoices."},"latest_version":{"type":"string","description":"The latest version of the current settings object. This is\nupdated every time an attribute of the settings is updated."},"live_version":{"type":"string","description":"The current live version of the settings object. This can be different from\nlatest_version if settings are updated without setting live_version='latest'."},"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."},"lookup_key":{"type":"string","description":"A lookup key used to retrieve settings dynamically from a static string.\nThis may be up to 200 characters."},"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.bill_setting"]}},"description":"BillSetting is responsible for settings which dictate generating bills, which include settings for calculating totals on bills, tax on bill items, as well as how to generate and present invoices.","example":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum"},"x-resourceId":"v2.billing.bill_setting","x-stableId":"v2_resource_bill_setting","x-stripeDocsSamples":[{"response":{"id":"bblset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.bill_setting","calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bblsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/billing/bill_settings"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/billing/bill_settings"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/billing/bill_settings/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/billing/bill_settings/{id}"}],"x-stripeResource":{"class_name":"BillSetting","in_package":"v2.billing"}},"v2.billing.bill_setting_version":{"title":"Bill Setting Version","required":["created","id","livemode","object"],"type":"object","properties":{"calculation":{"type":"object","properties":{"tax":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to \"manual\".","enum":["automatic","manual"],"x-stripeEnum":{"kind":"open","values":[{"description":"Tax is calculated automatically based on a PTC.","value":"automatic"},{"description":"Tax is calculated based on rules defined by the business.","value":"manual"}]}}},"description":"Settings for calculating tax."}},"description":"Settings related to calculating a bill."},"created":{"type":"string","description":"Timestamp of when the object was created.","format":"date-time"},"id":{"type":"string","description":"The ID of the BillSettingVersion object."},"invoice":{"type":"object","properties":{"time_until_due":{"required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"The interval unit for the time until due.","enum":["day","month","week","year"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Daily interval.","value":"day"},{"description":"Monthly interval.","value":"month"},{"description":"Weekly interval.","value":"week"},{"description":"Yearly interval.","value":"year"}]}},"interval_count":{"type":"integer","description":"The number of interval units. For example, if interval=day and interval_count=30,\nthe invoice is due in 30 days."}},"description":"The amount of time until the invoice is overdue for payment."}},"description":"Settings related to invoice behavior."},"invoice_rendering_template":{"type":"string","description":"The ID of the invoice rendering template to be used when generating invoices."},"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.bill_setting_version"]}},"description":"A Bill Setting Version is a specific configuration of a BillSetting at a point in time. Bill Setting Versions enable you to track changes to bill generation and invoice settings over time and manage which version is active for new billing operations.","example":{"calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T00:00:00.000Z","id":"bblsetv_test_61T2gNXz4yci3XdEH16Sg5eV2tSQs27bdBltKwQGm4k4","invoice":{"time_until_due":{"interval":"day","interval_count":1}},"invoice_rendering_template":"inrtem_test_1RYqt9H5wvQ9UC0Vtppz2bSj","object":"v2.billing.bill_setting_version","livemode":true},"x-resourceId":"v2.billing.bill_setting_version","x-stableId":"v2_resource_bill_setting_version","x-stripeDocsSamples":[{"response":{"calculation":{"tax":{"type":"automatic"}},"created":"2025-01-01T00:00:00.000Z","id":"bblsetv_test_61T2gNXz4yci3XdEH16Sg5eV2tSQs27bdBltKwQGm4k4","invoice":{"time_until_due":{"interval":"day","interval_count":1}},"invoice_rendering_template":"inrtem_test_1RYqt9H5wvQ9UC0Vtppz2bSj","object":"v2.billing.bill_setting_version","livemode":true}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/billing/bill_settings/{bill_setting_id}/versions"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/billing/bill_settings/{bill_setting_id}/versions/{id}"}],"x-stripeResource":{"class_name":"BillSettingVersion","in_package":"v2.billing","parent":"v2.billing.bill_setting"}},"v2.billing.cadence":{"title":"Billing Cadence","required":["billing_cycle","created","id","livemode","object","payer","status"],"type":"object","properties":{"billing_cycle":{"required":["interval_count","type"],"type":"object","properties":{"day":{"required":["time"],"type":"object","properties":{"time":{"required":["hour","minute"],"type":"object","properties":{"hour":{"type":"integer","description":"The hour at which the billing cycle ends.\nThis must be an integer between 0 and 23, inclusive.\n0 represents midnight, and 23 represents 11 PM."},"minute":{"type":"integer","description":"The minute at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."},"second":{"type":"integer","description":"The second at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."}},"description":"The time at which the billing cycle ends."}},"description":"Specific configuration for determining billing dates when type=day."},"interval_count":{"type":"integer","description":"The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months."},"month":{"required":["day_of_month","time"],"type":"object","properties":{"day_of_month":{"type":"integer","description":"The day to anchor the billing on for a type=\"month\" billing cycle from 1-31.\nIf this number is greater than the number of days in the month being billed,\nthis anchors to the last day of the month."},"month_of_year":{"type":"integer","description":"The month to anchor the billing on for a type=\"month\" billing cycle from\n1-12. Occurrences are calculated from the month anchor."},"time":{"required":["hour","minute"],"type":"object","properties":{"hour":{"type":"integer","description":"The hour at which the billing cycle ends.\nThis must be an integer between 0 and 23, inclusive.\n0 represents midnight, and 23 represents 11 PM."},"minute":{"type":"integer","description":"The minute at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."},"second":{"type":"integer","description":"The second at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."}},"description":"The time at which the billing cycle ends."}},"description":"Specific configuration for determining billing dates when type=month."},"type":{"type":"string","description":"The frequency at which a cadence bills.","enum":["day","month","week","year"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bill the payer daily.","value":"day"},{"description":"Bill the payer monthly.","value":"month"},{"description":"Bill the payer weekly.","value":"week"},{"description":"Bill the payer yearly.","value":"year"}]}},"week":{"required":["day_of_week","time"],"type":"object","properties":{"day_of_week":{"type":"integer","description":"The day of the week to bill the type=week billing cycle on.\nNumbered from 1-7 for Monday to Sunday respectively, based on the ISO-8601 week day numbering."},"time":{"required":["hour","minute"],"type":"object","properties":{"hour":{"type":"integer","description":"The hour at which the billing cycle ends.\nThis must be an integer between 0 and 23, inclusive.\n0 represents midnight, and 23 represents 11 PM."},"minute":{"type":"integer","description":"The minute at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."},"second":{"type":"integer","description":"The second at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."}},"description":"The time at which the billing cycle ends."}},"description":"Specific configuration for determining billing dates when type=week."},"year":{"required":["day_of_month","month_of_year","time"],"type":"object","properties":{"day_of_month":{"type":"integer","description":"The day to anchor the billing on for a type=\"month\" billing cycle from 1-31.\nIf this number is greater than the number of days in the month being billed,\nthis anchors to the last day of the month."},"month_of_year":{"type":"integer","description":"The month to bill on from 1-12. If not provided, this defaults to the month the cadence was created."},"time":{"required":["hour","minute"],"type":"object","properties":{"hour":{"type":"integer","description":"The hour at which the billing cycle ends.\nThis must be an integer between 0 and 23, inclusive.\n0 represents midnight, and 23 represents 11 PM."},"minute":{"type":"integer","description":"The minute at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."},"second":{"type":"integer","description":"The second at which the billing cycle ends.\nMust be an integer between 0 and 59, inclusive."}},"description":"The time at which the billing cycle ends."}},"description":"Specific configuration for determining billing dates when type=year."}},"description":"The billing cycle is the object that defines future billing cycle dates."},"created":{"type":"string","description":"Timestamp of when the object was created.","format":"date-time"},"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."},"lookup_key":{"type":"string","description":"A lookup key used to retrieve cadences dynamically from a static string. Maximum length of 200 characters."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"next_billing_date":{"type":"string","description":"The date that the billing cadence will next bill. Null if the cadence is not active.","format":"date-time"},"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.cadence"]},"payer":{"required":["billing_profile","type"],"type":"object","properties":{"billing_profile":{"type":"string","description":"The ID of the Billing Profile object which determines how a bill is paid.","x-stripeNotPublic":true,"x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.billing.profile"}}},"customer":{"type":"string","description":"The ID of the Customer object."},"type":{"type":"string","description":"A string identifying the type of the payer. Currently the only supported value is `customer`.","enum":["customer"],"x-stripeEnum":{"kind":"open","values":[{"description":"The payer is associated with a Customer.","value":"customer"}]}}},"description":"The payer determines the entity financially responsible for the bill."},"settings":{"type":"object","properties":{"bill":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the referenced settings object.","x-stripeNotPublic":true},"version":{"type":"string","description":"Returns the Settings Version when the cadence is pinned to a specific version.","x-stripeNotPublic":true}},"description":"Settings that configure bills generation, which includes calculating totals, tax, and presenting invoices.","x-stripeNotPublic":true},"collection":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the referenced settings object.","x-stripeNotPublic":true},"version":{"type":"string","description":"Returns the Settings Version when the cadence is pinned to a specific version.","x-stripeNotPublic":true}},"description":"Settings that configure and manage the behavior of collecting payments.","x-stripeNotPublic":true}},"description":"The settings associated with the cadence.","x-stripeNotPublic":true},"settings_data":{"required":["bill","collection"],"type":"object","properties":{"bill":{"required":["calculation","invoice"],"type":"object","properties":{"calculation":{"type":"object","properties":{"tax":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to \"manual\".","enum":["automatic","manual"],"x-stripeEnum":{"kind":"open","values":[{"description":"Tax is calculated automatically based on a PTC.","value":"automatic"},{"description":"Tax is calculated based on rules defined by the business.","value":"manual"}]}}},"description":"Settings for calculating tax."}},"description":"Settings related to calculating a bill."},"invoice":{"type":"object","properties":{"time_until_due":{"required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"The interval unit for the time until due.","enum":["day","month","week","year"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Daily interval.","value":"day"},{"description":"Monthly interval.","value":"month"},{"description":"Weekly interval.","value":"week"},{"description":"Yearly interval.","value":"year"}]}},"interval_count":{"type":"integer","description":"The number of interval units. For example, if interval=day and interval_count=30,\nthe invoice is due in 30 days."}},"description":"The amount of time until the invoice is overdue for payment."}},"description":"Settings related to invoice behavior."},"invoice_rendering_template":{"type":"string","description":"The ID of the invoice rendering template to be used when generating invoices."}},"description":"Expanded bill settings data with actual configuration values.","x-stripeNotPublic":true},"collection":{"required":["collection_method","email_delivery","payment_method_configuration","payment_method_options"],"type":"object","properties":{"collection_method":{"type":"string","description":"Either automatic, or send_invoice. When charging automatically, Stripe attempts to pay this\nbill at the end of the period using the payment method attached to the billing profile. When sending an invoice,\nStripe emails your billing profile an invoice with payment instructions.\nDefaults to automatic.","enum":["automatic","send_invoice"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Automatically charge for collection.","value":"automatic"},{"description":"Send invoice for collection.","value":"send_invoice"}]}},"email_delivery":{"type":"object","properties":{"payment_due":{"required":["enabled","include_payment_link"],"type":"object","properties":{"enabled":{"type":"boolean","description":"If true an email for the invoice would be generated and sent out."},"include_payment_link":{"type":"boolean","description":"If true the payment link to hosted invoice page would be included in email and PDF of the invoice."}},"description":"Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state."}},"description":"Email delivery settings."},"payment_method_configuration":{"type":"string","description":"The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers."},"payment_method_options":{"type":"object","properties":{"acss_debit":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"],"x-stripeEnum":{"kind":"open","values":[{"description":"Transactions are made for business reasons.","value":"business"},{"description":"Transactions are made for personal reasons.","value":"personal"}]}}},"description":"Additional fields for Mandate creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification.","value":"instant"},{"description":"Microdeposits.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the Canadian pre-authorized debit payment method options."},"bancontact":{"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-stripeEnum":{"kind":"open","values":[{"description":"German.","value":"de"},{"description":"English.","value":"en"},{"description":"French.","value":"fr"},{"description":"Dutch.","value":"nl"}]}}},"description":"This sub-hash contains details about the Bancontact payment method."},"card":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"amount":{"type":"string","description":"Amount to be charged for future payments.","format":"int64"},"amount_type":{"type":"string","description":"The AmountType for the mandate. One of `fixed` or `maximum`.","enum":["fixed","maximum"],"x-stripeEnum":{"kind":"open","values":[{"description":"If `fixed`, the `amount` param refers to the exact amount to be charged in future payments.","value":"fixed"},{"description":"If `maximum`, the amount charged can be up to the value passed for the `amount` param.","value":"maximum"}]}},"description":{"type":"string","description":"A description of the mandate that is meant to be displayed to the customer."}},"description":"Configuration options for setting up an eMandate for cards issued in India."},"network":{"type":"string","description":"Selected network to process the payment on. Depends on the available networks of the card."},"request_three_d_secure":{"type":"string","description":"An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers\nfor authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication).\nHowever, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option.\nRead 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-stripeEnum":{"kind":"open","values":[{"description":"Use any to manually request 3DS with a preference for a frictionless flow, increasing the likelihood of the authentication being completed without any\nadditional input from the customer. 3DS is always attempted if supported for the card, but Stripe can't guarantee your preference because\nthe issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"any"},{"description":"Our SCA Engine automatically prompts your customers for authentication based on risk level and other requirements. This is the default option.","value":"automatic"},{"description":"Use challenge to request 3DS with a preference for a challenge flow, where the customer must respond to a prompt for active authentication. Stripe can't\nguarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"challenge"}]}}},"description":"This sub-hash contains details about the Card payment method options."},"customer_balance":{"type":"object","properties":{"bank_transfer":{"type":"object","properties":{"eu_bank_transfer":{"required":["country"],"type":"object","properties":{"country":{"type":"string","description":"The desired country code of the bank account information.","enum":["BE","DE","ES","FR","IE","NL"],"x-stripeEnum":{"kind":"open","values":[{"description":"Belgium.","value":"BE"},{"description":"Germany.","value":"DE"},{"description":"Spain.","value":"ES"},{"description":"France.","value":"FR"},{"description":"Ireland.","value":"IE"},{"description":"Netherlands.","value":"NL"}]}}},"description":"Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`."},"type":{"type":"string","description":"The bank transfer type that can be used for funding.","enum":["eu_bank_transfer","gb_bank_transfer","jp_bank_transfer","mx_bank_transfer","us_bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"EU Bank Transfer.","value":"eu_bank_transfer"},{"description":"GB Bank Transfer.","value":"gb_bank_transfer"},{"description":"JP Bank Transfer.","value":"jp_bank_transfer"},{"description":"MX Bank Transfer.","value":"mx_bank_transfer"},{"description":"US Bank Transfer.","value":"us_bank_transfer"}]}}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`."},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`.","enum":["bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank Transfer funding type.","value":"bank_transfer"}]}}},"description":"This sub-hash contains details about the Bank transfer payment method options."},"konbini":{"type":"object","properties":{},"description":"This sub-hash contains details about the Konbini payment method options."},"sepa_debit":{"type":"object","properties":{},"description":"This sub-hash contains details about the SEPA Direct Debit payment method options."},"us_bank_account":{"required":["financial_connections","verification_method"],"type":"object","properties":{"financial_connections":{"required":["permissions","prefetch"],"type":"object","properties":{"filters":{"required":["account_subcategories"],"type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts.","items":{"type":"string","enum":["checking","savings"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank account subcategory is checking.","value":"checking"},{"description":"Bank account subcategory is savings.","value":"savings"}]}}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method."},"permissions":{"type":"array","description":"The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included.","items":{"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeEnum":{"kind":"open","values":[{"description":"Balances permission.","value":"balances"},{"description":"Ownership permission.","value":"ownership"},{"description":"Payment method permission.","value":"payment_method"},{"description":"Transactions permission.","value":"transactions"}]}}},"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-stripeEnum":{"kind":"open","values":[{"description":"Requests to prefetch balance data on accounts collected in this session.","value":"balances"},{"description":"Requests to prefetch ownership data on accounts collected in this session.","value":"ownership"},{"description":"Requests to prefetch transaction data on accounts collected in this session.","value":"transactions"}]}}}},"description":"Additional fields for Financial Connections Session creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification only.","value":"instant"},{"description":"Verification using microdeposits. Cannot be used with Stripe Checkout, Hosted Invoices, or Payment Element.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the ACH direct debit payment method options."}},"description":"Payment Method specific configuration stored on the object."}},"description":"Expanded collection settings data with actual configuration values.","x-stripeNotPublic":true}},"description":"Settings data that contains expanded billing settings configuration with actual values."},"status":{"type":"string","description":"The current status of the cadence.","enum":["active","canceled"],"x-stripeEnum":{"kind":"open","values":[{"description":"The cadence is active and can have subscriptions associated.","value":"active"},{"description":"The cadence is no longer generating invoices and has been canceled.","value":"canceled"}]}},"test_clock":{"type":"string","description":"The ID of the Test Clock."}},"description":"A Cadence represents a billing schedule applied to a customer, defining when and how often to generate invoices, such as on monthly or annual billing cycle.","example":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","billing_profile":"bilp_test_61Rc0IonJY96mpyHA16RM8VQ","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3}},"metadata":{},"status":"active","next_billing_date":"2025-01-03T00:00:00.000Z","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":false},"x-resourceId":"v2.billing.cadence","x-stableId":"v2_resource_cadence","x-stripeDocsSamples":[{"response":{"id":"bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie","object":"v2.billing.cadence","payer":{"type":"customer","billing_profile":"bilp_test_61Rc0IonJY96mpyHA16RM8VQ","customer":"cus_61Rc0HZtJCE9h"},"billing_cycle":{"type":"month","interval_count":1,"month":{"day_of_month":3}},"metadata":{},"status":"active","next_billing_date":"2025-01-03T00:00:00.000Z","test_clock":"clock_1QScHiH5wvQ9UC0VklUiPqw4","created":"2024-11-26T16:33:03.000Z","livemode":false}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/billing/cadences"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/billing/cadences"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/billing/cadences/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/billing/cadences/{id}"},{"method_name":"cancel","method_on":"service","method_type":"custom","operation":"post","path":"/v2/billing/cadences/{id}/cancel"}],"x-stripeResource":{"class_name":"Cadence","in_package":"v2.billing"}},"v2.billing.collection_setting":{"title":"Collection Setting","required":["created","id","latest_version","live_version","livemode","object"],"type":"object","properties":{"collection_method":{"type":"string","description":"Either automatic, or send_invoice. When charging automatically, Stripe attempts to pay this\nbill at the end of the period using the payment method attached to the billing profile. When sending an invoice,\nStripe emails your billing profile an invoice with payment instructions.\nDefaults to automatic.","enum":["automatic","send_invoice"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Automatically charge for collection.","value":"automatic"},{"description":"Send invoice for collection.","value":"send_invoice"}]}},"created":{"type":"string","description":"Timestamp of when the object was created.","format":"date-time"},"display_name":{"type":"string","description":"An optional field for adding a display name for the CollectionSetting object."},"email_delivery":{"type":"object","properties":{"payment_due":{"required":["enabled","include_payment_link"],"type":"object","properties":{"enabled":{"type":"boolean","description":"If true an email for the invoice would be generated and sent out."},"include_payment_link":{"type":"boolean","description":"If true the payment link to hosted invoice page would be included in email and PDF of the invoice."}},"description":"Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state."}},"description":"Email delivery settings."},"id":{"type":"string","description":"The ID of the CollectionSetting."},"latest_version":{"type":"string","description":"The latest version of the current settings object. This is\nupdated every time an attribute of the settings is updated."},"live_version":{"type":"string","description":"The current live version of the settings object. This can be different from\nlatest_version if settings are updated without setting live_version='latest'."},"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."},"lookup_key":{"type":"string","description":"A lookup key used to retrieve settings dynamically from a static string.\nThis may be up to 200 characters."},"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.collection_setting"]},"payment_method_configuration":{"type":"string","description":"The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers."},"payment_method_options":{"type":"object","properties":{"acss_debit":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"],"x-stripeEnum":{"kind":"open","values":[{"description":"Transactions are made for business reasons.","value":"business"},{"description":"Transactions are made for personal reasons.","value":"personal"}]}}},"description":"Additional fields for Mandate creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification.","value":"instant"},{"description":"Microdeposits.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the Canadian pre-authorized debit payment method options."},"bancontact":{"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-stripeEnum":{"kind":"open","values":[{"description":"German.","value":"de"},{"description":"English.","value":"en"},{"description":"French.","value":"fr"},{"description":"Dutch.","value":"nl"}]}}},"description":"This sub-hash contains details about the Bancontact payment method."},"card":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"amount":{"type":"string","description":"Amount to be charged for future payments.","format":"int64"},"amount_type":{"type":"string","description":"The AmountType for the mandate. One of `fixed` or `maximum`.","enum":["fixed","maximum"],"x-stripeEnum":{"kind":"open","values":[{"description":"If `fixed`, the `amount` param refers to the exact amount to be charged in future payments.","value":"fixed"},{"description":"If `maximum`, the amount charged can be up to the value passed for the `amount` param.","value":"maximum"}]}},"description":{"type":"string","description":"A description of the mandate that is meant to be displayed to the customer."}},"description":"Configuration options for setting up an eMandate for cards issued in India."},"network":{"type":"string","description":"Selected network to process the payment on. Depends on the available networks of the card."},"request_three_d_secure":{"type":"string","description":"An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers\nfor authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication).\nHowever, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option.\nRead 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-stripeEnum":{"kind":"open","values":[{"description":"Use any to manually request 3DS with a preference for a frictionless flow, increasing the likelihood of the authentication being completed without any\nadditional input from the customer. 3DS is always attempted if supported for the card, but Stripe can't guarantee your preference because\nthe issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"any"},{"description":"Our SCA Engine automatically prompts your customers for authentication based on risk level and other requirements. This is the default option.","value":"automatic"},{"description":"Use challenge to request 3DS with a preference for a challenge flow, where the customer must respond to a prompt for active authentication. Stripe can't\nguarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"challenge"}]}}},"description":"This sub-hash contains details about the Card payment method options."},"customer_balance":{"type":"object","properties":{"bank_transfer":{"type":"object","properties":{"eu_bank_transfer":{"required":["country"],"type":"object","properties":{"country":{"type":"string","description":"The desired country code of the bank account information.","enum":["BE","DE","ES","FR","IE","NL"],"x-stripeEnum":{"kind":"open","values":[{"description":"Belgium.","value":"BE"},{"description":"Germany.","value":"DE"},{"description":"Spain.","value":"ES"},{"description":"France.","value":"FR"},{"description":"Ireland.","value":"IE"},{"description":"Netherlands.","value":"NL"}]}}},"description":"Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`."},"type":{"type":"string","description":"The bank transfer type that can be used for funding.","enum":["eu_bank_transfer","gb_bank_transfer","jp_bank_transfer","mx_bank_transfer","us_bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"EU Bank Transfer.","value":"eu_bank_transfer"},{"description":"GB Bank Transfer.","value":"gb_bank_transfer"},{"description":"JP Bank Transfer.","value":"jp_bank_transfer"},{"description":"MX Bank Transfer.","value":"mx_bank_transfer"},{"description":"US Bank Transfer.","value":"us_bank_transfer"}]}}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`."},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`.","enum":["bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank Transfer funding type.","value":"bank_transfer"}]}}},"description":"This sub-hash contains details about the Bank transfer payment method options."},"konbini":{"type":"object","properties":{},"description":"This sub-hash contains details about the Konbini payment method options."},"sepa_debit":{"type":"object","properties":{},"description":"This sub-hash contains details about the SEPA Direct Debit payment method options."},"us_bank_account":{"required":["financial_connections","verification_method"],"type":"object","properties":{"financial_connections":{"required":["permissions","prefetch"],"type":"object","properties":{"filters":{"required":["account_subcategories"],"type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts.","items":{"type":"string","enum":["checking","savings"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank account subcategory is checking.","value":"checking"},{"description":"Bank account subcategory is savings.","value":"savings"}]}}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method."},"permissions":{"type":"array","description":"The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included.","items":{"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeEnum":{"kind":"open","values":[{"description":"Balances permission.","value":"balances"},{"description":"Ownership permission.","value":"ownership"},{"description":"Payment method permission.","value":"payment_method"},{"description":"Transactions permission.","value":"transactions"}]}}},"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-stripeEnum":{"kind":"open","values":[{"description":"Requests to prefetch balance data on accounts collected in this session.","value":"balances"},{"description":"Requests to prefetch ownership data on accounts collected in this session.","value":"ownership"},{"description":"Requests to prefetch transaction data on accounts collected in this session.","value":"transactions"}]}}}},"description":"Additional fields for Financial Connections Session creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification only.","value":"instant"},{"description":"Verification using microdeposits. Cannot be used with Stripe Checkout, Hosted Invoices, or Payment Element.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the ACH direct debit payment method options."}},"description":"Payment Method specific configuration stored on the object."}},"description":"Settings that configure and manage the behavior of collecting payments.","example":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"automatic","created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum"},"x-resourceId":"v2.billing.collection_setting","x-stableId":"v2_resource_collection_setting","x-stripeDocsSamples":[{"response":{"id":"bclset_test_61SIqALsEreXk4vb616S0Sp34rSQ5rdid9OCzVKXYQrI","object":"v2.billing.collection_setting","collection_method":"automatic","created":"2025-01-01T10:00:00.000Z","display_name":"Automatic tax settings","latest_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum","live_version":"bclsetv_test_61SIqALNs1R6M7aU416S0Sp34rSQ5rdid9OCzVKXYIum"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/billing/collection_settings"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/billing/collection_settings"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/billing/collection_settings/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/billing/collection_settings/{id}"}],"x-stripeResource":{"class_name":"CollectionSetting","in_package":"v2.billing"}},"v2.billing.collection_setting_version":{"title":"Collection Setting Version","required":["created","id","livemode","object"],"type":"object","properties":{"collection_method":{"type":"string","description":"Either automatic, or send_invoice. When charging automatically, Stripe attempts to pay this\nbill at the end of the period using the payment method attached to the billing profile. When sending an invoice,\nStripe emails your billing profile an invoice with payment instructions.\nDefaults to automatic.","enum":["automatic","send_invoice"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Automatically charge for collection.","value":"automatic"},{"description":"Send invoice for collection.","value":"send_invoice"}]}},"created":{"type":"string","description":"Timestamp of when the object was created.","format":"date-time"},"email_delivery":{"type":"object","properties":{"payment_due":{"required":["enabled","include_payment_link"],"type":"object","properties":{"enabled":{"type":"boolean","description":"If true an email for the invoice would be generated and sent out."},"include_payment_link":{"type":"boolean","description":"If true the payment link to hosted invoice page would be included in email and PDF of the invoice."}},"description":"Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state."}},"description":"Email delivery settings."},"id":{"type":"string","description":"The ID of the CollectionSettingVersion 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."},"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.collection_setting_version"]},"payment_method_configuration":{"type":"string","description":"The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers."},"payment_method_options":{"type":"object","properties":{"acss_debit":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"],"x-stripeEnum":{"kind":"open","values":[{"description":"Transactions are made for business reasons.","value":"business"},{"description":"Transactions are made for personal reasons.","value":"personal"}]}}},"description":"Additional fields for Mandate creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification.","value":"instant"},{"description":"Microdeposits.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the Canadian pre-authorized debit payment method options."},"bancontact":{"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-stripeEnum":{"kind":"open","values":[{"description":"German.","value":"de"},{"description":"English.","value":"en"},{"description":"French.","value":"fr"},{"description":"Dutch.","value":"nl"}]}}},"description":"This sub-hash contains details about the Bancontact payment method."},"card":{"type":"object","properties":{"mandate_options":{"type":"object","properties":{"amount":{"type":"string","description":"Amount to be charged for future payments.","format":"int64"},"amount_type":{"type":"string","description":"The AmountType for the mandate. One of `fixed` or `maximum`.","enum":["fixed","maximum"],"x-stripeEnum":{"kind":"open","values":[{"description":"If `fixed`, the `amount` param refers to the exact amount to be charged in future payments.","value":"fixed"},{"description":"If `maximum`, the amount charged can be up to the value passed for the `amount` param.","value":"maximum"}]}},"description":{"type":"string","description":"A description of the mandate that is meant to be displayed to the customer."}},"description":"Configuration options for setting up an eMandate for cards issued in India."},"network":{"type":"string","description":"Selected network to process the payment on. Depends on the available networks of the card."},"request_three_d_secure":{"type":"string","description":"An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers\nfor authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication).\nHowever, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option.\nRead 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-stripeEnum":{"kind":"open","values":[{"description":"Use any to manually request 3DS with a preference for a frictionless flow, increasing the likelihood of the authentication being completed without any\nadditional input from the customer. 3DS is always attempted if supported for the card, but Stripe can't guarantee your preference because\nthe issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"any"},{"description":"Our SCA Engine automatically prompts your customers for authentication based on risk level and other requirements. This is the default option.","value":"automatic"},{"description":"Use challenge to request 3DS with a preference for a challenge flow, where the customer must respond to a prompt for active authentication. Stripe can't\nguarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our [guide](https://stripe.com/guides/3d-secure-2#frictionless-authentication).","value":"challenge"}]}}},"description":"This sub-hash contains details about the Card payment method options."},"customer_balance":{"type":"object","properties":{"bank_transfer":{"type":"object","properties":{"eu_bank_transfer":{"required":["country"],"type":"object","properties":{"country":{"type":"string","description":"The desired country code of the bank account information.","enum":["BE","DE","ES","FR","IE","NL"],"x-stripeEnum":{"kind":"open","values":[{"description":"Belgium.","value":"BE"},{"description":"Germany.","value":"DE"},{"description":"Spain.","value":"ES"},{"description":"France.","value":"FR"},{"description":"Ireland.","value":"IE"},{"description":"Netherlands.","value":"NL"}]}}},"description":"Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`."},"type":{"type":"string","description":"The bank transfer type that can be used for funding.","enum":["eu_bank_transfer","gb_bank_transfer","jp_bank_transfer","mx_bank_transfer","us_bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"EU Bank Transfer.","value":"eu_bank_transfer"},{"description":"GB Bank Transfer.","value":"gb_bank_transfer"},{"description":"JP Bank Transfer.","value":"jp_bank_transfer"},{"description":"MX Bank Transfer.","value":"mx_bank_transfer"},{"description":"US Bank Transfer.","value":"us_bank_transfer"}]}}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`."},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`.","enum":["bank_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank Transfer funding type.","value":"bank_transfer"}]}}},"description":"This sub-hash contains details about the Bank transfer payment method options."},"konbini":{"type":"object","properties":{},"description":"This sub-hash contains details about the Konbini payment method options."},"sepa_debit":{"type":"object","properties":{},"description":"This sub-hash contains details about the SEPA Direct Debit payment method options."},"us_bank_account":{"required":["financial_connections","verification_method"],"type":"object","properties":{"financial_connections":{"required":["permissions","prefetch"],"type":"object","properties":{"filters":{"required":["account_subcategories"],"type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts.","items":{"type":"string","enum":["checking","savings"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank account subcategory is checking.","value":"checking"},{"description":"Bank account subcategory is savings.","value":"savings"}]}}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method."},"permissions":{"type":"array","description":"The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included.","items":{"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeEnum":{"kind":"open","values":[{"description":"Balances permission.","value":"balances"},{"description":"Ownership permission.","value":"ownership"},{"description":"Payment method permission.","value":"payment_method"},{"description":"Transactions permission.","value":"transactions"}]}}},"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-stripeEnum":{"kind":"open","values":[{"description":"Requests to prefetch balance data on accounts collected in this session.","value":"balances"},{"description":"Requests to prefetch ownership data on accounts collected in this session.","value":"ownership"},{"description":"Requests to prefetch transaction data on accounts collected in this session.","value":"transactions"}]}}}},"description":"Additional fields for Financial Connections Session creation."},"verification_method":{"type":"string","description":"Verification method.","enum":["automatic","instant","microdeposits"],"x-stripeEnum":{"kind":"open","values":[{"description":"Instant verification with fallback to microdeposits.","value":"automatic"},{"description":"Instant verification only.","value":"instant"},{"description":"Verification using microdeposits. Cannot be used with Stripe Checkout, Hosted Invoices, or Payment Element.","value":"microdeposits"}]}}},"description":"This sub-hash contains details about the ACH direct debit payment method options."}},"description":"Payment Method specific configuration stored on the object."}},"description":"A Collection Setting Version is a specific configuration of a CollectionSetting at a point in time. Collection Setting Versions enable you to track changes to payment collection settings over time and manage which version is active for new billing operations.","example":{"collection_method":"automatic","created":"2025-01-01T00:00:00.000Z","id":"bclsetv_test_61T2gtFFCeOrTS7PB16Sg5eV2tSQs27bdBltKwQGm1No","object":"v2.billing.collection_setting_version","payment_method_configuration":"pmc_234","payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"business"},"verification_method":"automatic"},"bancontact":{"preferred_language":"de"},"card":{"mandate_options":{"amount":1000,"amount_type":"maximum","description":"Test mandate"},"network":"visa","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"BE"},"type":"eu_bank_transfer"},"funding_type":"bank_transfer"},"konbini":{},"sepa_debit":{},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"]},"permissions":["balances"],"prefetch":["balances"]},"verification_method":"automatic"}},"livemode":true},"x-resourceId":"v2.billing.collection_setting_version","x-stableId":"v2_resource_collection_setting_version","x-stripeDocsSamples":[{"response":{"collection_method":"automatic","created":"2025-01-01T00:00:00.000Z","id":"bclsetv_test_61T2gtFFCeOrTS7PB16Sg5eV2tSQs27bdBltKwQGm1No","object":"v2.billing.collection_setting_version","payment_method_configuration":"pmc_234","payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"business"},"verification_method":"automatic"},"bancontact":{"preferred_language":"de"},"card":{"mandate_options":{"amount":1000,"amount_type":"maximum","description":"Test mandate"},"network":"visa","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"BE"},"type":"eu_bank_transfer"},"funding_type":"bank_transfer"},"konbini":{},"sepa_debit":{},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"]},"permissions":["balances"],"prefetch":["balances"]},"verification_method":"automatic"}},"livemode":true}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/billing/collection_settings/{collection_setting_id}/versions"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/billing/collection_settings/{collection_setting_id}/versions/{id}"}],"x-stripeResource":{"class_name":"CollectionSettingVersion","in_package":"v2.billing","parent":"v2.billing.collection_setting"}},"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.","example":{"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-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":"The identifier that was originally assigned to the meter 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":{"kind":"open","values":[{"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 the type of cancellation. Currently supports canceling a single event.","enum":["cancel"],"x-stripeEnum":{"kind":"open","values":[{"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.","example":{"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-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 expires.","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.","example":{"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-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.billing.profile":{"title":"Billing Profile","required":["created","id","livemode","object","status"],"type":"object","properties":{"created":{"type":"string","description":"Timestamp of when the object was created.","format":"date-time"},"customer":{"type":"string","description":"The ID of the customer object."},"default_payment_method":{"type":"string","description":"The ID of the payment method object."},"display_name":{"type":"string","description":"A customer-facing name for the billing profile.\nMaximum length of 250 characters."},"id":{"type":"string","description":"The ID of the billing profile 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."},"lookup_key":{"type":"string","description":"An internal key you can use to search for a particular billing profile.\nMaximum length of 200 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."},"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.profile"]},"status":{"type":"string","description":"The current status of the billing profile.","enum":["active","inactive"],"x-stripeEnum":{"kind":"open","values":[{"description":"The billing profile is active.","value":"active"},{"description":"The billing profile is inactive and cannot be used.","value":"inactive"}]}}},"description":"A Billing Profile is a representation of how a bill is paid, separating payment behavior from customer identity.","example":{"created":"2025-01-01T00:00:00.000Z","customer":"cus_SM22QFjZh7DtOo","default_payment_method":"pm_1RRJyOCZPkOPzJLWkaBPKr4J ","display_name":"Display Name","id":"bilp_61SahwKGATwuyXMY516SBbsMNLSQJnWcho4VDz0fYLKi","lookup_key":"billing_profile_cus_SM22QFjZh7DtOo","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true},"x-resourceId":"v2.billing.profile","x-stableId":"v2_resource_billing_profile","x-stripeDocsSamples":[{"response":{"created":"2025-01-01T00:00:00.000Z","customer":"cus_SM22QFjZh7DtOo","default_payment_method":"pm_1RRJyOCZPkOPzJLWkaBPKr4J ","display_name":"Display Name","id":"bilp_61SahwKGATwuyXMY516SBbsMNLSQJnWcho4VDz0fYLKi","lookup_key":"billing_profile_cus_SM22QFjZh7DtOo","metadata":{"test":"data"},"object":"v2.billing.profile","status":"active","livemode":true}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/billing/profiles"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/billing/profiles"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/billing/profiles/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/billing/profiles/{id}"}],"x-stripeResource":{"class_name":"Profile","in_package":"v2.billing"}},"v2.commerce.product_catalog.imports.failed":{"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 [Product Catalog Import](https://docs.stripe.com/api/v2/commerce/product-catalog-imports/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":{"kind":"open","values":[{"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.commerce.product_catalog_import"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.commerce.product_catalog.imports.failed"]}},"description":"Occurs when a product catalog import cannot be processed or if processing fails unexpectedly.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8C","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.failed","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"},"changes":{"before":{"status":"AWAITING_UPLOAD"},"after":{"status":"FAILED"}},"data":{}},"x-stableId":"v2.commerce.product_catalog.imports.failed","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8C","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.failed","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8C","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.failed","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"},"changes":{"before":{"status":"AWAITING_UPLOAD"},"after":{"status":"FAILED"}},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.commerce.product_catalog.imports.failed"}},"v2.commerce.product_catalog.imports.processing":{"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 [Product Catalog Import](https://docs.stripe.com/api/v2/commerce/product-catalog-imports/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":{"kind":"open","values":[{"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.commerce.product_catalog_import"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.commerce.product_catalog.imports.processing"]}},"description":"Occurs when a product catalog import file has been uploaded and has started processing.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8A","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.processing","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"},"changes":{"before":{"status":"AWAITING_UPLOAD"},"after":{"status":"PROCESSING"}},"data":{}},"x-stableId":"v2.commerce.product_catalog.imports.processing","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8A","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.processing","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8A","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.processing","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"},"changes":{"before":{"status":"AWAITING_UPLOAD"},"after":{"status":"PROCESSING"}},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.commerce.product_catalog.imports.processing"}},"v2.commerce.product_catalog.imports.succeeded":{"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 [Product Catalog Import](https://docs.stripe.com/api/v2/commerce/product-catalog-imports/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":{"kind":"open","values":[{"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.commerce.product_catalog_import"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.commerce.product_catalog.imports.succeeded"]}},"description":"Occurs when a product catalog file has been uploaded successfully and passed validation.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8B","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.succeeded","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"},"changes":{"before":{"status":"PROCESSING"},"after":{"status":"SUCCEEDED"}},"data":{}},"x-stableId":"v2.commerce.product_catalog.imports.succeeded","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8B","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.succeeded","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8B","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.succeeded","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"},"changes":{"before":{"status":"PROCESSING"},"after":{"status":"SUCCEEDED"}},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.commerce.product_catalog.imports.succeeded"}},"v2.commerce.product_catalog.imports.succeeded_with_errors":{"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 [Product Catalog Import](https://docs.stripe.com/api/v2/commerce/product-catalog-imports/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":{"kind":"open","values":[{"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.commerce.product_catalog_import"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.commerce.product_catalog.imports.succeeded_with_errors"]}},"description":"Occurs when a product catalog file has been successfully processed but some rows failed validation.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8D","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.succeeded_with_errors","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"},"changes":{"before":{"status":"PROCESSING"},"after":{"status":"SUCCEEDED_WITH_ERRORS"}},"data":{}},"x-stableId":"v2.commerce.product_catalog.imports.succeeded_with_errors","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8D","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.succeeded_with_errors","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8D","object":"v2.core.event","type":"v2.commerce.product_catalog.imports.succeeded_with_errors","livemode":true,"reason":null,"related_object":{"id":"pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","type":"v2.commerce.product_catalog.imports","url":"/v2/commerce/product_catalog/imports/pcimprt_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K"},"changes":{"before":{"status":"PROCESSING"},"after":{"status":"SUCCEEDED_WITH_ERRORS"}},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.commerce.product_catalog.imports.succeeded_with_errors"}},"v2.commerce.product_catalog_import":{"title":"Product Catalog Import","required":["created","feed_type","id","livemode","metadata","mode","object","status"],"type":"object","properties":{"created":{"type":"string","description":"The time this ProductCatalogImport was created.","format":"date-time"},"feed_type":{"type":"string","description":"The type of feed data being imported into the product catalog.","enum":["inventory","pricing","product","promotion"],"x-stripeEnum":{"kind":"open","values":[{"description":"Inventory levels and stock availability feed.","value":"inventory"},{"description":"Pricing information feed including costs and currency data.","value":"pricing"},{"description":"Product information feed including SKUs, descriptions, and attributes.","value":"product"},{"description":"Promotional data feed including discounts and offers.","value":"promotion"}]}},"id":{"type":"string","description":"The unique identifier for this ProductCatalogImport."},"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":"Additional information about the object in a structured format."},"mode":{"type":"string","description":"The import strategy for handling existing catalog data.","enum":["replace","upsert"],"x-stripeEnum":{"kind":"open","values":[{"description":"Replace all existing catalog data with the imported data.","value":"replace"},{"description":"Update existing records and insert new ones.","value":"upsert"}]}},"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.commerce.product_catalog_import"]},"status":{"type":"string","description":"The current status of this ProductCatalogImport.","enum":["awaiting_upload","failed","processing","succeeded","succeeded_with_errors"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The import is waiting for the file to be uploaded.","value":"awaiting_upload"},{"description":"The import failed and no records were processed.","value":"failed"},{"description":"The import is processing the uploaded file.","value":"processing"},{"description":"The import completed successfully with all records processed.","value":"succeeded"},{"description":"The import completed but some records failed to process.","value":"succeeded_with_errors"}]}},"status_details":{"type":"object","properties":{"awaiting_upload":{"required":["upload_url"],"type":"object","properties":{"upload_url":{"required":["expires_at","url"],"type":"object","properties":{"expires_at":{"type":"string","description":"The timestamp when the upload URL expires.","format":"date-time"},"url":{"type":"string","description":"The pre-signed URL for uploading the catalog file."}},"description":"The pre-signed URL information for uploading the catalog file."}},"description":"Details when the import is awaiting file upload."},"failed":{"required":["code","failure_message","type"],"type":"object","properties":{"code":{"type":"string","description":"The error code for this product catalog processing failure.","enum":["file_not_found","internal_error","invalid_file"],"x-stripeEnum":{"kind":"open","values":[{"description":"Stripe couldn't find the import file or it wasn't uploaded within the required time window.","value":"file_not_found"},{"description":"An internal error occurred during import processing.","value":"internal_error"},{"description":"Stripe couldn't process the uploaded file due to parsing errors.","value":"invalid_file"}]}},"failure_message":{"type":"string","description":"A message explaining why the import failed."},"type":{"type":"string","description":"The error type for this product catalog processing failure.","enum":["cannot_proceed","transient_failure"],"x-stripeEnum":{"kind":"open","values":[{"description":"The import can't proceed and requires user action.","value":"cannot_proceed"},{"description":"The import failed due to a transient error and might succeed if retried.","value":"transient_failure"}]}}},"description":"Details when the import didn't complete."},"processing":{"required":["error_count","success_count"],"type":"object","properties":{"error_count":{"type":"string","description":"The number of records that failed to process so far.","format":"int64"},"success_count":{"type":"string","description":"The number of records processed so far.","format":"int64"}},"description":"Details when the import is processing."},"succeeded":{"required":["success_count"],"type":"object","properties":{"success_count":{"type":"string","description":"The total number of records processed.","format":"int64"}},"description":"Details when the import has succeeded."},"succeeded_with_errors":{"required":["error_count","error_file","samples","success_count"],"type":"object","properties":{"error_count":{"type":"string","description":"The total number of records that failed to process.","format":"int64"},"error_file":{"required":["content_type","download_url","size"],"type":"object","properties":{"content_type":{"type":"string","description":"The MIME type of the error file."},"download_url":{"required":["expires_at","url"],"type":"object","properties":{"expires_at":{"type":"string","description":"The timestamp when the download URL expires.","format":"date-time"},"url":{"type":"string","description":"The pre-signed URL for downloading the error file."}},"description":"The pre-signed URL information for downloading the error file."},"size":{"type":"string","description":"The size of the error file in bytes.","format":"int64"}},"description":"A file containing details about all errors that occurred."},"samples":{"type":"array","description":"A sample of errors that occurred during processing.","items":{"required":["error_message","field","id","row"],"type":"object","properties":{"error_message":{"type":"string","description":"A description of what went wrong with this record."},"field":{"type":"string","description":"The name of the field that caused the error."},"id":{"type":"string","description":"The identifier of the record that failed to process."},"row":{"type":"string","description":"The row number in the import file where the error occurred.","format":"int64"}}}},"success_count":{"type":"string","description":"The total number of records processed.","format":"int64"}},"description":"Details when the import completed but some records failed to process."}},"description":"Details about the current import status."}},"description":"The ProductCatalogImport object tracks the long-running background process that handles uploading, processing and validation.","example":{"id":"pcimprt_test_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","object":"v2.commerce.product_catalog_import","status":"awaiting_upload","created":"2025-01-01T00:00:00.000Z","status_details":{"awaiting_upload":{"upload_url":{"url":"https://stripeusercontent.com/files/us-west-2/upload/wksp_hb7cNA","expires_at":"2025-01-01T01:00:00.000Z"}}},"metadata":{"file_name":"march_11_2026_product_upload.csv"}},"x-resourceId":"v2.commerce.product_catalog_import","x-stableId":"v2_resource_product_catalog_import","x-stripeDocsSamples":[{"response":{"id":"pcimprt_test_61THl3VA5Zt5cTqbP16T9R4DRrSQbEWmWeLUx7WmOR8K","object":"v2.commerce.product_catalog_import","status":"awaiting_upload","created":"2025-01-01T00:00:00.000Z","status_details":{"awaiting_upload":{"upload_url":{"url":"https://stripeusercontent.com/files/us-west-2/upload/wksp_hb7cNA","expires_at":"2025-01-01T01:00:00.000Z"}}},"metadata":{"file_name":"march_11_2026_product_upload.csv"}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/commerce/product_catalog/imports"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/commerce/product_catalog/imports"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/commerce/product_catalog/imports/{id}"}],"x-stripeResource":{"class_name":"ProductCatalogImport","in_package":"v2.commerce"}},"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","money_manager"],"x-stripeEnum":{"kind":"closed","values":[{"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"},{"description":"The Account can be used as a money manager.","value":"money_manager"}]}}},"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":"The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method 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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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 (i.e. customer-facing payment and billing 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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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."},"blik_recurring_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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 recurring BLIK payments."},"boleto_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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."},"satispay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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 Satispay payments."},"sepa_bank_transfer_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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."},"sequra_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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 SeQura 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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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)."},"sunbit_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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 Sunbit payments."},"swish_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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."},"smart_disputes":{"type":"object","properties":{"auto_respond":{"type":"object","properties":{"preference":{"type":"string","description":"The preference for automatic dispute responses.","enum":["inherit","off","on"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The account will inherit your Smart Disputes auto-respond setting.","value":"inherit"},{"description":"The account will have Smart Disputes auto-respond turned off. Smart Disputes will not automatically submit disputes before they time out for the account.","value":"off"},{"description":"The account will have Smart Disputes auto-respond turned on. Smart Disputes will automatically submit disputes before they time out for the account.","value":"on"}]}},"value":{"type":"string","description":"The effective value for automatic dispute responses.","enum":["off","on"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The account has Smart Disputes auto-respond turned off. Smart Disputes will not automatically submit disputes before they time out for the account.","value":"off"},{"description":"The account has Smart Disputes auto-respond on. Smart Disputes will automatically submit disputes before they time out for the account.","value":"on"}]}}},"description":"Settings for Smart Disputes auto_respond."}},"description":"Settings for Smart Disputes automatic response feature.","x-stripeNotPublic":true},"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."},"money_manager":{"required":["applied"],"type":"object","properties":{"applied":{"type":"boolean","description":"Indicates whether the money manager configuration is active. You cannot deactivate (or reactivate) the money manager configuration by updating this property."},"capabilities":{"type":"object","properties":{"business_storage":{"type":"object","properties":{"inbound":{"type":"object","properties":{"aud":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can receive business storage-type funds on Stripe in AUD."},"cad":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can receive business storage-type funds on Stripe in CAD."},"eur":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can receive business storage-type funds on Stripe in EUR."},"gbp":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can receive business storage-type funds on Stripe in GBP."},"usd":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can receive business storage-type funds on Stripe in USD."}},"description":"Can receive business storage-type funds on Stripe."},"outbound":{"type":"object","properties":{"aud":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send business storage-type funds on Stripe in AUD."},"cad":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send business storage-type funds on Stripe in CAD."},"eur":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send business storage-type funds on Stripe in EUR."},"gbp":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send business storage-type funds on Stripe in GBP."},"usd":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send business storage-type funds on Stripe in USD."}},"description":"Can send business storage-type funds on Stripe."}},"description":"Can send or receive business storage-type funds on Stripe."},"inbound_transfers":{"type":"object","properties":{"bank_accounts":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can pull funds into a FinancialAccount from an external bank account owned by the user."}},"description":"Hash containing capabilities related to InboundTransfers."},"outbound_payments":{"type":"object","properties":{"bank_accounts":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send funds from a FinancialAccount to a bank account owned by a different entity."},"cards":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send funds from a FinancialAccount to a debit card owned by a different entity."},"financial_accounts":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity."}},"description":"Hash containing capabilities related to [OutboundPayments](/api/treasury/outbound_payments?api-version=preview)."},"outbound_transfers":{"type":"object","properties":{"bank_accounts":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send funds from a FinancialAccount to a bank account belonging to the same user."},"financial_accounts":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user."}},"description":"Hash containing capabilities related to [OutboundTransfers](/api/treasury/outbound_transfers?api-version=preview)."},"received_credits":{"type":"object","properties":{"bank_accounts":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can receive credits to a bank-account like financial address to credit a FinancialAccount."}},"description":"Hash containing capabilities related to ReceivedCredits."},"received_debits":{"type":"object","properties":{"bank_accounts":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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":"Can receive debits to a FinancialAccount from a bank account."}},"description":"Hash containing capabilities related to ReceivedDebits.","x-stripeNotPublic":true}},"description":"Capabilities that have been requested on the Money Manager Configuration."}},"description":"The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts.","x-stripeNotPublic":true},"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":{"bank_accounts":{"type":"object","properties":{"local":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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 OutboundPayments to linked bank accounts over local networks.","x-stripeNotPublic":true},"wire":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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 OutboundPayments to linked bank accounts over wire.","x-stripeNotPublic":true}},"description":"Capabilities that enable OutboundPayments to a bank account linked to this Account.","x-stripeNotPublic":true},"cards":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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 OutboundPayments to a linked debit card.","x-stripeNotPublic":true},"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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","rejected","restricted","unsupported"],"x-stripeEnum":{"kind":"closed","values":[{"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 has been rejected. Check `status_details` for information on why.","value":"rejected"},{"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","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","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"The account was rejected by Stripe for fraud.","value":"rejected_fraud"},{"description":"The account was rejected for incomplete verification.","value":"rejected_incomplete_verification"},{"description":"The account was rejected because it appears on a restricted list.","value":"rejected_listed"},{"description":"The account was rejected for another reason.","value":"rejected_other"},{"description":"The account was rejected by the platform for fraud.","value":"rejected_platform_fraud"},{"description":"The account was rejected by the platform for an unspecified reason.","value":"rejected_platform_other"},{"description":"The account was rejected by the platform for violating the Stripe services agreement.","value":"rejected_platform_terms_of_service"},{"description":"The account was rejected for not meeting Stripe's terms of service.","value":"rejected_terms_of_service"},{"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":{"kind":"closed","values":[{"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."},"default_outbound_destination":{"required":["id","type"],"type":"object","properties":{"id":{"type":"string","description":"The payout method ID of the default outbound destination."},"type":{"type":"string","description":"Closed Enum. The payout method type of the default outbound destination.","enum":["ae_bank_account","ag_bank_account","al_bank_account","am_bank_account","ao_bank_account","ar_bank_account","at_bank_account","au_bank_account","az_bank_account","ba_bank_account","bd_bank_account","be_bank_account","bg_bank_account","bh_bank_account","bj_bank_account","bn_bank_account","bo_bank_account","br_bank_account","bs_bank_account","bt_bank_account","bw_bank_account","card","ca_bank_account","ch_bank_account","ci_bank_account","cl_bank_account","cn_bank_account","co_bank_account","crypto_wallet","cr_bank_account","cy_bank_account","cz_bank_account","de_bank_account","dk_bank_account","do_bank_account","dz_bank_account","ec_bank_account","ee_bank_account","eg_bank_account","es_bank_account","et_bank_account","fi_bank_account","fr_bank_account","ga_bank_account","gb_bank_account","gh_bank_account","gi_bank_account","gm_bank_account","gr_bank_account","gt_bank_account","gy_bank_account","hk_bank_account","hn_bank_account","hr_bank_account","hu_bank_account","id_bank_account","ie_bank_account","il_bank_account","in_bank_account","is_bank_account","it_bank_account","jm_bank_account","jo_bank_account","jp_bank_account","ke_bank_account","kh_bank_account","kr_bank_account","kw_bank_account","kz_bank_account","la_bank_account","lc_bank_account","li_bank_account","lk_bank_account","lt_bank_account","lu_bank_account","lv_bank_account","ma_bank_account","mc_bank_account","md_bank_account","mg_bank_account","mk_bank_account","mn_bank_account","mo_bank_account","mt_bank_account","mu_bank_account","mx_bank_account","my_bank_account","mz_bank_account","na_bank_account","ne_bank_account","ng_bank_account","ni_bank_account","nl_bank_account","no_bank_account","nz_bank_account","om_bank_account","pa_bank_account","pe_bank_account","ph_bank_account","pk_bank_account","pl_bank_account","pt_bank_account","py_bank_account","qa_bank_account","ro_bank_account","rs_bank_account","rw_bank_account","sa_bank_account","se_bank_account","sg_bank_account","si_bank_account","sk_bank_account","sm_bank_account","sn_bank_account","sv_bank_account","th_bank_account","tn_bank_account","tr_bank_account","tt_bank_account","tw_bank_account","tz_bank_account","us_bank_account","uy_bank_account","uz_bank_account","vn_bank_account","za_bank_account"],"x-stripeEnum":{"kind":"closed","values":[{"description":"AE bank account.","value":"ae_bank_account"},{"description":"AG bank account.","value":"ag_bank_account"},{"description":"AL bank account.","value":"al_bank_account"},{"description":"AM bank account.","value":"am_bank_account"},{"description":"AO bank account.","value":"ao_bank_account"},{"description":"AR bank account.","value":"ar_bank_account"},{"description":"AT bank account.","value":"at_bank_account"},{"description":"AU bank account.","value":"au_bank_account"},{"description":"AZ bank account.","value":"az_bank_account"},{"description":"BA bank account.","value":"ba_bank_account"},{"description":"BD bank account.","value":"bd_bank_account"},{"description":"BE bank account.","value":"be_bank_account"},{"description":"BG bank account.","value":"bg_bank_account"},{"description":"BH bank account.","value":"bh_bank_account"},{"description":"BJ bank account.","value":"bj_bank_account"},{"description":"BN bank account.","value":"bn_bank_account"},{"description":"BO bank account.","value":"bo_bank_account"},{"description":"BR bank account.","value":"br_bank_account"},{"description":"BS bank account.","value":"bs_bank_account"},{"description":"BT bank account.","value":"bt_bank_account"},{"description":"BW bank account.","value":"bw_bank_account"},{"description":"Card.","value":"card"},{"description":"CA bank account.","value":"ca_bank_account"},{"description":"CH bank account.","value":"ch_bank_account"},{"description":"CI bank account.","value":"ci_bank_account"},{"description":"CL bank account.","value":"cl_bank_account"},{"description":"CN bank account.","value":"cn_bank_account"},{"description":"CO bank account.","value":"co_bank_account"},{"description":"Crypto wallet.","value":"crypto_wallet"},{"description":"CR bank account.","value":"cr_bank_account"},{"description":"CY bank account.","value":"cy_bank_account"},{"description":"CZ bank account.","value":"cz_bank_account"},{"description":"DE bank account.","value":"de_bank_account"},{"description":"DK bank account.","value":"dk_bank_account"},{"description":"DO bank account.","value":"do_bank_account"},{"description":"DZ bank account.","value":"dz_bank_account"},{"description":"EC bank account.","value":"ec_bank_account"},{"description":"EE bank account.","value":"ee_bank_account"},{"description":"EG bank account.","value":"eg_bank_account"},{"description":"ES bank account.","value":"es_bank_account"},{"description":"ET bank account.","value":"et_bank_account"},{"description":"FI bank account.","value":"fi_bank_account"},{"description":"FR bank account.","value":"fr_bank_account"},{"description":"GA bank account.","value":"ga_bank_account"},{"description":"GB bank account.","value":"gb_bank_account"},{"description":"GH bank account.","value":"gh_bank_account"},{"description":"GI bank account.","value":"gi_bank_account"},{"description":"GM bank account.","value":"gm_bank_account"},{"description":"GR bank account.","value":"gr_bank_account"},{"description":"GT bank account.","value":"gt_bank_account"},{"description":"GY bank account.","value":"gy_bank_account"},{"description":"HK bank account.","value":"hk_bank_account"},{"description":"HN bank account.","value":"hn_bank_account"},{"description":"HR bank account.","value":"hr_bank_account"},{"description":"HU bank account.","value":"hu_bank_account"},{"description":"ID bank account.","value":"id_bank_account"},{"description":"IE bank account.","value":"ie_bank_account"},{"description":"IL bank account.","value":"il_bank_account"},{"description":"IN bank account.","value":"in_bank_account"},{"description":"IS bank account.","value":"is_bank_account"},{"description":"IT bank account.","value":"it_bank_account"},{"description":"JM bank account.","value":"jm_bank_account"},{"description":"JO bank account.","value":"jo_bank_account"},{"description":"JP bank account.","value":"jp_bank_account"},{"description":"KE bank account.","value":"ke_bank_account"},{"description":"KH bank account.","value":"kh_bank_account"},{"description":"KR bank account.","value":"kr_bank_account"},{"description":"KW bank account.","value":"kw_bank_account"},{"description":"KZ bank account.","value":"kz_bank_account"},{"description":"LA bank account.","value":"la_bank_account"},{"description":"LC bank account.","value":"lc_bank_account"},{"description":"LI bank account.","value":"li_bank_account"},{"description":"LK bank account.","value":"lk_bank_account"},{"description":"LT bank account.","value":"lt_bank_account"},{"description":"LU bank account.","value":"lu_bank_account"},{"description":"LV bank account.","value":"lv_bank_account"},{"description":"MA bank account.","value":"ma_bank_account"},{"description":"MC bank account.","value":"mc_bank_account"},{"description":"MD bank account.","value":"md_bank_account"},{"description":"MG bank account.","value":"mg_bank_account"},{"description":"MK bank account.","value":"mk_bank_account"},{"description":"MN bank account.","value":"mn_bank_account"},{"description":"MO bank account.","value":"mo_bank_account"},{"description":"MT bank account.","value":"mt_bank_account"},{"description":"MU bank account.","value":"mu_bank_account"},{"description":"MX bank account.","value":"mx_bank_account"},{"description":"MY bank account.","value":"my_bank_account"},{"description":"MZ bank account.","value":"mz_bank_account"},{"description":"NA bank account.","value":"na_bank_account"},{"description":"NE bank account.","value":"ne_bank_account"},{"description":"NG bank account.","value":"ng_bank_account"},{"description":"NI bank account.","value":"ni_bank_account"},{"description":"NL bank account.","value":"nl_bank_account"},{"description":"NO bank account.","value":"no_bank_account"},{"description":"NZ bank account.","value":"nz_bank_account"},{"description":"OM bank account.","value":"om_bank_account"},{"description":"PA bank account.","value":"pa_bank_account"},{"description":"PE bank account.","value":"pe_bank_account"},{"description":"PH bank account.","value":"ph_bank_account"},{"description":"PK bank account.","value":"pk_bank_account"},{"description":"PL bank account.","value":"pl_bank_account"},{"description":"PT bank account.","value":"pt_bank_account"},{"description":"PY bank account.","value":"py_bank_account"},{"description":"QA bank account.","value":"qa_bank_account"},{"description":"RO bank account.","value":"ro_bank_account"},{"description":"RS bank account.","value":"rs_bank_account"},{"description":"RW bank account.","value":"rw_bank_account"},{"description":"SA bank account.","value":"sa_bank_account"},{"description":"SE bank account.","value":"se_bank_account"},{"description":"SG bank account.","value":"sg_bank_account"},{"description":"SI bank account.","value":"si_bank_account"},{"description":"SK bank account.","value":"sk_bank_account"},{"description":"SM bank account.","value":"sm_bank_account"},{"description":"SN bank account.","value":"sn_bank_account"},{"description":"SV bank account.","value":"sv_bank_account"},{"description":"TH bank account.","value":"th_bank_account"},{"description":"TN bank account.","value":"tn_bank_account"},{"description":"TR bank account.","value":"tr_bank_account"},{"description":"TT bank account.","value":"tt_bank_account"},{"description":"TW bank account.","value":"tw_bank_account"},{"description":"TZ bank account.","value":"tz_bank_account"},{"description":"US bank account.","value":"us_bank_account"},{"description":"UY bank account.","value":"uy_bank_account"},{"description":"UZ bank account.","value":"uz_bank_account"},{"description":"VN bank account.","value":"vn_bank_account"},{"description":"ZA bank account.","value":"za_bank_account"}]}}},"description":"The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard or APIs.","x-stripeNotPublic":true}},"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 primary contact email address for the Account."},"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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"}]}}},"payout_methods":{"type":"object","additionalProperties":{"type":"string"},"description":"Default payout methods per currency. Keys are three-letter [ISO currency codes](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Values are v2 Payout Method IDs."},"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":{"kind":"closed","values":[{"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 the responsibility for losses on this account.","enum":["application","stripe"],"x-stripeEnum":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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."},"timezone":{"type":"string","description":"The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).","x-stripeNotPublic":true}},"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":{"kind":"closed","values":[{"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_cmra_address","invalid_address_highway_contract_box","invalid_address_private_mailbox","invalid_address_registered_agent_address","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":{"kind":"open","values":[{"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":"The address you provided appears to be associated with a mailbox or virtual address service, which we can't accept. Please update your address to proceed.","value":"invalid_address_cmra_address"},{"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":"The address you provided appears to be associated with a registered agent, which we can't accept. Please update your address to proceed. If you believe this is an error, you can submit a proof of address document for review.","value":"invalid_address_registered_agent_address"},{"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","blik_recurring_payments","boleto_payments","business_storage.inbound.eur","business_storage.inbound.gbp","business_storage.inbound.usd","business_storage.outbound.eur","business_storage.outbound.gbp","business_storage.outbound.usd","cards","card_payments","cartes_bancaires_payments","cashapp_payments","eps_payments","financial_addresses.bank_accounts","fpx_payments","gb_bank_transfer_payments","grabpay_payments","holds_currencies.eur","holds_currencies.gbp","holds_currencies.usd","ideal_payments","inbound_transfers.financial_accounts","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","outbound_payments.bank_accounts","outbound_payments.cards","outbound_payments.financial_accounts","outbound_transfers.bank_accounts","outbound_transfers.financial_accounts","oxxo_payments","p24_payments","payco_payments","paynow_payments","pay_by_bank_payments","promptpay_payments","received_credits.bank_accounts","received_debits.bank_accounts","revolut_pay_payments","samsung_pay_payments","satispay_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":{"kind":"open","values":[{"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 recurring BLIK payments.","value":"blik_recurring_payments"},{"description":"Capability to use Boleto payments.","value":"boleto_payments"},{"description":"Capability for business financial accounts to receive EUR funds.","value":"business_storage.inbound.eur"},{"description":"Capability for business financial accounts to receive GBP funds.","value":"business_storage.inbound.gbp"},{"description":"Capability for business financial accounts to receive USD funds.","value":"business_storage.inbound.usd"},{"description":"Capability for business financial accounts to send EUR funds.","value":"business_storage.outbound.eur"},{"description":"Capability for business financial accounts to send GBP funds.","value":"business_storage.outbound.gbp"},{"description":"Capability for business financial accounts to send USD funds.","value":"business_storage.outbound.usd"},{"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 provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.","value":"financial_addresses.bank_accounts"},{"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 hold storage-type funds on Stripe in EUR.","value":"holds_currencies.eur"},{"description":"Capability to hold storage-type funds on Stripe in GBP.","value":"holds_currencies.gbp"},{"description":"Capability to hold storage-type funds on Stripe in USD.","value":"holds_currencies.usd"},{"description":"Capability to use IDEAL payments.","value":"ideal_payments"},{"description":"Capability to pull funds from an external bank account, owned by yourself, to a FinancialAccount.","value":"inbound_transfers.financial_accounts"},{"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 send funds from a FinancialAccount to a bank account, owned by someone else.","value":"outbound_payments.bank_accounts"},{"description":"Capability to send funds from a FinancialAccount to a debit card, owned by someone else.","value":"outbound_payments.cards"},{"description":"Capability to send funds from a FinancialAccount to another FinancialAccount, owned by someone else.","value":"outbound_payments.financial_accounts"},{"description":"Capability to send funds from a FinancialAccount, to a bank account, owned by yourself.","value":"outbound_transfers.bank_accounts"},{"description":"Capability to send funds from a FinancialAccount to another FinancialAccount, owned by yourself.","value":"outbound_transfers.financial_accounts"},{"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 receive credits from bank accounts to a FinancialAccount.","value":"received_credits.bank_accounts"},{"description":"Capability to receive debits to a FinancialAccount from a bank account.","value":"received_debits.bank_accounts"},{"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 Satispay payments.","value":"satispay_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","money_manager","recipient","storer"],"x-stripeEnum":{"kind":"open","values":[{"description":"Customer configuration.","value":"customer"},{"description":"Merchant configuration.","value":"merchant"},{"description":"Money Manager configuration.","value":"money_manager"},{"description":"Recipient configuration.","value":"recipient"},{"description":"Storer configuration.","value":"storer"}]}},"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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)."},"money_manager":{"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.","x-stripeNotPublic":true}},"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":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the business.","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":["administrative","principal_place_of_business"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The business's place of administration.","value":"administrative"},{"description":"The business's principal place of business.","value":"principal_place_of_business"}]}},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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"}},"signer":{"required":["person"],"type":"object","properties":{"person":{"type":"string","description":"Person signing the document.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"description":"Person that is signing the document."},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":{"kind":"open","values":[{"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"}},"signer":{"required":["person"],"type":"object","properties":{"person":{"type":"string","description":"Person signing the document.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"description":"Person that is signing the document."},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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 represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.","enum":["company","government_entity","individual","non_profit"],"x-stripeEnum":{"kind":"open","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account."},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"closed","values":[{"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_cmra_address","invalid_address_highway_contract_box","invalid_address_private_mailbox","invalid_address_registered_agent_address","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":{"kind":"open","values":[{"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":"The address you provided appears to be associated with a mailbox or virtual address service, which we can't accept. Please update your address to proceed.","value":"invalid_address_cmra_address"},{"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":"The address you provided appears to be associated with a registered agent, which we can't accept. Please update your address to proceed. If you believe this is an error, you can submit a proof of address document for review.","value":"invalid_address_registered_agent_address"},{"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","blik_recurring_payments","boleto_payments","business_storage.inbound.eur","business_storage.inbound.gbp","business_storage.inbound.usd","business_storage.outbound.eur","business_storage.outbound.gbp","business_storage.outbound.usd","cards","card_payments","cartes_bancaires_payments","cashapp_payments","eps_payments","financial_addresses.bank_accounts","fpx_payments","gb_bank_transfer_payments","grabpay_payments","holds_currencies.eur","holds_currencies.gbp","holds_currencies.usd","ideal_payments","inbound_transfers.financial_accounts","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","outbound_payments.bank_accounts","outbound_payments.cards","outbound_payments.financial_accounts","outbound_transfers.bank_accounts","outbound_transfers.financial_accounts","oxxo_payments","p24_payments","payco_payments","paynow_payments","pay_by_bank_payments","promptpay_payments","received_credits.bank_accounts","received_debits.bank_accounts","revolut_pay_payments","samsung_pay_payments","satispay_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":{"kind":"open","values":[{"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 recurring BLIK payments.","value":"blik_recurring_payments"},{"description":"Capability to use Boleto payments.","value":"boleto_payments"},{"description":"Capability for business financial accounts to receive EUR funds.","value":"business_storage.inbound.eur"},{"description":"Capability for business financial accounts to receive GBP funds.","value":"business_storage.inbound.gbp"},{"description":"Capability for business financial accounts to receive USD funds.","value":"business_storage.inbound.usd"},{"description":"Capability for business financial accounts to send EUR funds.","value":"business_storage.outbound.eur"},{"description":"Capability for business financial accounts to send GBP funds.","value":"business_storage.outbound.gbp"},{"description":"Capability for business financial accounts to send USD funds.","value":"business_storage.outbound.usd"},{"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 provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.","value":"financial_addresses.bank_accounts"},{"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 hold storage-type funds on Stripe in EUR.","value":"holds_currencies.eur"},{"description":"Capability to hold storage-type funds on Stripe in GBP.","value":"holds_currencies.gbp"},{"description":"Capability to hold storage-type funds on Stripe in USD.","value":"holds_currencies.usd"},{"description":"Capability to use IDEAL payments.","value":"ideal_payments"},{"description":"Capability to pull funds from an external bank account, owned by yourself, to a FinancialAccount.","value":"inbound_transfers.financial_accounts"},{"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 send funds from a FinancialAccount to a bank account, owned by someone else.","value":"outbound_payments.bank_accounts"},{"description":"Capability to send funds from a FinancialAccount to a debit card, owned by someone else.","value":"outbound_payments.cards"},{"description":"Capability to send funds from a FinancialAccount to another FinancialAccount, owned by someone else.","value":"outbound_payments.financial_accounts"},{"description":"Capability to send funds from a FinancialAccount, to a bank account, owned by yourself.","value":"outbound_transfers.bank_accounts"},{"description":"Capability to send funds from a FinancialAccount to another FinancialAccount, owned by yourself.","value":"outbound_transfers.financial_accounts"},{"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 receive credits from bank accounts to a FinancialAccount.","value":"received_credits.bank_accounts"},{"description":"Capability to receive debits to a FinancialAccount from a bank account.","value":"received_debits.bank_accounts"},{"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 Satispay payments.","value":"satispay_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","money_manager","recipient","storer"],"x-stripeEnum":{"kind":"open","values":[{"description":"Customer configuration.","value":"customer"},{"description":"Merchant configuration.","value":"merchant"},{"description":"Money Manager configuration.","value":"money_manager"},{"description":"Recipient configuration.","value":"recipient"},{"description":"Storer configuration.","value":"storer"}]}},"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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 your Stripe integration interacts with. 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 is broadly available to Connect platforms, and to other users in preview. The Accounts v2 API also supports the Global Payouts preview feature.","example":{"id":"acct_1Nv0FGQ9RKHgCVdK","object":"v2.core.account","applied_configurations":["customer","merchant"],"configuration":{"customer":{"automatic_indirect_tax":{"exempt":"none","location_source":"identity_address"},"billing":{"invoice":{"next_sequence":1,"prefix":"5626C87C","custom_fields":[]}},"capabilities":{"automatic_indirect_tax":{"requested":true,"status":"active"}}},"merchant":{"card_payments":{"decline_on":{"avs_failure":false,"cvc_failure":false}},"capabilities":{"card_payments":{"requested":true,"status":"active","status_details":[]},"stripe_balance":{"payouts":{"requested":true,"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"},"defaults":{"currency":"usd","responsibilities":{"fees_collector":"stripe","losses_collector":"stripe","requirements_collector":"stripe"}},"display_name":"Furever"},"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_source":"identity_address"},"billing":{"invoice":{"next_sequence":1,"prefix":"5626C87C","custom_fields":[]}},"capabilities":{"automatic_indirect_tax":{"requested":true,"status":"active"}}},"merchant":{"card_payments":{"decline_on":{"avs_failure":false,"cvc_failure":false}},"capabilities":{"card_payments":{"requested":true,"status":"active","status_details":[]},"stripe_balance":{"payouts":{"requested":true,"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"},"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account.closed"]}},"description":"This event occurs when an account is closed.","example":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.account.closed","data":null,"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj"},"changes":null},"x-stableId":"v2.core.account.closed","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.account.closed","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj"}},"response":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.account.closed","data":null,"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj"},"changes":null}}],"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account.created"]}},"description":"Occurs when an Account is created.","example":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpbHlFw1vIcWVJ0y16THhWW0BSQoYblrirrmiR4aAtE","object":"v2.core.event","type":"v2.core.account.created","data":null,"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj"},"changes":null},"x-stableId":"v2.core.account.created","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpbHlFw1vIcWVJ0y16THhWW0BSQoYblrirrmiR4aAtE","object":"v2.core.event","type":"v2.core.account.created","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj"}},"response":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpbHlFw1vIcWVJ0y16THhWW0BSQoYblrirrmiR4aAtE","object":"v2.core.event","type":"v2.core.account.created","data":null,"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj"},"changes":null}}],"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account.updated"]}},"description":"Occurs when an Account is updated.","example":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpb3QI8UuMmue9DJ16THhWW0BSQoYblrirrmiR4aOdc","object":"v2.core.event","type":"v2.core.account.updated","data":null,"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj"},"changes":null},"x-stableId":"v2.core.account.updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpb3QI8UuMmue9DJ16THhWW0BSQoYblrirrmiR4aOdc","object":"v2.core.event","type":"v2.core.account.updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj"}},"response":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpb3QI8UuMmue9DJ16THhWW0BSQoYblrirrmiR4aOdc","object":"v2.core.event","type":"v2.core.account.updated","data":null,"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj"},"changes":null}}],"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65SSMJhMl1dA8fh6lLW16RXPD96YSQQWRFoysHSB2ueQ9A","object":"v2.core.event","type":"v2.core.account[configuration.customer].capability_status_updated","data":{"updated_capability":"automatic_indirect_tax"},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.customer"},"changes":null},"x-stableId":"v2.core.account[configuration.customer].capability_status_updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65SSMJhMl1dA8fh6lLW16RXPD96YSQQWRFoysHSB2ueQ9A","object":"v2.core.event","type":"v2.core.account[configuration.customer].capability_status_updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.customer"}},"response":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65SSMJhMl1dA8fh6lLW16RXPD96YSQQWRFoysHSB2ueQ9A","object":"v2.core.event","type":"v2.core.account[configuration.customer].capability_status_updated","data":{"updated_capability":"automatic_indirect_tax"},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.customer"},"changes":null}}],"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"created":"2025-04-01T23:03:16.425Z","id":"evt_test_65SSMJhhIMgYc9ZsFLW16RXPD96YSQQWRFoysHSB2ueOUy","object":"v2.core.event","type":"v2.core.account[configuration.customer].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.customer"},"changes":null},"x-stableId":"v2.core.account[configuration.customer].updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-01T23:03:16.425Z","id":"evt_test_65SSMJhhIMgYc9ZsFLW16RXPD96YSQQWRFoysHSB2ueOUy","object":"v2.core.event","type":"v2.core.account[configuration.customer].updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.customer"}},"response":{"created":"2025-04-01T23:03:16.425Z","id":"evt_test_65SSMJhhIMgYc9ZsFLW16RXPD96YSQQWRFoysHSB2ueOUy","object":"v2.core.event","type":"v2.core.account[configuration.customer].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.customer"},"changes":null}}],"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","blik_recurring_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","satispay_payments","sepa_bank_transfer_payments","sepa_debit_payments","sequra_payments","sunbit_payments","swish_payments","twint_payments","us_bank_transfer_payments","zip_payments"],"x-stripeEnum":{"kind":"open","values":[{"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.blik_recurring_payments` capability.","value":"blik_recurring_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.satispay_payments` capability.","value":"satispay_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.sequra_payments` capability.","value":"sequra_payments"},{"description":"Refers to the `merchant.capabilities.sunbit_payments` capability.","value":"sunbit_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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"created":"2025-04-28T20:34:42.026Z","id":"evt_test_65SSMLK1ZTX7OYhyjSr16RXPD96YSQQWRFoysHSB2ueHya","object":"v2.core.event","type":"v2.core.account[configuration.merchant].capability_status_updated","data":{"updated_capability":"card_payments"},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.merchant"},"changes":null},"x-stableId":"v2.core.account[configuration.merchant].capability_status_updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:34:42.026Z","id":"evt_test_65SSMLK1ZTX7OYhyjSr16RXPD96YSQQWRFoysHSB2ueHya","object":"v2.core.event","type":"v2.core.account[configuration.merchant].capability_status_updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.merchant"}},"response":{"created":"2025-04-28T20:34:42.026Z","id":"evt_test_65SSMLK1ZTX7OYhyjSr16RXPD96YSQQWRFoysHSB2ueHya","object":"v2.core.event","type":"v2.core.account[configuration.merchant].capability_status_updated","data":{"updated_capability":"card_payments"},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.merchant"},"changes":null}}],"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"created":"2025-04-01T23:03:16.425Z","id":"evt_test_65SSMLJIK4u1GJY5ySr16RXPD96YSQQWRFoysHSB2ueWLg","object":"v2.core.event","type":"v2.core.account[configuration.merchant].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.merchant"},"changes":null},"x-stableId":"v2.core.account[configuration.merchant].updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-01T23:03:16.425Z","id":"evt_test_65SSMLJIK4u1GJY5ySr16RXPD96YSQQWRFoysHSB2ueWLg","object":"v2.core.event","type":"v2.core.account[configuration.merchant].updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.merchant"}},"response":{"created":"2025-04-01T23:03:16.425Z","id":"evt_test_65SSMLJIK4u1GJY5ySr16RXPD96YSQQWRFoysHSB2ueWLg","object":"v2.core.event","type":"v2.core.account[configuration.merchant].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.merchant"},"changes":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[configuration.merchant].updated"}},"v2.core.account_configuration.money_manager_.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":["business_storage.inbound.eur","business_storage.inbound.gbp","business_storage.inbound.usd","business_storage.inbound.usdc","business_storage.outbound.eur","business_storage.outbound.gbp","business_storage.outbound.usd","business_storage.outbound.usdc","inbound_transfers.bank_accounts","outbound_payments.bank_accounts","outbound_payments.cards","outbound_payments.crypto_wallets","outbound_payments.financial_accounts","outbound_transfers.bank_accounts","outbound_transfers.crypto_wallets","outbound_transfers.financial_accounts","received_credits.bank_accounts","received_credits.crypto_wallets","received_debits.bank_accounts"],"x-stripeEnum":{"kind":"open","values":[{"description":"Refers to the `money_manager.capabilities.business_storage.inbound.eur` capability.","value":"business_storage.inbound.eur"},{"description":"Refers to the `money_manager.capabilities.business_storage.inbound.gbp` capability.","value":"business_storage.inbound.gbp"},{"description":"Refers to the `money_manager.capabilities.business_storage.inbound.usd` capability.","value":"business_storage.inbound.usd"},{"description":"Refers to the `money_manager.capabilities.business_storage.inbound.usdc` capability.","value":"business_storage.inbound.usdc"},{"description":"Refers to the `money_manager.capabilities.business_storage.outbound.eur` capability.","value":"business_storage.outbound.eur"},{"description":"Refers to the `money_manager.capabilities.business_storage.outbound.gbp` capability.","value":"business_storage.outbound.gbp"},{"description":"Refers to the `money_manager.capabilities.business_storage.outbound.usd` capability.","value":"business_storage.outbound.usd"},{"description":"Refers to the `money_manager.capabilities.business_storage.outbound.usdc` capability.","value":"business_storage.outbound.usdc"},{"description":"Refers to the `money_manager.capabilities.inbound_transfers.bank_accounts` capability.","value":"inbound_transfers.bank_accounts"},{"description":"Refers to the `money_manager.capabilities.outbound_payments.bank_accounts` capability.","value":"outbound_payments.bank_accounts"},{"description":"Refers to the `money_manager.capabilities.outbound_payments.cards` capability.","value":"outbound_payments.cards"},{"description":"Refers to the `money_manager.capabilities.outbound_payments.crypto_wallets` capability.","value":"outbound_payments.crypto_wallets"},{"description":"Refers to the `money_manager.capabilities.outbound_payments.financial_accounts` capability.","value":"outbound_payments.financial_accounts"},{"description":"Refers to the `money_manager.capabilities.outbound_transfers.bank_accounts` capability.","value":"outbound_transfers.bank_accounts"},{"description":"Refers to the `money_manager.capabilities.outbound_transfers.crypto_wallets` capability.","value":"outbound_transfers.crypto_wallets"},{"description":"Refers to the `money_manager.capabilities.outbound_transfers.financial_accounts` capability.","value":"outbound_transfers.financial_accounts"},{"description":"Refers to the `money_manager.capabilities.received_credits.bank_accounts` capability.","value":"received_credits.bank_accounts"},{"description":"Refers to the `money_manager.capabilities.received_credits.crypto_wallets` capability.","value":"received_credits.crypto_wallets"},{"description":"Refers to the `money_manager.capabilities.received_debits.bank_accounts` capability.","value":"received_debits.bank_accounts"}]}}},"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[configuration.money_manager].capability_status_updated"]}},"description":"Occurs when the status of an Account's money manager configuration capability is updated.","example":{"id":"evt_test_65SnhcVsdHPetOMGZki16SmWzO0eE9IIrYxa2T2K4MqDdY","object":"v2.core.event","changes":{"before":null,"after":null},"context":"acct_1Rd92306GG1czfwR","created":"2025-06-26T17:32:39.530Z","data":null,"reason":null,"related_object":{"id":"acct_1Re4Nh05fklPI6a9","type":"v2.core.account","url":"/v2/core/accounts/acct_1Re4Nh05fklPI6a9?include=configuration.money_manager"},"type":"v2.core.account[configuration.money_manager].capability_status_updated","livemode":false},"x-stableId":"v2.core.account[configuration.money_manager].capability_status_updated","x-stripeDocsSamples":[{"payload":{"created":"2025-06-26T17:32:39.530Z","id":"evt_test_65SnhcVsdHPetOMGZki16SmWzO0eE9IIrYxa2T2K4MqDdY","object":"v2.core.event","type":"v2.core.account[configuration.money_manager].capability_status_updated","data":{"updated_capability":"outbound_transfers.financial_accounts"},"livemode":false,"reason":null,"related_object":{"id":"acct_1Re4Nh05fklPI6a9","type":"v2.core.account","url":"/v2/core/accounts/acct_1Re4Nh05fklPI6a9?include=configuration.money_manager"},"changes":{"before":null,"after":null}},"response":{"id":"evt_test_65SnhcVsdHPetOMGZki16SmWzO0eE9IIrYxa2T2K4MqDdY","object":"v2.core.event","changes":{"before":null,"after":null},"context":"acct_1Rd92306GG1czfwR","created":"2025-06-26T17:32:39.530Z","data":null,"reason":null,"related_object":{"id":"acct_1Re4Nh05fklPI6a9","type":"v2.core.account","url":"/v2/core/accounts/acct_1Re4Nh05fklPI6a9?include=configuration.money_manager"},"type":"v2.core.account[configuration.money_manager].capability_status_updated","livemode":false}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[configuration.money_manager].capability_status_updated"},"x-stripeNotPublic":true},"v2.core.account_configuration.money_manager_.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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[configuration.money_manager].updated"]}},"description":"Occurs when a MoneyManager's configuration is updated.","example":{"id":"evt_test_65SnhcWJSyXD7prOFki16SmWzO0eE9IIrYxa2T2K4MqLGy","object":"v2.core.event","changes":null,"context":"acct_1Rd92306GG1czfwR","created":"2025-06-26T17:32:40.295Z","data":null,"reason":null,"related_object":{"id":"acct_1Re4Nh05fklPI6a9","type":"v2.core.account","url":"/v2/core/accounts/acct_1Re4Nh05fklPI6a9?include=configuration.money_manager"},"type":"v2.core.account[configuration.money_manager].updated","livemode":false},"x-stableId":"v2.core.account[configuration.money_manager].updated","x-stripeDocsSamples":[{"payload":{"created":"2025-06-26T17:32:40.295Z","id":"evt_test_65SnhcWJSyXD7prOFki16SmWzO0eE9IIrYxa2T2K4MqLGy","object":"v2.core.event","type":"v2.core.account[configuration.money_manager].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1Re4Nh05fklPI6a9","type":"v2.core.account","url":"/v2/core/accounts/acct_1Re4Nh05fklPI6a9?include=configuration.money_manager"},"changes":null},"response":{"id":"evt_test_65SnhcWJSyXD7prOFki16SmWzO0eE9IIrYxa2T2K4MqLGy","object":"v2.core.event","changes":null,"context":"acct_1Rd92306GG1czfwR","created":"2025-06-26T17:32:40.295Z","data":null,"reason":null,"related_object":{"id":"acct_1Re4Nh05fklPI6a9","type":"v2.core.account","url":"/v2/core/accounts/acct_1Re4Nh05fklPI6a9?include=configuration.money_manager"},"type":"v2.core.account[configuration.money_manager].updated","livemode":false}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[configuration.money_manager].updated"},"x-stripeNotPublic":true},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"created":"2025-04-01T23:03:17.678Z","id":"evt_test_65SIbnJV74bY3Gprd8316RXPD96YSQQWRFoysHSB2ueM52","object":"v2.core.event","type":"v2.core.account[configuration.recipient].capability_status_updated","data":{"updated_capability":"stripe_balance.stripe_transfers"},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.recipient"},"changes":null},"x-stableId":"v2.core.account[configuration.recipient].capability_status_updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-01T23:03:17.678Z","id":"evt_test_65SIbnJV74bY3Gprd8316RXPD96YSQQWRFoysHSB2ueM52","object":"v2.core.event","type":"v2.core.account[configuration.recipient].capability_status_updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.recipient"}},"response":{"created":"2025-04-01T23:03:17.678Z","id":"evt_test_65SIbnJV74bY3Gprd8316RXPD96YSQQWRFoysHSB2ueM52","object":"v2.core.event","type":"v2.core.account[configuration.recipient].capability_status_updated","data":{"updated_capability":"stripe_balance.stripe_transfers"},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.recipient"},"changes":null}}],"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"created":"2025-04-01T23:03:16.425Z","id":"evt_test_65SIbnIZpPGoUur818316RXPD96YSQQWRFoysHSB2ue7Qm","object":"v2.core.event","type":"v2.core.account[configuration.recipient].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.recipient"},"changes":null},"x-stableId":"v2.core.account[configuration.recipient].updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-01T23:03:16.425Z","id":"evt_test_65SIbnIZpPGoUur818316RXPD96YSQQWRFoysHSB2ue7Qm","object":"v2.core.event","type":"v2.core.account[configuration.recipient].updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.recipient"}},"response":{"created":"2025-04-01T23:03:16.425Z","id":"evt_test_65SIbnIZpPGoUur818316RXPD96YSQQWRFoysHSB2ue7Qm","object":"v2.core.event","type":"v2.core.account[configuration.recipient].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=configuration.recipient"},"changes":null}}],"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpb3OfelO37hqKCH16THhWW0BSQoYblrirrmiR4aCgK","object":"v2.core.event","type":"v2.core.account[defaults].updated","data":null,"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=defaults"},"changes":null},"x-stableId":"v2.core.account[defaults].updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpb3OfelO37hqKCH16THhWW0BSQoYblrirrmiR4aCgK","object":"v2.core.event","type":"v2.core.account[defaults].updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=defaults"}},"response":{"created":"2025-04-28T20:33:01.123Z","id":"evt_test_65THpb3OfelO37hqKCH16THhWW0BSQoYblrirrmiR4aCgK","object":"v2.core.event","type":"v2.core.account[defaults].updated","data":null,"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=defaults"},"changes":null}}],"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"client":{"type":"api_key","api_key":{"id":"4242"},"dashboard_user":{"email":"4242","ip_address":"4242","machine_identifier":"4242"},"stripe_action":{}},"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}},"x-stableId":"v2.core.account[future_requirements].updated","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"client":{"type":"api_key","api_key":{"id":"4242"},"dashboard_user":{"email":"4242","ip_address":"4242","machine_identifier":"4242"},"stripe_action":{}},"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":{"client":{"type":"api_key","api_key":{"id":"4242"},"dashboard_user":{"email":"4242","ip_address":"4242","machine_identifier":"4242"},"stripe_action":{}},"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[identity].updated"]}},"description":"Occurs when an Identity is updated.","example":{"created":"2025-04-28T20:48:08.710Z","id":"evt_test_65SSMYK8uw9bZdmkiyd16RXPD96YSQQWRFoysHSB2ueSn2","object":"v2.core.event","type":"v2.core.account[identity].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=identity"},"changes":null},"x-stableId":"v2.core.account[identity].updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:48:08.710Z","id":"evt_test_65SSMYK8uw9bZdmkiyd16RXPD96YSQQWRFoysHSB2ueSn2","object":"v2.core.event","type":"v2.core.account[identity].updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=identity"}},"response":{"created":"2025-04-28T20:48:08.710Z","id":"evt_test_65SSMYK8uw9bZdmkiyd16RXPD96YSQQWRFoysHSB2ueSn2","object":"v2.core.event","type":"v2.core.account[identity].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=identity"},"changes":null}}],"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":["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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."},"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":["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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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."},"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":{"kind":"open","values":[{"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":"Describes the Stripe-hosted flow for this Account Link, including its type and flow-specific configuration."}},"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.","example":{"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-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","money_manager","recipient","storer"],"x-stripeEnum":{"kind":"open","values":[{"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 money manager.","value":"money_manager"},{"description":"The Account can be used as a recipient.","value":"recipient"},{"description":"The Account can be used as a storer.","value":"storer"}]}}},"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account_link.returned"]}},"description":"Occurs when the generated AccountLink is completed.","example":{"created":"2025-09-17T20:19:43.005Z","id":"evt_test_61THpmhqAHs1f7bm316THhk901SQqvRq7FVjHMVoeTTM","object":"v2.core.event","type":"v2.core.account_link.returned","data":{"account_id":"acct_1S8RoaJG4CBdUHwl","configurations":["recipient"],"use_case":"account_onboarding"},"livemode":false,"reason":null,"related_object":{},"changes":null},"x-stableId":"v2.core.account_link.returned","x-stripeDocsSamples":[{"payload":{"created":"2025-09-17T20:19:43.005Z","id":"evt_test_61THpmhqAHs1f7bm316THhk901SQqvRq7FVjHMVoeTTM","object":"v2.core.event","type":"v2.core.account_link.returned","data":{"account_id":"acct_1S8RoaJG4CBdUHwl","configurations":["recipient"],"use_case":"account_onboarding"},"livemode":false,"related_object":{}},"response":{"created":"2025-09-17T20:19:43.005Z","id":"evt_test_61THpmhqAHs1f7bm316THhk901SQqvRq7FVjHMVoeTTM","object":"v2.core.event","type":"v2.core.account_link.returned","data":{"account_id":"acct_1S8RoaJG4CBdUHwl","configurations":["recipient"],"use_case":"account_onboarding"},"livemode":false,"reason":null,"related_object":{},"changes":null}}],"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":{"kind":"closed","values":[{"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":{"kind":"closed","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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":{"kind":"open","values":[{"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.","example":{"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-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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account_person.created"]}},"description":"Occurs when a Person is created.","example":{"created":"2025-04-28T20:48:39.804Z","id":"evt_test_65SSMYpFXcSU1Rkwzk416RXPD96YSQQWRFoysHSB2ueEEy","object":"v2.core.event","type":"v2.core.account_person.created","data":{"account_id":"acct_1RIyMKPt46znscxj"},"livemode":false,"reason":null,"related_object":{"id":"person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs","type":"v2.core.account_person","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj/persons/person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs"},"changes":null},"x-stableId":"v2.core.account_person.created","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:48:39.804Z","id":"evt_test_65SSMYpFXcSU1Rkwzk416RXPD96YSQQWRFoysHSB2ueEEy","object":"v2.core.event","type":"v2.core.account_person.created","livemode":false,"related_object":{"id":"person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs","type":"v2.core.account_person","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj/persons/person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs"}},"response":{"created":"2025-04-28T20:48:39.804Z","id":"evt_test_65SSMYpFXcSU1Rkwzk416RXPD96YSQQWRFoysHSB2ueEEy","object":"v2.core.event","type":"v2.core.account_person.created","data":{"account_id":"acct_1RIyMKPt46znscxj"},"livemode":false,"reason":null,"related_object":{"id":"person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs","type":"v2.core.account_person","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj/persons/person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs"},"changes":null}}],"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account_person.deleted"]}},"description":"Occurs when a Person is deleted.","example":{"created":"2025-04-28T20:48:39.804Z","id":"evt_test_65SSMYpFXcSU1Rkwzk416RXPD96YSQQWRFoysHSB2ueEEy","object":"v2.core.event","type":"v2.core.account_person.deleted","data":{"account_id":"acct_1RIyMKPt46znscxj"},"livemode":false,"reason":null,"related_object":{"id":"person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs","type":"v2.core.account_person","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj/persons/person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs"},"changes":null},"x-stableId":"v2.core.account_person.deleted","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:48:39.804Z","id":"evt_test_65SSMYpFXcSU1Rkwzk416RXPD96YSQQWRFoysHSB2ueEEy","object":"v2.core.event","type":"v2.core.account_person.deleted","livemode":false,"related_object":{"id":"person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs","type":"v2.core.account_person","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj/persons/person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs"}},"response":{"created":"2025-04-28T20:48:39.804Z","id":"evt_test_65SSMYpFXcSU1Rkwzk416RXPD96YSQQWRFoysHSB2ueEEy","object":"v2.core.event","type":"v2.core.account_person.deleted","data":{"account_id":"acct_1RIyMKPt46znscxj"},"livemode":false,"reason":null,"related_object":{"id":"person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs","type":"v2.core.account_person","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj/persons/person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs"},"changes":null}}],"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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account_person.updated"]}},"description":"Occurs when a Person is updated.","example":{"created":"2025-04-28T20:48:39.804Z","id":"evt_test_65SSMYpFXcSU1Rkwzk416RXPD96YSQQWRFoysHSB2ueEEy","object":"v2.core.event","type":"v2.core.account_person.updated","data":{"account_id":"acct_1RIyMKPt46znscxj"},"livemode":false,"reason":null,"related_object":{"id":"person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs","type":"v2.core.account_person","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj/persons/person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs"},"changes":null},"x-stableId":"v2.core.account_person.updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-28T20:48:39.804Z","id":"evt_test_65SSMYpFXcSU1Rkwzk416RXPD96YSQQWRFoysHSB2ueEEy","object":"v2.core.event","type":"v2.core.account_person.updated","livemode":false,"related_object":{"id":"person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs","type":"v2.core.account_person","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj/persons/person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs"}},"response":{"created":"2025-04-28T20:48:39.804Z","id":"evt_test_65SSMYpFXcSU1Rkwzk416RXPD96YSQQWRFoysHSB2ueEEy","object":"v2.core.event","type":"v2.core.account_person.updated","data":{"account_id":"acct_1RIyMKPt46znscxj"},"livemode":false,"reason":null,"related_object":{"id":"person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs","type":"v2.core.account_person","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj/persons/person_test_61SSMYofvI9uiWN8k16SSMYJ6vSQjlx0WXeVr2P44Acs"},"changes":null}}],"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.","example":{"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-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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[requirements].updated"]}},"description":"Occurs when an Account's requirements are updated.","example":{"created":"2025-04-01T23:03:18.235Z","id":"evt_test_65SIbnKv7aZvHPCht8316RXPD96YSQQWRFoysHSB2ue4iG","object":"v2.core.event","type":"v2.core.account[requirements].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=requirements"},"changes":null},"x-stableId":"v2.core.account[requirements].updated","x-stripeDocsSamples":[{"payload":{"created":"2025-04-01T23:03:18.235Z","id":"evt_test_65SIbnKv7aZvHPCht8316RXPD96YSQQWRFoysHSB2ue4iG","object":"v2.core.event","type":"v2.core.account[requirements].updated","livemode":false,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=requirements"}},"response":{"created":"2025-04-01T23:03:18.235Z","id":"evt_test_65SIbnKv7aZvHPCht8316RXPD96YSQQWRFoysHSB2ue4iG","object":"v2.core.event","type":"v2.core.account[requirements].updated","data":{},"livemode":false,"reason":null,"related_object":{"id":"acct_1RIyMKPt46znscxj","type":"v2.core.account","url":"/v2/core/accounts/acct_1RIyMKPt46znscxj?include=requirements"},"changes":null}}],"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 an account's contact_email, display_name, contact_phone, and identity.","example":{"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-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.approval_request":{"title":"Approval Request","required":["action","created","expires_at","id","livemode","object","requested_by","status"],"type":"object","properties":{"action":{"type":"string","description":"The action that was requested.","enum":["charge.create","dispute.close","inbound_transfers.money_management.create","invoice.create","outbound_payments.money_management.create","outbound_transfers.money_management.create","payment_intent.create","payment_intent.update","payout.create","price.update","refund.create","setup_intent.create","subscription.create","subscription.update","topup.create","transfer.create"],"x-stripeEnum":{"kind":"open","values":[{"description":"Approval request for creating a charge.","value":"charge.create"},{"description":"Approval request for closing a dispute.","value":"dispute.close"},{"description":"Approval request for creating an inbound transfer via money management.","value":"inbound_transfers.money_management.create"},{"description":"Approval request for creating an invoice.","value":"invoice.create"},{"description":"Approval request for creating an outbound payment via money management.","value":"outbound_payments.money_management.create"},{"description":"Approval request for creating an outbound transfer via money management.","value":"outbound_transfers.money_management.create"},{"description":"Approval request for creating a payment intent.","value":"payment_intent.create"},{"description":"Approval request for updating a payment intent.","value":"payment_intent.update"},{"description":"Approval request for creating a payout.","value":"payout.create"},{"description":"Approval request for updating a price.","value":"price.update"},{"description":"Approval request for creating a refund.","value":"refund.create"},{"description":"Approval request for creating a setup intent.","value":"setup_intent.create"},{"description":"Approval request for creating a subscription.","value":"subscription.create"},{"description":"Approval request for updating a subscription.","value":"subscription.update"},{"description":"Approval request for creating a top-up.","value":"topup.create"},{"description":"Approval request for creating a transfer.","value":"transfer.create"}]}},"created":{"type":"string","description":"Time this ApprovalRequest was created.","format":"date-time"},"dashboard_url":{"type":"string","description":"The URL to the dashboard for this ApprovalRequest."},"expires_at":{"type":"string","description":"The timestamp at which this ApprovalRequest will expire.","format":"date-time"},"id":{"type":"string","description":"The unique identifier for this ApprovalRequest."},"livemode":{"type":"boolean","description":"Whether this ApprovalRequest is livemode."},"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.approval_request"]},"reason":{"type":"string","description":"Context provided by the requester (e.g. an agent) to help reviewers evaluate the request."},"requested_by":{"required":["type"],"type":"object","properties":{"api_key":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Stripe-defined identifier for the API key (e.g. a restricted API key token)."},"name":{"type":"string","description":"Merchant-defined name for the API key."}},"description":"Present when `type` is `api_key`."},"type":{"type":"string","description":"The type of actor that made the request.","enum":["api_key","user"],"x-stripeEnum":{"kind":"open","values":[{"description":"The actor is a restricted API key.","value":"api_key"},{"description":"The actor is a dashboard user.","value":"user"}]}},"user":{"required":["email"],"type":"object","properties":{"email":{"type":"string","description":"Email address of the dashboard user."}},"description":"Present when `type` is `user`."}},"description":"The requester of this ApprovalRequest."},"review":{"required":["result","reviewed_at","reviewed_by"],"type":"object","properties":{"reason":{"type":"string","description":"The reason provided by the reviewer."},"result":{"type":"string","description":"The result of the review.","enum":["approved","rejected"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The approval request was approved.","value":"approved"},{"description":"The approval request was rejected.","value":"rejected"}]}},"reviewed_at":{"type":"string","description":"Timestamp when the review was performed.","format":"date-time"},"reviewed_by":{"required":["type"],"type":"object","properties":{"api_key":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Stripe-defined identifier for the API key (e.g. a restricted API key token)."},"name":{"type":"string","description":"Merchant-defined name for the API key."}},"description":"Present when `type` is `api_key`."},"type":{"type":"string","description":"The type of actor that reviewed the request.","enum":["api_key","user"],"x-stripeEnum":{"kind":"open","values":[{"description":"The actor is a restricted API key.","value":"api_key"},{"description":"The actor is a dashboard user.","value":"user"}]}},"user":{"required":["email"],"type":"object","properties":{"email":{"type":"string","description":"Email address of the dashboard user."}},"description":"Present when `type` is `user`."}},"description":"The reviewer who performed the review."}},"description":"The review of this ApprovalRequest if it has been reviewed."},"rule":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"The name of the rule."}},"description":"The rule associated with this ApprovalRequest."},"status":{"type":"string","description":"The status of this ApprovalRequest.","enum":["approved","canceled","execution_failed","execution_started","execution_succeeded","expired","failed","pending","rejected","requires_execution","requires_review","succeeded"],"x-stripeEnum":{"kind":"open","values":[{"description":"The approval request has been approved and is awaiting or undergoing execution.","value":"approved"},{"description":"The approval request was canceled.","value":"canceled"},{"description":"Deprecated: use failed instead.","value":"execution_failed"},{"description":"Deprecated: use requires_execution instead.","value":"execution_started"},{"description":"Deprecated: use succeeded instead.","value":"execution_succeeded"},{"description":"The approval request expired before being reviewed.","value":"expired"},{"description":"The approval request execution failed.","value":"failed"},{"description":"Deprecated: use requires_review instead.","value":"pending"},{"description":"The approval request was rejected by a reviewer.","value":"rejected"},{"description":"The approval request has been approved and is awaiting execution.\nDeprecated: deferred to agentic approvals phase.","value":"requires_execution"},{"description":"The approval request is awaiting review.","value":"requires_review"},{"description":"The approval request was executed successfully.","value":"succeeded"}]}},"status_details":{"type":"object","properties":{"approved":{"type":"object","properties":{"reason":{"type":"string","description":"The reason provided when approving the request."}},"description":"Deprecated: use requires_execution status instead."},"canceled":{"type":"object","properties":{},"description":"Deprecated: use canceled status instead."},"execution_failed":{"required":["code","message","type"],"type":"object","properties":{"code":{"type":"string","description":"The error code for the failed execution."},"message":{"type":"string","description":"The error message for the failed execution."},"type":{"type":"string","description":"The error type for the failed execution."}},"description":"Deprecated: use failed status instead."},"execution_started":{"type":"object","properties":{},"description":"Deprecated: use requires_execution status instead."},"execution_succeeded":{"required":["result"],"type":"object","properties":{"result":{"required":["id","object"],"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the executed object."},"object":{"type":"string","description":"The object type of the executed resource."}},"description":"The result of the successful execution."}},"description":"Deprecated: use succeeded status instead."},"expired":{"type":"object","properties":{},"description":"Deprecated: use expired status instead."},"failed":{"required":["error_code","error_message","error_type"],"type":"object","properties":{"error_code":{"type":"string","description":"The error code for the failed execution."},"error_message":{"type":"string","description":"The error message for the failed execution."},"error_type":{"type":"string","description":"The error type for the failed execution."}},"description":"Details when the approval request failed."},"pending":{"type":"object","properties":{},"description":"Deprecated: use requires_review status instead."},"rejected":{"type":"object","properties":{"reason":{"type":"string","description":"The reason provided when rejecting the request."}},"description":"Deprecated: use rejected status instead."},"succeeded":{"required":["result"],"type":"object","properties":{"result":{"required":["id","object"],"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the executed object."},"object":{"type":"string","description":"The object type of the executed resource."}},"description":"The result of the successful execution."}},"description":"Details when the approval request succeeded."}},"description":"The details of the status of this ApprovalRequest."},"status_transitions":{"type":"object","properties":{"approved_at":{"type":"string","description":"Timestamp when the approval request was approved.","format":"date-time"},"canceled_at":{"type":"string","description":"Timestamp when the approval request was canceled.","format":"date-time"},"expired_at":{"type":"string","description":"Timestamp when the approval request expired.","format":"date-time"},"failed_at":{"type":"string","description":"Timestamp when the approval request failed.","format":"date-time"},"rejected_at":{"type":"string","description":"Timestamp when the approval request was rejected.","format":"date-time"},"succeeded_at":{"type":"string","description":"Timestamp when the approval request succeeded.","format":"date-time"}},"description":"The transitions of the status of this ApprovalRequest."}},"description":"An approval request represents a pending action that requires review before execution.","example":{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"requires_review","reason":"Approved by finance lead over Slack; updating context for reviewers.","dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":null,"expired_at":null},"review":null},"x-resourceId":"v2.core.approval_request","x-stableId":"v2_resource_approval_request","x-stripeDocsSamples":[{"title":"Requires review","response":{"id":"areq_1234567890abcdef","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"refund.create","status":"requires_review","reason":"Approved by finance lead over Slack; updating context for reviewers.","dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_1234567890abcdef","requested_by":{"type":"api_key","api_key":{"id":"rk_live_abc123","name":"Finance Team Key"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":null,"status_transitions":{"approved_at":null,"succeeded_at":null,"failed_at":null,"rejected_at":null,"canceled_at":null,"expired_at":null},"review":null}},{"title":"Succeeded","response":{"id":"areq_abcdef1234567890","object":"v2.core.approval_request","created":"2025-01-15T10:30:00.000Z","action":"payout.create","status":"succeeded","reason":null,"dashboard_url":"https://dashboard.stripe.com/approval_requests/areq_abcdef1234567890","requested_by":{"type":"user","user":{"email":"finance@example.com"}},"expires_at":"2025-01-22T10:30:00.000Z","livemode":true,"status_details":{"succeeded":{"result":{"id":"po_1234567890abcdef","object":"payout"}}},"status_transitions":{"approved_at":"2025-01-15T10:45:00.000Z","succeeded_at":"2025-01-15T11:00:00.000Z","failed_at":null,"rejected_at":null,"canceled_at":null,"expired_at":null},"review":{"reviewed_by":{"type":"api_key","api_key":{"id":"rk_live_xyz789","name":"Admin Key"}},"result":"approved","reason":"Approved by finance manager.","reviewed_at":"2025-01-15T10:45:00.000Z"}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/core/approval_requests"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/approval_requests/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/core/approval_requests/{id}"},{"method_name":"cancel","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/approval_requests/{id}/cancel"}],"x-stripeResource":{"class_name":"ApprovalRequest","in_package":"v2.core"}},"v2.core.approval_request.approved":{"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 [Approval Request](https://docs.stripe.com/api/v2/core/approval-requests/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":{"kind":"open","values":[{"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.approval_request"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.approval_request.approved"]}},"description":"Occurs when an approval request is approved by a reviewer.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.approved","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null},"x-stableId":"v2.core.approval_request.approved","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.approved","livemode":false,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.approved","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.approval_request.approved"}},"v2.core.approval_request.canceled":{"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 [Approval Request](https://docs.stripe.com/api/v2/core/approval-requests/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":{"kind":"open","values":[{"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.approval_request"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.approval_request.canceled"]}},"description":"Occurs when an approval request is canceled by the requester.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.canceled","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null},"x-stableId":"v2.core.approval_request.canceled","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.canceled","livemode":false,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.canceled","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.approval_request.canceled"}},"v2.core.approval_request.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 [Approval Request](https://docs.stripe.com/api/v2/core/approval-requests/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":{"kind":"open","values":[{"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.approval_request"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.approval_request.created"]}},"description":"Occurs when an approval request is created.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.created","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null},"x-stableId":"v2.core.approval_request.created","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.created","livemode":false,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.created","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.approval_request.created"}},"v2.core.approval_request.expired":{"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 [Approval Request](https://docs.stripe.com/api/v2/core/approval-requests/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":{"kind":"open","values":[{"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.approval_request"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.approval_request.expired"]}},"description":"Occurs when an approval request expires without being acted upon.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.expired","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null},"x-stableId":"v2.core.approval_request.expired","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.expired","livemode":false,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.expired","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.approval_request.expired"}},"v2.core.approval_request.failed":{"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 [Approval Request](https://docs.stripe.com/api/v2/core/approval-requests/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":{"kind":"open","values":[{"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.approval_request"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.approval_request.failed"]}},"description":"Occurs when the action associated with an approval request fails during execution.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.failed","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null},"x-stableId":"v2.core.approval_request.failed","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.failed","livemode":false,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.failed","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.approval_request.failed"}},"v2.core.approval_request.rejected":{"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 [Approval Request](https://docs.stripe.com/api/v2/core/approval-requests/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":{"kind":"open","values":[{"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.approval_request"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.approval_request.rejected"]}},"description":"Occurs when an approval request is rejected by a reviewer.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.rejected","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null},"x-stableId":"v2.core.approval_request.rejected","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.rejected","livemode":false,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.rejected","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.approval_request.rejected"}},"v2.core.approval_request.succeeded":{"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 [Approval Request](https://docs.stripe.com/api/v2/core/approval-requests/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":{"kind":"open","values":[{"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.approval_request"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.approval_request.succeeded"]}},"description":"Occurs when an approval request is successfully executed.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.succeeded","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null},"x-stableId":"v2.core.approval_request.succeeded","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.succeeded","livemode":false,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65THpbNAKwSIkamdPQY16THhWW0BSQoYblrirrmiR4a4Vc","object":"v2.core.event","type":"v2.core.approval_request.succeeded","data":null,"livemode":false,"reason":null,"related_object":{"id":"apreq_1RIyMKPt46znscxjABCD1234","type":"v2.core.approval_request","url":"/v2/core/approval_requests/apreq_1RIyMKPt46znscxjABCD1234"},"changes":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.approval_request.succeeded"}},"v2.core.batch_job":{"title":"Batch Job","required":["created","id","livemode","metadata","object","skip_validation","status"],"type":"object","properties":{"created":{"type":"string","description":"Timestamp at which the `batch_job` was created.","format":"date-time"},"id":{"type":"string","description":"Unique identifier for the `batch_job`."},"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":"The metadata of the `batch_job`."},"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.batch_job"]},"skip_validation":{"type":"boolean","description":"Whether validation runs before executing the `batch_job`."},"status":{"type":"string","description":"The current status of the `batch_job`.","enum":["batch_failed","canceled","cancelling","complete","in_progress","ready_for_upload","timeout","upload_timeout","validating","validation_failed"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The batch job failed to complete because of an error.","value":"batch_failed"},{"description":"The batch job was canceled.","value":"canceled"},{"description":"The batch job is in the process of being canceled.","value":"cancelling"},{"description":"The batch job successfully finished.","value":"complete"},{"description":"Validation succeeded and the batch job is in progress.","value":"in_progress"},{"description":"The batch job was initialized and the user can upload the input file now.","value":"ready_for_upload"},{"description":"The batch job timed out.","value":"timeout"},{"description":"The input file wasn't uploaded in time.","value":"upload_timeout"},{"description":"Input file was uploaded and validation is in progress.","value":"validating"},{"description":"The batch job failed validation and was never processed.","value":"validation_failed"}]}},"status_details":{"type":"object","properties":{"batch_failed":{"required":["error"],"type":"object","properties":{"error":{"type":"string","description":"Details about the `batch_job` failure."}},"description":"Additional details for the `BATCH_FAILED` status of the `batch_job`."},"canceled":{"required":["failure_count","output_file","success_count"],"type":"object","properties":{"failure_count":{"type":"string","description":"The total number of records that failed processing.","format":"int64"},"output_file":{"required":["content_type","download_url","size"],"type":"object","properties":{"content_type":{"type":"string","description":"The content type of the file."},"download_url":{"required":["url"],"type":"object","properties":{"expires_at":{"type":"string","description":"The time that the URL expires.","format":"date-time"},"url":{"type":"string","description":"The URL that can be used for accessing the file."}},"description":"A pre-signed URL that allows secure, time-limited access to download the file."},"size":{"type":"string","description":"The total size of the file in bytes.","format":"int64"}},"description":"The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point."},"success_count":{"type":"string","description":"The total number of records that were successfully processed.","format":"int64"}},"description":"Additional details for the `CANCELED` status of the `batch_job`."},"complete":{"required":["failure_count","output_file","success_count"],"type":"object","properties":{"failure_count":{"type":"string","description":"The total number of records that failed processing.","format":"int64"},"output_file":{"required":["content_type","download_url","size"],"type":"object","properties":{"content_type":{"type":"string","description":"The content type of the file."},"download_url":{"required":["url"],"type":"object","properties":{"expires_at":{"type":"string","description":"The time that the URL expires.","format":"date-time"},"url":{"type":"string","description":"The URL that can be used for accessing the file."}},"description":"A pre-signed URL that allows secure, time-limited access to download the file."},"size":{"type":"string","description":"The total size of the file in bytes.","format":"int64"}},"description":"The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point."},"success_count":{"type":"string","description":"The total number of records that were successfully processed.","format":"int64"}},"description":"Additional details for the `COMPLETE` status of the `batch_job`."},"in_progress":{"required":["failure_count","success_count"],"type":"object","properties":{"failure_count":{"type":"string","description":"The number of records that failed processing so far.","format":"int64"},"success_count":{"type":"string","description":"The number of records that were successfully processed so far.","format":"int64"}},"description":"Additional details for the `IN_PROGRESS` status of the `batch_job`."},"ready_for_upload":{"required":["upload_url"],"type":"object","properties":{"upload_url":{"required":["url"],"type":"object","properties":{"expires_at":{"type":"string","description":"The time that the URL expires.","format":"date-time"},"url":{"type":"string","description":"The URL that can be used for accessing the file."}},"description":"The upload file details."}},"description":"Additional details for the `READY_FOR_UPLOAD` status of the `batch_job`."},"timeout":{"required":["failure_count","output_file","success_count"],"type":"object","properties":{"failure_count":{"type":"string","description":"The total number of records that failed processing.","format":"int64"},"output_file":{"required":["content_type","download_url","size"],"type":"object","properties":{"content_type":{"type":"string","description":"The content type of the file."},"download_url":{"required":["url"],"type":"object","properties":{"expires_at":{"type":"string","description":"The time that the URL expires.","format":"date-time"},"url":{"type":"string","description":"The URL that can be used for accessing the file."}},"description":"A pre-signed URL that allows secure, time-limited access to download the file."},"size":{"type":"string","description":"The total size of the file in bytes.","format":"int64"}},"description":"The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point."},"success_count":{"type":"string","description":"The total number of records that were successfully processed.","format":"int64"}},"description":"Additional details for the `TIMEOUT` status of the `batch_job`."},"validating":{"required":["validated_count"],"type":"object","properties":{"validated_count":{"type":"string","description":"The number of records that were validated. Note that there is no failure counter here;\nonce we have any validation failures we give up.","format":"int64"}},"description":"Additional details for the `VALIDATING` status of the `batch_job`."},"validation_failed":{"required":["failure_count","output_file","success_count"],"type":"object","properties":{"failure_count":{"type":"string","description":"The total number of records that failed processing.","format":"int64"},"output_file":{"required":["content_type","download_url","size"],"type":"object","properties":{"content_type":{"type":"string","description":"The content type of the file."},"download_url":{"required":["url"],"type":"object","properties":{"expires_at":{"type":"string","description":"The time that the URL expires.","format":"date-time"},"url":{"type":"string","description":"The URL that can be used for accessing the file."}},"description":"A pre-signed URL that allows secure, time-limited access to download the file."},"size":{"type":"string","description":"The total size of the file in bytes.","format":"int64"}},"description":"The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point."},"success_count":{"type":"string","description":"The total number of records that were successfully processed.","format":"int64"}},"description":"Additional details for the `VALIDATION_FAILED` status of the `batch_job`."}},"description":"Additional details about the current state of the `batch_job`."}},"description":"A batch job allows you to perform an API operation on a large set of records asynchronously.","example":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"complete","status_details":{"complete":{"output_file":{"content_type":"application/jsonlines","download_url":{"expires_at":"2026-03-09T22:05:31.000Z","url":"https://stripeusercontent.com/files/download/..."},"size":"8514"},"success_count":"100","failure_count":"0"}}},"x-resourceId":"v2.core.batch_job","x-stableId":"v2_resource_batch_job","x-stripeDocsSamples":[{"title":"Complete","response":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"complete","status_details":{"complete":{"output_file":{"content_type":"application/jsonlines","download_url":{"expires_at":"2026-03-09T22:05:31.000Z","url":"https://stripeusercontent.com/files/download/..."},"size":"8514"},"success_count":"100","failure_count":"0"}}}},{"title":"Ready for upload","response":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"ready_for_upload","status_details":{"ready_for_upload":{"upload_url":{"expires_at":"2026-03-09T21:00:31.000Z","url":"https://stripeusercontent.com/files/upload/..."}}}}},{"title":"In progress","response":{"id":"batchv2_AbCdEfGhIjKlMnOpQrStUvWxYz","object":"v2.core.batch_job","created":"2026-03-09T20:55:31.000Z","metadata":{},"skip_validation":false,"status":"in_progress","status_details":{"in_progress":{"success_count":"45","failure_count":"2"}}}}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/core/batch_jobs"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/batch_jobs/{id}"},{"method_name":"cancel","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/batch_jobs/{id}/cancel"}],"x-stripeResource":{"class_name":"BatchJob","in_package":"v2.core"}},"v2.core.batch_job.batch_failed":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.batch_failed"]}},"description":"Occurs when a batch job fails.","example":{"context":null,"created":"2025-01-15T11:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41a","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.batch_failed","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.batch_failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T11:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41a","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.batch_failed"},"response":{"context":null,"created":"2025-01-15T11:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41a","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.batch_failed","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.batch_failed"},"x-stripeNotPublic":true},"v2.core.batch_job.canceled":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.canceled"]}},"description":"Occurs when a batch job is canceled.","example":{"context":null,"created":"2025-01-15T10:45:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41b","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.canceled","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T10:45:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41b","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.canceled"},"response":{"context":null,"created":"2025-01-15T10:45:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41b","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.canceled","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.canceled"},"x-stripeNotPublic":true},"v2.core.batch_job.completed":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.completed"]}},"description":"Occurs on completion of a batch job.","example":{"context":null,"created":"2025-01-15T11:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40z","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.completed","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.completed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T11:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40z","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.completed"},"response":{"context":null,"created":"2025-01-15T11:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40z","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.completed","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.completed"},"x-stripeNotPublic":true},"v2.core.batch_job.created":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.created"]}},"description":"Occurs on creation of a batch job.","example":{"context":null,"created":"2025-01-15T10:30:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.created","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T10:30:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.created"},"response":{"context":null,"created":"2025-01-15T10:30:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.created","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.created"},"x-stripeNotPublic":true},"v2.core.batch_job.ready_for_upload":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.ready_for_upload"]}},"description":"Occurs on submission of a batch job.","example":{"context":null,"created":"2025-01-15T10:30:05.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40v","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.ready_for_upload","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.ready_for_upload","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T10:30:05.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40v","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.ready_for_upload"},"response":{"context":null,"created":"2025-01-15T10:30:05.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40v","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.ready_for_upload","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.ready_for_upload"},"x-stripeNotPublic":true},"v2.core.batch_job.timeout":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.timeout"]}},"description":"Occurs when a batch job times out.","example":{"context":null,"created":"2025-01-15T22:30:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41c","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.timeout","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.timeout","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T22:30:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41c","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.timeout"},"response":{"context":null,"created":"2025-01-15T22:30:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41c","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.timeout","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.timeout"},"x-stripeNotPublic":true},"v2.core.batch_job.updated":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.updated"]}},"description":"Occurs when a batch job is updated.","example":{"context":null,"created":"2025-01-15T10:50:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41d","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.updated","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T10:50:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41d","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.updated"},"response":{"context":null,"created":"2025-01-15T10:50:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K41d","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.updated","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.updated"},"x-stripeNotPublic":true},"v2.core.batch_job.upload_timeout":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.upload_timeout"]}},"description":"Occurs when merchant fails to upload a file in time.","example":{"context":null,"created":"2025-01-15T11:30:05.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40w","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.upload_timeout","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.upload_timeout","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T11:30:05.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40w","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.upload_timeout"},"response":{"context":null,"created":"2025-01-15T11:30:05.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40w","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.upload_timeout","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.upload_timeout"},"x-stripeNotPublic":true},"v2.core.batch_job.validating":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.validating"]}},"description":"Occurs when a batch job proceeds to the validation stage.","example":{"context":null,"created":"2025-01-15T10:35:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40x","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.validating","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.validating","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T10:35:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40x","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.validating"},"response":{"context":null,"created":"2025-01-15T10:35:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40x","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.validating","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.validating"},"x-stripeNotPublic":true},"v2.core.batch_job.validation_failed":{"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":{"kind":"open","values":[{"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.batch_job"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.batch_job.validation_failed"]}},"description":"Occurs when a batch job fails on validation.","example":{"context":null,"created":"2025-01-15T10:36:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40y","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.validation_failed","changes":{},"data":{}},"x-stableId":"v2.core.batch_job.validation_failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-15T10:36:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40y","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.validation_failed"},"response":{"context":null,"created":"2025-01-15T10:36:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40y","livemode":true,"object":"v2.core.event","reason":null,"related_object":{"id":"bj_1234567890abcdef","type":"v2.core.batch_job","url":"/v2/core/batch_jobs/bj_1234567890abcdef"},"type":"v2.core.batch_job.validation_failed","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.batch_job.validation_failed"},"x-stripeNotPublic":true},"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.\nYou can access events through the [Retrieve Event API](https://docs.stripe.com/api/v2/core/events/retrieve) for 30 days.","example":{"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-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 that owns the event bus receiving events."},"aws_event_source_arn":{"type":"string","description":"The ARN of the Stripe-created partner event source in your AWS account."},"aws_event_source_status":{"type":"string","description":"The AWS-reported lifecycle state of the partner event source.","enum":["active","deleted","pending","unknown"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The Stripe partner event source is associated with an AWS event bus and can receive events.","value":"active"},{"description":"The AWS event source was deleted and delivery is disabled.","value":"deleted"},{"description":"The Stripe partner event source has been created but is not yet associated with an event bus.","value":"pending"},{"description":"Stripe could not determine the AWS event source state.","value":"unknown"}]}}},"description":"Configuration for delivering events through an Amazon EventBridge partner event source."},"azure_event_grid":{"required":["azure_partner_topic_name","azure_partner_topic_status","azure_region","azure_resource_group_name","azure_subscription_id"],"type":"object","properties":{"azure_partner_topic_name":{"type":"string","description":"The name of the Stripe-created partner topic that receives events."},"azure_partner_topic_status":{"type":"string","description":"The Azure-reported lifecycle state of the partner topic.","enum":["activated","deleted","never_activated","unknown"],"x-stripeEnum":{"kind":"open","values":[{"description":"The Stripe partner topic is active and can receive events.","value":"activated"},{"description":"The Azure partner topic was deleted and delivery is disabled.","value":"deleted"},{"description":"Activate the Stripe partner topic in the Azure portal before it can receive events.","value":"never_activated"},{"description":"Stripe could not determine the Azure partner topic state.","value":"unknown"}]}},"azure_region":{"type":"string","description":"The Azure region where the partner topic is located."},"azure_resource_group_name":{"type":"string","description":"The Azure resource group containing the partner topic."},"azure_subscription_id":{"type":"string","description":"The Azure subscription containing the resource group and partner topic."}},"description":"Configuration for delivering events through an Azure Event Grid partner topic."},"created":{"type":"string","description":"The time when the destination was created.","format":"date-time"},"description":{"type":"string","description":"An optional user-defined description of the destination's purpose."},"enabled_events":{"type":"array","description":"The list of event types enabled for delivery to this destination.","items":{"type":"string"}},"event_payload":{"type":"string","description":"Whether to deliver as snapshot or thin events.","enum":["snapshot","thin"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Events that contain full resource objects in the delivered payload, rendered using a specified API version.","value":"snapshot"},{"description":"A lightweight event notification with an unversioned payload. It identifies the related Stripe resource so you can retrieve the complete event or the resource’s current state. This reduces coupling to API-versioned object snapshots and makes event handlers easier to maintain.","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":"User-defined key/value data for the destination; it has no effect on event matching or delivery."},"name":{"type":"string","description":"A user-defined label for identifying the destination in Stripe."},"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":"For snapshot events only, the Stripe API version used to render event objects. You can't change this value after you create the event destination. Thin events are not pinned to an API version."},"status":{"type":"string","description":"Whether Stripe currently attempts delivery. Stripe attempts delivery to enabled destinations when their provider configuration is active; disabled destinations do not receive delivery attempts.","enum":["disabled","enabled"],"x-stripeEnum":{"kind":"closed","values":[{"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","no_azure_partner_topic_exists","user"],"x-stripeEnum":{"kind":"open","values":[{"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 because the underlying Azure partner topic does not exist.","value":"no_azure_partner_topic_exists"},{"description":"Event destination has been disabled by user.","value":"user"}]}}},"description":"Present when the destination was disabled; identifies the cause, time, and provider-side object involved when available."}},"description":"Additional lifecycle context for the destination status, when available."},"type":{"type":"string","description":"The delivery transport. Chosen when the destination is created and cannot be changed by update.","enum":["amazon_eventbridge","azure_event_grid","webhook_endpoint"],"x-stripeEnum":{"kind":"open","values":[{"description":"Deliver matching events through a Stripe partner event source in Amazon EventBridge.","value":"amazon_eventbridge"},{"description":"Deliver matching events through a Stripe partner topic in Azure Event Grid.","value":"azure_event_grid"},{"description":"Deliver matching events to a webhook endpoint. Live mode requires HTTPS; sandbox mode also supports HTTP.","value":"webhook_endpoint"}]}},"updated":{"type":"string","description":"The time when the destination object was last updated.","format":"date-time"},"webhook_endpoint":{"type":"object","properties":{"signing_secret":{"type":"string","description":"The secret used to verify Stripe signatures on delivered events. Returned only in the create response when explicitly included; public API clients cannot retrieve it later."},"url":{"type":"string","description":"The URL where Stripe sends matching events. Live mode requires HTTPS; sandbox mode also supports HTTP. Returned only when explicitly included."}},"description":"Configuration for delivering events to a webhook endpoint. Live mode requires HTTPS; sandbox mode also supports HTTP."}},"description":"Set up an event destination to receive events from Stripe across multiple destination types, including [webhook endpoints](https://docs.stripe.com/webhooks), [Amazon EventBridge](https://docs.stripe.com/event-destinations/eventbridge), and [Azure Event Grid](https://docs.stripe.com/event-destinations/eventgrid). Event destinations support receiving [thin events](https://docs.stripe.com/api/v2/events) and [snapshot events](https://docs.stripe.com/api/events).","example":{"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-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":{"kind":"open","values":[{"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."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"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.","example":{"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-stableId":"v2.core.event_destination.ping","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.core.health.event_generation_failure.resolved":{"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":["alert_id","grouping_key","impact","resolved_at","summary"],"type":"object","properties":{"alert_id":{"type":"string","description":"The alert ID."},"grouping_key":{"type":"string","description":"The grouping key for the alert."},"impact":{"required":["event_type","related_object"],"type":"object","properties":{"context":{"type":"string","description":"The context the event should have been generated for. Only present when the account is a connected account."},"event_type":{"type":"string","description":"The type of event that Stripe failed to generate."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the related object (e.g., \"pi_...\")."},"type":{"type":"string","description":"The type of the related object (e.g., \"payment_intent\")."},"url":{"type":"string","description":"The API URL for the related object (e.g., \"/v1/payment_intents/pi_...\")."}},"description":"The related object details."}},"description":"The user impact."},"resolved_at":{"type":"string","description":"The time when the user experience has returned to expected levels.","format":"date-time"},"summary":{"type":"string","description":"A short description of the alert."}},"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":{"kind":"open","values":[{"description":"The event was published as the result of an API request.","value":"request"}]}}},"description":"Reason for the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.health.event_generation_failure.resolved"]}},"description":"Occurs when an event generation failure alert is resolved.","example":{"created":"2025-09-01T00:00:00.000Z","id":"evt_61T9lS0YJdsfs2qpP16S4Lg62UPMlhRZLaD8bjJk0URE","object":"v2.core.event","type":"v2.core.health.event_generation_failure.resolved","livemode":true,"reason":null,"related_object":{},"changes":null,"data":{"alert_id":"healt_61T9lS0oEhI3q4SIt16S4Lg62UPMlhRZLaD8bjJk04KG","grouping_key":"_grouping_ptMhjBzqnKi6cYrIJceKtf3B8t7hOw2CFPxubICgKCzdFtQQWf","impact":{"account":"acct_1RHue8PJcsYbr6qj","event_type":"payment_intent.requires_action","livemode":true,"missing_delivery_attempts":4,"related_object_id":"pi_3S0JizPJcsYbr6qj2aCkkmwL"},"resolved_at":"2025-09-01T00:00:00.000Z","summary":"We have failed to create a notification for your Stripe account."}},"x-stableId":"v2.core.health.event_generation_failure.resolved","x-stripeDocsSamples":[{"payload":{"created":"2025-09-01T00:00:00.000Z","id":"evt_61T9lS0YJdsfs2qpP16S4Lg62UPMlhRZLaD8bjJk0URE","object":"v2.core.event","type":"v2.core.health.event_generation_failure.resolved","livemode":true,"reason":null,"related_object":{},"changes":null},"response":{"created":"2025-09-01T00:00:00.000Z","id":"evt_61T9lS0YJdsfs2qpP16S4Lg62UPMlhRZLaD8bjJk0URE","object":"v2.core.event","type":"v2.core.health.event_generation_failure.resolved","livemode":true,"reason":null,"related_object":{},"changes":null,"data":{"alert_id":"healt_61T9lS0oEhI3q4SIt16S4Lg62UPMlhRZLaD8bjJk04KG","grouping_key":"_grouping_ptMhjBzqnKi6cYrIJceKtf3B8t7hOw2CFPxubICgKCzdFtQQWf","impact":{"account":"acct_1RHue8PJcsYbr6qj","event_type":"payment_intent.requires_action","livemode":true,"missing_delivery_attempts":4,"related_object_id":"pi_3S0JizPJcsYbr6qj2aCkkmwL"},"resolved_at":"2025-09-01T00:00:00.000Z","summary":"We have failed to create a notification for your Stripe account."}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.health.event_generation_failure.resolved"},"x-stripeNotPublic":true},"v2.core.vault.gb_bank_account":{"title":"GB Bank Account","required":["archived","bank_account_type","bank_name","confirmation_of_payee","created","id","last4","livemode","object","restricted","supported_currencies"],"type":"object","properties":{"alternative_reference":{"required":["id","type"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the alternative resource being referenced."},"type":{"type":"string","description":"The type of the alternative reference (e.g., external_account for V1 external accounts).","enum":["external_account","payment_method"],"x-stripeEnum":{"kind":"open","values":[{"description":"V1 External Account.","value":"external_account"},{"description":"V1 Payment Method.","value":"payment_method"}]}}},"description":"The alternative reference for this payout method, if it's a projected payout method."},"archived":{"type":"boolean","description":"Whether this bank account object was archived. Bank account objects can be archived through\nthe /archive API, and they will not be automatically archived by Stripe. Archived bank account objects\ncannot be used as outbound destinations and will not appear in the outbound destination list."},"bank_account_type":{"type":"string","description":"Closed Enum. The type of the bank account (checking or savings).","enum":["checking","futsu","savings","toza"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Default value for most countries.\nChecking account.","value":"checking"},{"description":"Default value for Japan where vast majority of bank accounts are 'futsu'.\nJapan-specific bank account type (普通預金) which means \"ordinary\".","value":"futsu"},{"description":"Savings account.","value":"savings"},{"description":"Japan-specific bank account type (当座預金) which means \"current\".","value":"toza"}]}},"bank_name":{"type":"string","description":"The name of the bank."},"confirmation_of_payee":{"required":["result","status"],"type":"object","properties":{"result":{"required":["created","match_result","matched","message","provided"],"type":"object","properties":{"created":{"type":"string","description":"When the CoP result was created.","format":"date-time"},"match_result":{"type":"string","description":"Whether or not the information of the bank account matches what you have provided. Closed enum.","enum":["match","mismatch","partial_match","unavailable"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The information matched what was provided by the CoP service.","value":"match"},{"description":"The name or business type does not match what was provided.\nFunds can still be sent to this account by acknowledging this result, but caution is advised.","value":"mismatch"},{"description":"The name or business type is similar to what was provided, but doesn't completely match.\nFunds can still be sent to this account by acknowledging this result, but caution is advised.","value":"partial_match"},{"description":"The service is down or other technical issues that prevent Confirmation of Payee matching\nfrom happening. This is a rare occurence.\nFunds can still be sent to this account by acknowledging this result, but caution is advised.","value":"unavailable"}]}},"matched":{"type":"object","properties":{"business_type":{"type":"string","description":"The business type given by the bank for this account, in case of a MATCH or PARTIAL_MATCH.\nClosed enum.","enum":["business","personal"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Business Account.","value":"business"},{"description":"Personal Account.","value":"personal"}]}},"name":{"type":"string","description":"The name given by the bank for this account, in case of a MATCH or PARTIAL_MATCH."}},"description":"The fields that CoP service matched against. Only has value if MATCH or PARTIAL_MATCH, empty otherwise."},"message":{"type":"string","description":"Human-readable message describing the match result."},"provided":{"required":["business_type","name"],"type":"object","properties":{"business_type":{"type":"string","description":"The provided or Legal Entity business type to match against the CoP service. Closed enum.","enum":["business","personal"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Business Account.","value":"business"},{"description":"Personal Account.","value":"personal"}]}},"name":{"type":"string","description":"The provided or Legal Entity name to match against the CoP service."}},"description":"The fields that are matched against what the network has on file."}},"description":"The result of the Confirmation of Payee check, once the check has been initiated. Closed enum."},"status":{"type":"string","description":"The current state of Confirmation of Payee on this bank account. Closed enum.","enum":["awaiting_acknowledgement","confirmed","uninitiated"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The check resulted in a non-match, partial match, or the service was unavailable.\nExplicit acknowledgement is required to make payments to this account.","value":"awaiting_acknowledgement"},{"description":"Either the account matches what was provided or there was explicit acknowledgement of the status.\nOutboundPayments can be made to the bank account.","value":"confirmed"},{"description":"No confirmation of payee check has happened on this account.\nUse InitiateConfirmationOfPayee to check the user's information against bank records before making\nOutboundPayments.","value":"uninitiated"}]}}},"description":"Information around the status of Confirmation of Payee matching done on this bank account.\nConfirmation of Payee is a name matching service that must be done before making OutboundPayments in the UK."},"created":{"type":"string","description":"Creation time.","format":"date-time"},"id":{"type":"string","description":"The ID of the GBBankAccount object."},"last4":{"type":"string","description":"The last 4 digits of the account number or IBAN."},"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.vault.gb_bank_account"]},"restricted":{"type":"boolean","description":"Whether the GB Bank Account is currently unusable for money movement, despite potentially being correctly set up. Please reach out to Stripe Support for more information."},"sort_code":{"type":"string","description":"The Sort Code of the bank account."},"supported_currencies":{"type":"array","description":"The list of currencies supported by this bank account.","items":{"type":"string"}}},"description":"Use the GBBankAccounts API to create and manage GB bank account objects","example":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","created":"2024-08-16T21:49:30.380Z","sort_code":"108800","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"}},"x-resourceId":"v2.core.vault.gb_bank_account","x-stableId":"v2_resource_gb_bank_account","x-stripeDocsSamples":[{"response":{"id":"gbba_test_61QxvysjMYlAri7b116NoALk2zSQmWXk6WVQ0RRC4FH6","object":"v2.core.vault.gb_bank_account","archived":false,"bank_account_type":"checking","bank_name":"Test Bank","last4":"2345","created":"2024-08-16T21:49:30.380Z","sort_code":"108800","supported_currencies":["gbp"],"confirmation_of_payee":{"result":{"created":"2024-10-25T17:29:53.000Z","match_result":"partial_match","matched":{"business_type":"personal","name":"Jenny Rosen"},"message":"The provided name Jennifer Rosen partially matches the name Jenny Rosen the bank has on file for this account.","provided":{"business_type":"personal","name":"Jennifer Rosen"}},"status":"confirmed"}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/core/vault/gb_bank_accounts"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/core/vault/gb_bank_accounts"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/vault/gb_bank_accounts/{id}"},{"method_name":"acknowledge_confirmation_of_payee","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/vault/gb_bank_accounts/{id}/acknowledge_confirmation_of_payee"},{"method_name":"archive","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/vault/gb_bank_accounts/{id}/archive"},{"method_name":"initiate_confirmation_of_payee","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/vault/gb_bank_accounts/{id}/initiate_confirmation_of_payee"}],"x-stripeResource":{"class_name":"GbBankAccount","in_package":"v2.core.vault"}},"v2.core.vault.us_bank_account":{"title":"US Bank Account","required":["archived","bank_account_type","bank_name","created","id","last4","livemode","object","restricted","supported_currencies","verification"],"type":"object","properties":{"alternative_reference":{"required":["id","type"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the alternative resource being referenced."},"type":{"type":"string","description":"The type of the alternative reference (e.g., external_account for V1 external accounts).","enum":["external_account","payment_method"],"x-stripeEnum":{"kind":"open","values":[{"description":"V1 External Account.","value":"external_account"},{"description":"V1 Payment Method.","value":"payment_method"}]}}},"description":"The alternative reference for this payout method, if it's a projected payout method."},"archived":{"type":"boolean","description":"Whether this USBankAccount object was archived."},"bank_account_type":{"type":"string","description":"Closed Enum. The type of bank account (checking or savings).","enum":["checking","savings"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Checkings account.","value":"checking"},{"description":"Savings account.","value":"savings"}]}},"bank_name":{"type":"string","description":"The name of the bank this bank account belongs to. This field is populated automatically by Stripe based on the routing number."},"created":{"type":"string","description":"Creation time of the object.","format":"date-time"},"fedwire_routing_number":{"type":"string","description":"The fedwire routing number of the bank account."},"financial_connections_account":{"type":"string","description":"The ID of the Financial Connections Account used to create the bank account."},"id":{"type":"string","description":"The ID of the USBankAccount object."},"last4":{"type":"string","description":"The last 4 digits of the account number."},"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.vault.us_bank_account"]},"restricted":{"type":"boolean","description":"Whether the US Bank Account is currently unusable for money movement, despite potentially being correctly set up. Please reach out to Stripe Support for more information."},"routing_number":{"type":"string","description":"The ACH routing number of the bank account."},"supported_currencies":{"type":"array","description":"The list of currencies supported by this bank account.","items":{"type":"string"}},"verification":{"required":["status"],"type":"object","properties":{"microdeposit_verification_details":{"required":["expires","microdeposit_type","sent"],"type":"object","properties":{"expires":{"type":"string","description":"Time when microdeposits will expire and have to be re-sent.","format":"date-time"},"microdeposit_type":{"type":"string","description":"Microdeposit type can be amounts or descriptor_type.","enum":["amounts","descriptor_code"],"x-stripeEnum":{"kind":"closed","values":[{"value":"amounts"},{"value":"descriptor_code"}]}},"sent":{"type":"string","description":"Time when microdeposits were sent.","format":"date-time"}},"description":"The microdeposit verification details if the status is awaiting verification."},"status":{"type":"string","description":"The bank account verification status.","enum":["awaiting_verification","unverified","verification_failed","verified"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Verification of the bank account has been initiated and requires further action to be completed.","value":"awaiting_verification"},{"description":"The bank account is unverified.","value":"unverified"},{"description":"Verification of the bank account has failed.","value":"verification_failed"},{"description":"The bank account is verified.","value":"verified"}]}}},"description":"The bank account verification details."}},"description":"Use the USBankAccounts API to create and manage US bank accounts objects that you can use to receive funds. Note that these are not interchangeable with v1 Tokens.","example":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":false,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"]},"x-resourceId":"v2.core.vault.us_bank_account","x-stableId":"v2_resource_us_bank_account","x-stripeDocsSamples":[{"response":{"id":"usba_test_61OHSEF60mEpRiXpR16NqdMu76SQRZLd31xuji87MN5M","object":"v2.core.vault.us_bank_account","bank_account_type":"checking","bank_name":"Test Bank","created":"2023-05-15T16:29:15.738Z","archived":false,"last4":"6789","routing_number":"110000000","supported_currencies":["usd"]}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/core/vault/us_bank_accounts"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/core/vault/us_bank_accounts"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/vault/us_bank_accounts/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/core/vault/us_bank_accounts/{id}"},{"method_name":"archive","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/vault/us_bank_accounts/{id}/archive"},{"method_name":"confirm_microdeposits","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/vault/us_bank_accounts/{id}/confirm_microdeposits"},{"method_name":"send_microdeposits","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/vault/us_bank_accounts/{id}/send_microdeposits"}],"x-stripeResource":{"class_name":"UsBankAccount","in_package":"v2.core.vault"}},"v2.data.reporting.query_run":{"title":"Query Run","required":["created","id","livemode","object","sql","status","status_details"],"type":"object","properties":{"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"id":{"type":"string","description":"The unique identifier of the `QueryRun` 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."},"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.data.reporting.query_run"]},"result":{"required":["type"],"type":"object","properties":{"file":{"required":["content_type","download_url","size"],"type":"object","properties":{"content_type":{"type":"string","description":"The content type of the file.","enum":["csv","zip"],"x-stripeEnum":{"kind":"open","values":[{"description":"CSV content type. Mime type of `text/csv`.","value":"csv"},{"description":"ZIP content type. Mime type of `application/zip`.","value":"zip"}]}},"download_url":{"required":["url"],"type":"object","properties":{"expires_at":{"type":"string","description":"The time that the URL expires.","format":"date-time"},"url":{"type":"string","description":"The URL that can be used for accessing the file."}},"description":"A pre-signed URL that allows secure, time-limited access to download the file."},"size":{"type":"string","description":"The total size of the file in bytes.","format":"int64"}},"description":"Contains metadata about the file produced by the `ReportRun` or `QueryRun`, including\nits content type, size, and a URL to download its contents."},"type":{"type":"string","description":"The type of the `ReportRun` or `QueryRun` result.","enum":["file"],"x-stripeEnum":{"kind":"open","values":[{"description":"File result type.","value":"file"}]}}},"description":"Details how to retrieve the results of a successfully completed `QueryRun`."},"result_options":{"type":"object","properties":{"compress_file":{"type":"boolean","description":"If set, the generated results file will be compressed into a ZIP folder.\nThis is useful for reducing file size and download time for large results."}},"description":"The options specified for customizing the output of the `QueryRun`."},"sql":{"type":"string","description":"The SQL that was executed."},"status":{"type":"string","description":"The current status of the `QueryRun`.","enum":["failed","running","succeeded"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Query has failed to complete due to an error.","value":"failed"},{"description":"Query is in progress.","value":"running"},{"description":"Query has successfully completed.","value":"succeeded"}]}},"status_details":{"type":"object","additionalProperties":{"type":"object","properties":{"error_code":{"type":"string","description":"Error code categorizing the reason the `QueryRun` failed.","enum":["file_size_above_limit","internal_error"],"x-stripeEnum":{"kind":"open","values":[{"description":"The `QueryRun` failed because it was above the permitted file size limit.","value":"file_size_above_limit"},{"description":"The `QueryRun` failed due to an internal error.","value":"internal_error"}]}},"error_message":{"type":"string","description":"Error message with additional details about the failure."}}},"description":"Additional details about the current state of the `QueryRun`. Populated when the `QueryRun`\nis in the `failed` state, providing more information about why the query failed."}},"description":"The `QueryRun` object represents an ad-hoc SQL execution. Once created, Stripe processes the query. When\nthe query has finished running, the object provides a reference to the results.","example":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"running","status_details":{},"livemode":false},"x-resourceId":"v2.data.reporting.query_run","x-stableId":"v2_resource_query_run","x-stripeDocsSamples":[{"response":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"running","status_details":{},"livemode":false}}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/data/reporting/query_runs"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/data/reporting/query_runs/{id}"}],"x-stripeResource":{"class_name":"QueryRun","in_package":"v2.data.reporting"}},"v2.data.reporting.query_run.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 [Query Run](https://docs.stripe.com/api/v2/data/reporting/query-runs/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":{"kind":"open","values":[{"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.data.reporting.query_run"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.data.reporting.query_run.created"]}},"description":"Occurs when a QueryRun is created.","example":{"created":"2025-08-26T00:00:00.000Z","id":"evt_test_xxx","object":"v2.core.event","type":"v2.data.reporting.query_run.created","livemode":false,"reason":{"type":"request","request":{"id":"req_xxx","idempotency_key":"xxx"}},"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"},"data":{},"changes":{"before":null,"after":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"running","status_details":{},"livemode":false}}},"x-stableId":"v2.data.reporting.query_run.created","x-stripeDocsSamples":[{"payload":{"created":"2025-08-26T00:00:00.000Z","id":"evt_test_xxx","object":"v2.core.event","type":"v2.data.reporting.query_run.created","livemode":false,"reason":{"type":"request","request":{"id":"req_xxx","idempotency_key":"xxx"}},"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"}},"response":{"created":"2025-08-26T00:00:00.000Z","id":"evt_test_xxx","object":"v2.core.event","type":"v2.data.reporting.query_run.created","livemode":false,"reason":{"type":"request","request":{"id":"req_xxx","idempotency_key":"xxx"}},"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"},"data":{},"changes":{"before":null,"after":{"created":"2025-08-26T00:00:00.000Z","id":"qryrun_test_xxx","object":"v2.data.reporting.query_run","sql":"select * from balance_transactions limit 10","result":null,"result_options":{"compress_file":false},"status":"running","status_details":{},"livemode":false}}}}],"x-stripeEvent":{"kind":"thin","type":"v2.data.reporting.query_run.created"},"x-stripeNotPublic":true},"v2.data.reporting.query_run.failed":{"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 [Query Run](https://docs.stripe.com/api/v2/data/reporting/query-runs/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":{"kind":"open","values":[{"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.data.reporting.query_run"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.data.reporting.query_run.failed"]}},"description":"Occurs when a QueryRun has failed to complete.","example":{"id":"evt_test_xxx","object":"v2.core.event","created":"2025-08-26T00:00:00.000Z","data":{},"reason":null,"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"},"type":"v2.data.reporting.query_run.failed","livemode":false,"changes":{"before":{"status":"running","status_details":{}},"after":{"status":"failed","status_details":{"failed":{"error_code":"file_size_above_limit","error_message":"The file generated by this request exceeds the 5 GB limit."}}}}},"x-stableId":"v2.data.reporting.query_run.failed","x-stripeDocsSamples":[{"payload":{"created":"2025-08-26T00:00:00.000Z","id":"evt_test_xxx","object":"v2.core.event","type":"v2.data.reporting.query_run.failed","livemode":false,"reason":null,"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"}},"response":{"id":"evt_test_xxx","object":"v2.core.event","created":"2025-08-26T00:00:00.000Z","data":{},"reason":null,"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"},"type":"v2.data.reporting.query_run.failed","livemode":false,"changes":{"before":{"status":"running","status_details":{}},"after":{"status":"failed","status_details":{"failed":{"error_code":"file_size_above_limit","error_message":"The file generated by this request exceeds the 5 GB limit."}}}}}}],"x-stripeEvent":{"kind":"thin","type":"v2.data.reporting.query_run.failed"},"x-stripeNotPublic":true},"v2.data.reporting.query_run.succeeded":{"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 [Query Run](https://docs.stripe.com/api/v2/data/reporting/query-runs/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":{"kind":"open","values":[{"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.data.reporting.query_run"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.data.reporting.query_run.succeeded"]}},"description":"Occurs when a QueryRun has successfully completed.","example":{"id":"evt_test_xxx","object":"v2.core.event","created":"2025-08-26T00:00:00.000Z","data":{},"reason":null,"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"},"type":"v2.data.reporting.query_run.succeeded","livemode":false,"changes":{"before":{"status":"running"},"after":{"status":"succeeded"}}},"x-stableId":"v2.data.reporting.query_run.succeeded","x-stripeDocsSamples":[{"payload":{"created":"2025-08-26T00:00:00.000Z","id":"evt_test_xxx","object":"v2.core.event","type":"v2.data.reporting.query_run.succeeded","livemode":false,"reason":null,"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"}},"response":{"id":"evt_test_xxx","object":"v2.core.event","created":"2025-08-26T00:00:00.000Z","data":{},"reason":null,"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"},"type":"v2.data.reporting.query_run.succeeded","livemode":false,"changes":{"before":{"status":"running"},"after":{"status":"succeeded"}}}}],"x-stripeEvent":{"kind":"thin","type":"v2.data.reporting.query_run.succeeded"},"x-stripeNotPublic":true},"v2.data.reporting.query_run.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 [Query Run](https://docs.stripe.com/api/v2/data/reporting/query-runs/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":{"kind":"open","values":[{"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.data.reporting.query_run"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.data.reporting.query_run.updated"]}},"description":"Occurs when a QueryRun is updated.","example":{"id":"evt_test_xxx","object":"v2.core.event","created":"2025-08-26T00:00:00Z","data":{},"reason":null,"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"},"type":"v2.data.reporting.query_run.updated","livemode":false,"changes":{"before":{"status":"running"},"after":{"status":"succeeded"}}},"x-stableId":"v2.data.reporting.query_run.updated","x-stripeDocsSamples":[{"payload":{"created":"2025-08-26T00:00:00Z","id":"evt_test_xxx","object":"v2.core.event","type":"v2.data.reporting.query_run.updated","livemode":false,"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"}},"response":{"id":"evt_test_xxx","object":"v2.core.event","created":"2025-08-26T00:00:00Z","data":{},"reason":null,"related_object":{"id":"qryrun_test_xxx","type":"v2.data.reporting.query_run","url":"/v2/data/reporting/query_runs/qryrun_test_xxx"},"type":"v2.data.reporting.query_run.updated","livemode":false,"changes":{"before":{"status":"running"},"after":{"status":"succeeded"}}}}],"x-stripeEvent":{"kind":"thin","type":"v2.data.reporting.query_run.updated"},"x-stripeNotPublic":true},"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_activity_permission_denied":{"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_activity_permission_denied"]},"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 the caller does not have access to the Account Activity API.","x-stripeError":{"code":"account_activity_permission_denied","httpStatusCode":403}},"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","requirements_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."},"requirements_collector":{"type":"string","description":"The value provided for the requirements_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","requirements_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."},"requirements_collector":{"type":"string","description":"The value provided for the requirements_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_losses_collector_unavailable":{"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_losses_collector_unavailable"]},"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 - losses collector unavailable.","x-stripeError":{"code":"account_creation_losses_collector_unavailable","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_evaluation_inaccessible":{"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_evaluation_inaccessible"]},"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 the requested account evaluation is missing or inaccessible.","x-stripeError":{"code":"account_evaluation_inaccessible","httpStatusCode":403}},"v2.error.account_inaccessible":{"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_inaccessible"]},"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 the caller does not have access to the requested account.","x-stripeError":{"code":"account_inaccessible","httpStatusCode":403}},"v2.error.account_not_configured_as_recipient":{"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_configured_as_recipient"]},"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 the recipient account in the OutboundPayment request is not configured as a recipient.","x-stripeError":{"code":"account_not_configured_as_recipient","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","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"]},"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 merchant.","x-stripeError":{"code":"accounts_v2_access_blocked","httpStatusCode":400}},"v2.error.active_outbound_setup_intent_exists_for_payout_method":{"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":["active_outbound_setup_intent_exists_for_payout_method"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the outbound setup intent cannot be created for a given payout method because the payout method already has another active outbound setup intent.","x-stripeError":{"code":"active_outbound_setup_intent_exists_for_payout_method","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.agreement_already_confirmed":{"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":["agreement_already_confirmed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"When trying to confirm an agreement, the request will fail if it has already been confirmed by the authenticated party.","x-stripeError":{"code":"agreement_already_confirmed","httpStatusCode":400}},"v2.error.agreement_already_exists":{"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":["agreement_already_exists"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"When trying to create an agreement, the request will fail if an active agreement already exists between the parties.","x-stripeError":{"code":"agreement_already_exists","httpStatusCode":400}},"v2.error.agreement_already_terminated":{"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":["agreement_already_terminated"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"When trying to confirm or terminate an agreement, the request will fail if it is already terminated.","x-stripeError":{"code":"agreement_already_terminated","httpStatusCode":400}},"v2.error.already_exists":{"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":["already_exists"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["already_exists"]}},"description":"Information about the error that occurred"}},"description":"The resource already exists.","x-stripeError":{"code":"already_exists","httpStatusCode":400,"type":"already_exists"}},"v2.error.amount_too_large_for_payout_method":{"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":["amount_too_large_for_payout_method"]},"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 the specified amount exceeds the payout method's amount limits.","x-stripeError":{"code":"amount_too_large_for_payout_method","httpStatusCode":400}},"v2.error.amount_too_large_for_preferred_networks":{"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":["amount_too_large_for_preferred_networks"]},"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 the amount is too large for the requested preferred_networks.","x-stripeError":{"code":"amount_too_large_for_preferred_networks","httpStatusCode":400}},"v2.error.amount_too_large_for_selected_delivery_option":{"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":["amount_too_large_for_selected_delivery_option"]},"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 user selected a delivery option but the specified amount exceeds the method limits.","x-stripeError":{"code":"amount_too_large_for_selected_delivery_option","httpStatusCode":400}},"v2.error.apple_pay_invalid_format":{"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":["apple_pay_invalid_format"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the Apple Pay payment token is malformed or cannot be parsed.","x-stripeError":{"code":"apple_pay_invalid_format","httpStatusCode":400}},"v2.error.apple_pay_no_signing_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":["apple_pay_no_signing_key"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the Apple Pay payment token cannot be verified due to a missing signing key.","x-stripeError":{"code":"apple_pay_no_signing_key","httpStatusCode":400}},"v2.error.apple_pay_payment_decryption":{"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":["apple_pay_payment_decryption"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the Apple Pay payment token could not be decrypted.","x-stripeError":{"code":"apple_pay_payment_decryption","httpStatusCode":400}},"v2.error.apple_pay_pk_token_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":["apple_pay_pk_token_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the Apple Pay payment token is absent from the request.","x-stripeError":{"code":"apple_pay_pk_token_required","httpStatusCode":400}},"v2.error.approval_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":["approval_expired"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the approval request has expired.","x-stripeError":{"code":"approval_expired","httpStatusCode":400}},"v2.error.approval_request_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":["approval_request_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the approval request cannot be found.","x-stripeError":{"code":"approval_request_not_found","httpStatusCode":404}},"v2.error.approval_required":{"required":["error"],"type":"object","properties":{"error":{"required":["approval_request","code","message","user_message"],"type":"object","properties":{"approval_request":{"$ref":"#/components/schemas/v2.core.approval_request"},"approval_request_id":{"type":"string","description":"The flat ID of the created approval request."},"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["approval_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"rule_instruction":{"type":"string","description":"Deprecated: use approval_request_id instead. Still populated for backward compatibility; will be removed in a future API version."},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"This error is thrown when an operation requires approval.","x-stripeError":{"code":"approval_required","httpStatusCode":403}},"v2.error.approvals_cannot_be_only_approver_of_own_request":{"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":["approvals_cannot_be_only_approver_of_own_request"]},"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":"This error is thrown when a user is the only approver for their own request.","x-stripeError":{"code":"approvals_cannot_be_only_approver_of_own_request","httpStatusCode":400}},"v2.error.approvals_conflicting_approval_request_exists":{"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":["approvals_conflicting_approval_request_exists"]},"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":"This error is thrown when a conflicting approval request already exists.","x-stripeError":{"code":"approvals_conflicting_approval_request_exists","httpStatusCode":409}},"v2.error.approvals_request_blocked":{"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":["approvals_request_blocked"]},"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":"This error is thrown when an approval rule blocks a request.","x-stripeError":{"code":"approvals_request_blocked","httpStatusCode":403}},"v2.error.archived_gb_bank_account":{"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":["archived_gb_bank_account"]},"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":"Returned in cases where the bank account cannot be updated due to being archived.","x-stripeError":{"code":"archived_gb_bank_account","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.archived_payout_method":{"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":["archived_payout_method"]},"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":"Returned when the credential ID provided corresponds to an archived Payout Method.","x-stripeError":{"code":"archived_payout_method","httpStatusCode":400}},"v2.error.archived_payout_method_card":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["archived_payout_method_card"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["quota_exceeded"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned when attempting to update an archived card.","x-stripeError":{"code":"archived_payout_method_card","httpStatusCode":400,"type":"quota_exceeded"}},"v2.error.archived_us_bank_account":{"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":["archived_us_bank_account"]},"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":"Returned in cases where the bank account cannot be updated due to being archived.","x-stripeError":{"code":"archived_us_bank_account","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.auth_unauthorized_endpoint":{"required":["error"],"type":"object","properties":{"error":{"required":["code","endpoint","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["auth_unauthorized_endpoint"]},"endpoint":{"required":["http_method","path"],"type":"object","properties":{"http_method":{"type":"string","description":"The HTTP method to use when calling the endpoint.","enum":["delete","post"],"x-stripeEnum":{"kind":"closed","values":[{"description":"HTTP DELETE method.","value":"delete"},{"description":"HTTP POST method.","value":"post"}]}},"path":{"type":"string","description":"The path of the endpoint to run this batch job against.\nIn the form used in the documentation. For instance, for\nsubscription migration this would be `/v1/subscriptions/:id/migrate`."}},"description":"The endpoint configuration that was inavalid."},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when merchant isn't allowed to access endpoint.","x-stripeError":{"code":"auth_unauthorized_endpoint","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.automatic_tax_no_merchant_location":{"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":["automatic_tax_no_merchant_location"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the merchant doesn't have a valid origin address.","x-stripeError":{"code":"automatic_tax_no_merchant_location","httpStatusCode":400}},"v2.error.batch_api_non_cancellable_job":{"required":["error"],"type":"object","properties":{"error":{"required":["batch_job_id","code","message"],"type":"object","properties":{"batch_job_id":{"type":"string","description":"The ID of the `batch_job` that can't be canceled."},"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["batch_api_non_cancellable_job"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when a `batch_job` was found but can't be canceled.","x-stripeError":{"code":"batch_api_non_cancellable_job","httpStatusCode":400}},"v2.error.batch_api_unsupported_endpoint":{"required":["error"],"type":"object","properties":{"error":{"required":["code","endpoint","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["batch_api_unsupported_endpoint"]},"endpoint":{"required":["http_method","path"],"type":"object","properties":{"http_method":{"type":"string","description":"The HTTP method to use when calling the endpoint.","enum":["delete","post"],"x-stripeEnum":{"kind":"closed","values":[{"description":"HTTP DELETE method.","value":"delete"},{"description":"HTTP POST method.","value":"post"}]}},"path":{"type":"string","description":"The path of the endpoint to run this batch job against.\nIn the form used in the documentation. For instance, for\nsubscription migration this would be `/v1/subscriptions/:id/migrate`."}},"description":"The endpoint configuration that was inavalid."},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when using an invalid endpoint.","x-stripeError":{"code":"batch_api_unsupported_endpoint","httpStatusCode":400}},"v2.error.batch_job_not_found":{"required":["error"],"type":"object","properties":{"error":{"required":["batch_job_id","code","message"],"type":"object","properties":{"batch_job_id":{"type":"string","description":"The ID of the `batch_job` that was not found."},"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["batch_job_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when no `batch_job` was found for the given ID.","x-stripeError":{"code":"batch_job_not_found","httpStatusCode":404}},"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.bill_setting_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":["bill_setting_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the bill setting cannot be found.","x-stripeError":{"code":"bill_setting_not_found","httpStatusCode":404}},"v2.error.bill_setting_version_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":["bill_setting_version_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the bill setting version cannot be found.","x-stripeError":{"code":"bill_setting_version_not_found","httpStatusCode":404}},"v2.error.bill_settings_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":["bill_settings_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the bill settings ID cannot be found.","x-stripeError":{"code":"bill_settings_not_found","httpStatusCode":404}},"v2.error.bill_settings_version_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":["bill_settings_version_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the provided bill settings version ID cannot be found.","x-stripeError":{"code":"bill_settings_version_not_found","httpStatusCode":404}},"v2.error.billing_cadence_active":{"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":["billing_cadence_active"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when trying to cancel a billing cadence that has active and/or unbilled subscriptions.","x-stripeError":{"code":"billing_cadence_active","httpStatusCode":400}},"v2.error.billing_cadence_canceled":{"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":["billing_cadence_canceled"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when trying to cancel a billing cadence that has already been canceled.","x-stripeError":{"code":"billing_cadence_canceled","httpStatusCode":400}},"v2.error.billing_cadence_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":["billing_cadence_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the provided billing_cadence ID cannot be found.","x-stripeError":{"code":"billing_cadence_not_found","httpStatusCode":404}},"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.billing_profile_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":["billing_profile_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the Billing Profile for the provided ID cannot be found.","x-stripeError":{"code":"billing_profile_not_found","httpStatusCode":404}},"v2.error.billing_profile_not_found_for_cadence":{"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":["billing_profile_not_found_for_cadence"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the provided billing profile ID cannot be found.","x-stripeError":{"code":"billing_profile_not_found_for_cadence","httpStatusCode":400}},"v2.error.blocked_gb_bank_account":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["blocked_gb_bank_account"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["blocked_by_stripe"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the bank account cannot be used due to suspicious activity.","x-stripeError":{"code":"blocked_gb_bank_account","httpStatusCode":400,"type":"blocked_by_stripe"}},"v2.error.blocked_payout_method":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["blocked_payout_method"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["blocked_by_stripe"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned when a payout method is blocked by Stripe.","x-stripeError":{"code":"blocked_payout_method","httpStatusCode":400,"type":"blocked_by_stripe"}},"v2.error.blocked_payout_method_card":{"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":["blocked_payout_method_card"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["blocked_by_stripe"]}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the card cannot be used due to suspicious activity.","x-stripeError":{"code":"blocked_payout_method_card","httpStatusCode":400,"type":"blocked_by_stripe"}},"v2.error.blocked_us_bank_account":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["blocked_us_bank_account"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["blocked_by_stripe"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the bank account cannot be used due to suspicious activity.","x-stripeError":{"code":"blocked_us_bank_account","httpStatusCode":400,"type":"blocked_by_stripe"}},"v2.error.business_network_insufficient_permissions":{"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":["business_network_insufficient_permissions"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The authenticated party does not have sufficient permissions.","x-stripeError":{"code":"business_network_insufficient_permissions","httpStatusCode":403}},"v2.error.business_network_profile_hidden":{"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":["business_network_profile_hidden"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The authenticated party's Stripe profile is hidden.","x-stripeError":{"code":"business_network_profile_hidden","httpStatusCode":400}},"v2.error.business_network_profile_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":["business_network_profile_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 authenticated party does not have a Stripe network profile.","x-stripeError":{"code":"business_network_profile_not_found","httpStatusCode":400}},"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_add_connect_due_to_incompatible_default_payout_method":{"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_add_connect_due_to_incompatible_default_payout_method"]},"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 a Connect configuration applied because a default payout method is not supported in Connect.","x-stripeError":{"code":"cannot_add_connect_due_to_incompatible_default_payout_method","httpStatusCode":400}},"v2.error.cannot_cancel_terminal_outbound_setup_intent":{"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_cancel_terminal_outbound_setup_intent"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when attempting to cancel an outbound setup intent in a terminal state (canceled or succeeded).","x-stripeError":{"code":"cannot_cancel_terminal_outbound_setup_intent","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_update_terminal_outbound_setup_intent":{"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_update_terminal_outbound_setup_intent"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when attempting to update an outbound setup intent in a terminal state (canceled or succeeded).","x-stripeError":{"code":"cannot_update_terminal_outbound_setup_intent","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.card_payout_method_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":["card_payout_method_not_supported"]},"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 the provided Card payout method is not eligible for outbound payment or outbound transfer.","x-stripeError":{"code":"card_payout_method_not_supported","httpStatusCode":400}},"v2.error.closing_financial_account_with_non_zero_balances":{"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":["closing_financial_account_with_non_zero_balances"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["non_zero_balance"]}},"description":"Information about the error that occurred"}},"description":"Error thrown if a user tries to close an account that has non-zero balances.","x-stripeError":{"code":"closing_financial_account_with_non_zero_balances","httpStatusCode":400,"type":"non_zero_balance"}},"v2.error.collection_method_incompatible_with_email_delivery":{"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":["collection_method_incompatible_with_email_delivery"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the collection method is incompatible with the email delivery.","x-stripeError":{"code":"collection_method_incompatible_with_email_delivery","httpStatusCode":400}},"v2.error.collection_setting_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":["collection_setting_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the collection setting cannot be found.","x-stripeError":{"code":"collection_setting_not_found","httpStatusCode":404}},"v2.error.collection_setting_version_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":["collection_setting_version_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the collection setting version cannot be found.","x-stripeError":{"code":"collection_setting_version_not_found","httpStatusCode":404}},"v2.error.collection_settings_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":["collection_settings_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the collection settings ID cannot be found.","x-stripeError":{"code":"collection_settings_not_found","httpStatusCode":404}},"v2.error.collection_settings_version_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":["collection_settings_version_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the provided collection settings version ID cannot be found.","x-stripeError":{"code":"collection_settings_version_not_found","httpStatusCode":404}},"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.connected_account_configuration_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":["connected_account_configuration_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"When a connected account tries to create an OCA but the platform has not configured\nAgenticCommerceConfig for it.","x-stripeError":{"code":"connected_account_configuration_not_found","httpStatusCode":400}},"v2.error.connected_account_configuration_orchestrator_not_enabled":{"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":["connected_account_configuration_orchestrator_not_enabled"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"When a connected account tries to create an OCA with an orchestrator that the platform has not\nenabled in AgenticCommerceConfig.","x-stripeError":{"code":"connected_account_configuration_orchestrator_not_enabled","httpStatusCode":400}},"v2.error.cop_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":["cop_not_accepted"]},"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 the Confirmation of Payee is not accepted.","x-stripeError":{"code":"cop_not_accepted","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.currency_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":["currency_required"]},"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 an OutboundPayment is created without a destination currency specified,\nno payout method is specified, and the recipient has more than one currency default pair set.","x-stripeError":{"code":"currency_required","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","location_source","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."}}}},"location_source":{"type":"string","description":"The value of the customer configuration's 'automatic_indirect_tax.location_source' field.","x-stripeNotPublic":true},"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.customer_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":["customer_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the customer for the provided ID cannot be found.","x-stripeError":{"code":"customer_not_found","httpStatusCode":404}},"v2.error.customer_not_found_for_billing_profile":{"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":["customer_not_found_for_billing_profile"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the customer for the provided ID cannot be found.","x-stripeError":{"code":"customer_not_found_for_billing_profile","httpStatusCode":400}},"v2.error.customer_tax_location_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":["customer_tax_location_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when creating or updating a cadence with a customer whose tax location isn't recognized.","x-stripeError":{"code":"customer_tax_location_invalid","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_gb_bank_account_cannot_be_archived":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","reason","type"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["default_gb_bank_account_cannot_be_archived"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]}},"description":"Information about the error that occurred"}},"description":"Returned when the GB Bank Account object is set as default_for_currency and cannot be archived.","x-stripeError":{"code":"default_gb_bank_account_cannot_be_archived","httpStatusCode":400,"type":"cannot_proceed"}},"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.default_payout_method_cannot_be_archived":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","reason","type"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["default_payout_method_cannot_be_archived"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]}},"description":"Information about the error that occurred"}},"description":"Returned when the PayoutMethod object is set as default_for_currency and cannot be archived.","x-stripeError":{"code":"default_payout_method_cannot_be_archived","httpStatusCode":400,"type":"cannot_proceed"}},"v2.error.default_payout_method_cannot_be_disabled":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","reason","type"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["default_payout_method_cannot_be_disabled"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]}},"description":"Information about the error that occurred"}},"description":"Returned when the PayoutMethod object is set as default_for_currency and cannot be disabled.","x-stripeError":{"code":"default_payout_method_cannot_be_disabled","httpStatusCode":400,"type":"cannot_proceed"}},"v2.error.default_payout_method_config_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":["default_payout_method_config_not_found"]},"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 payout method is not provided in the OutboundPayment request and the recipient account does not have a default payout method.","x-stripeError":{"code":"default_payout_method_config_not_found","httpStatusCode":400}},"v2.error.default_us_bank_account_cannot_be_archived":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","reason","type"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["default_us_bank_account_cannot_be_archived"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]}},"description":"Information about the error that occurred"}},"description":"Returned when the US Bank Account object is set as default_for_currency and cannot be archived.","x-stripeError":{"code":"default_us_bank_account_cannot_be_archived","httpStatusCode":400,"type":"cannot_proceed"}},"v2.error.delivery_option_not_available":{"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":["delivery_option_not_available"]},"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 real time rails are undergoing downtime.","x-stripeError":{"code":"delivery_option_not_available","httpStatusCode":400}},"v2.error.delivery_option_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":["delivery_option_not_supported"]},"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 the selected delivery option is not supported for the payout method.","x-stripeError":{"code":"delivery_option_not_supported","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_delivery_incompatible_with_collection_method":{"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":["email_delivery_incompatible_with_collection_method"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the email delivery is incompatible with the collection method.","x-stripeError":{"code":"email_delivery_incompatible_with_collection_method","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.financial_account_already_closed":{"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":["financial_account_already_closed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Error thrown if a user tries to close an account that is already closed.","x-stripeError":{"code":"financial_account_already_closed","httpStatusCode":400}},"v2.error.financial_account_balance_does_not_support_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":["financial_account_balance_does_not_support_currency"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"financial_account_balance_does_not_support_currency","httpStatusCode":400}},"v2.error.financial_account_capability_not_enabled":{"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":["financial_account_capability_not_enabled"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Error thrown when attempting to add currencies that require capabilities that are not enabled.","x-stripeError":{"code":"financial_account_capability_not_enabled","httpStatusCode":400}},"v2.error.financial_account_capability_restricted":{"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":["financial_account_capability_restricted"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Error thrown when attempting to add currencies that require capabilities that are restricted.","x-stripeError":{"code":"financial_account_capability_restricted","httpStatusCode":400}},"v2.error.financial_account_close_requires_forwarding_financial_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":["financial_account_close_requires_forwarding_financial_account"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Closing a savings Financial Account requires a forwarding Financial Account of type storage.","x-stripeError":{"code":"financial_account_close_requires_forwarding_financial_account","httpStatusCode":400}},"v2.error.financial_account_crypto_currency_network_unsupported":{"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":["financial_account_crypto_currency_network_unsupported"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The requested crypto currency and network combination is not supported.","x-stripeError":{"code":"financial_account_crypto_currency_network_unsupported","httpStatusCode":400}},"v2.error.financial_account_crypto_custody_model_immutable":{"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":["financial_account_crypto_custody_model_immutable"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"A Financial Account's configured crypto custody model is immutable.","x-stripeError":{"code":"financial_account_crypto_custody_model_immutable","httpStatusCode":400}},"v2.error.financial_account_crypto_network_immutable":{"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":["financial_account_crypto_network_immutable"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"A currency's configured crypto storage network is immutable.","x-stripeError":{"code":"financial_account_crypto_network_immutable","httpStatusCode":400}},"v2.error.financial_account_exportable_balances_forwarding_immutable":{"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":["financial_account_exportable_balances_forwarding_immutable"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Exportable-balance forwarding cannot be changed from false to true.","x-stripeError":{"code":"financial_account_exportable_balances_forwarding_immutable","httpStatusCode":400}},"v2.error.financial_account_feature_restricted":{"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":["financial_account_feature_restricted"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"financial_account_feature_restricted","httpStatusCode":400}},"v2.error.financial_account_in_forwarding_settings_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":["financial_account_in_forwarding_settings_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"In the EU, closing a Financial Account with forwarding settings requires supplying another Financial Account.","x-stripeError":{"code":"financial_account_in_forwarding_settings_required","httpStatusCode":400}},"v2.error.financial_account_not_in_open_status":{"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":["financial_account_not_in_open_status"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["financial_account_not_open"]}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"financial_account_not_in_open_status","httpStatusCode":400,"type":"financial_account_not_open"}},"v2.error.financial_account_open_limit":{"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":["financial_account_open_limit"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The compartment has reached its limit on open FinancialAccounts.","x-stripeError":{"code":"financial_account_open_limit","httpStatusCode":400}},"v2.error.financial_account_operation_unsupported_for_property":{"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":["financial_account_operation_unsupported_for_property"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Operation not supported on Financial Accounts with this type and property.","x-stripeError":{"code":"financial_account_operation_unsupported_for_property","httpStatusCode":400}},"v2.error.financial_account_operation_unsupported_for_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":["financial_account_operation_unsupported_for_type"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Operation not supported on Financial Accounts with this type.","x-stripeError":{"code":"financial_account_operation_unsupported_for_type","httpStatusCode":400}},"v2.error.financial_account_remove_currency_unsupported":{"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":["financial_account_remove_currency_unsupported"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Error thrown when attempting to remove currencies that have been enabled.","x-stripeError":{"code":"financial_account_remove_currency_unsupported","httpStatusCode":400}},"v2.error.financial_account_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":["financial_account_unsupported_currency"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when a Financial Account cannot hold the requested settlement currency.","x-stripeError":{"code":"financial_account_unsupported_currency","httpStatusCode":400}},"v2.error.financial_account_unsupported_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":["financial_account_unsupported_type"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when a Financial Account type does not support crypto wallet Financial Addresses.","x-stripeError":{"code":"financial_account_unsupported_type","httpStatusCode":400}},"v2.error.financial_account_wallet_export_completed":{"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":["financial_account_wallet_export_completed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Exportable-balance forwarding cannot change after wallet export completes.","x-stripeError":{"code":"financial_account_wallet_export_completed","httpStatusCode":400}},"v2.error.financial_address_account_unsupported_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":["financial_address_account_unsupported_configuration"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when an Account does not have a supported configuration.","x-stripeError":{"code":"financial_address_account_unsupported_configuration","httpStatusCode":400}},"v2.error.financial_address_creation_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":["financial_address_creation_required"]},"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 there is no active financial address required for GB and EU\nOBPs or OBTs.","x-stripeError":{"code":"financial_address_creation_required","httpStatusCode":400}},"v2.error.financial_address_invalid_page_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":["financial_address_invalid_page_token"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"financial_address_invalid_page_token","httpStatusCode":400}},"v2.error.financial_address_not_active":{"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":["financial_address_not_active"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"financial_address_not_active","httpStatusCode":400}},"v2.error.financial_address_type_and_settlement_currency_pair_unsupported":{"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":["financial_address_type_and_settlement_currency_pair_unsupported"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"financial_address_type_and_settlement_currency_pair_unsupported","httpStatusCode":400}},"v2.error.financial_addresses_api_only_in_sandbox":{"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":["financial_addresses_api_only_in_sandbox"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"financial_addresses_api_only_in_sandbox","httpStatusCode":400}},"v2.error.financial_addresses_creation_limit_exceeded":{"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":["financial_addresses_creation_limit_exceeded"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"financial_addresses_creation_limit_exceeded","httpStatusCode":400}},"v2.error.fraudulent_website_quota_exceeded":{"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":["fraudulent_website_quota_exceeded"]},"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 the caller has exhausted its monthly quota for the fraudulent_website signal.","x-stripeError":{"code":"fraudulent_website_quota_exceeded","httpStatusCode":429}},"v2.error.from_balance_type_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":["from_balance_type_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Deprecated. Error returned when balance type of provided financial account in the OutboundPayment/OutboundTransfer request cannot be identified.","x-stripeError":{"code":"from_balance_type_not_found","httpStatusCode":404}},"v2.error.from_balance_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":["from_balance_unsupported_currency"]},"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 the balance type in the OutboundPayment/OutboundTransfer request does not support the provided currency.","x-stripeError":{"code":"from_balance_unsupported_currency","httpStatusCode":400}},"v2.error.from_financial_account_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":["from_financial_account_not_found"]},"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 financial account in the OutboundPayment/OutboundTransfer request cannot be identified.","x-stripeError":{"code":"from_financial_account_not_found","httpStatusCode":404}},"v2.error.fx_quote_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":["fx_quote_expired"]},"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 rate locking in the used OBPQ is expired.","x-stripeError":{"code":"fx_quote_expired","httpStatusCode":400}},"v2.error.gb_bank_account_cannot_be_archived":{"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":["gb_bank_account_cannot_be_archived"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["controlled_by_alternate_resource"]}},"description":"Information about the error that occurred"}},"description":"Returned when the GB Bank Account is controlled by an alternate resource and cannot be archived.","x-stripeError":{"code":"gb_bank_account_cannot_be_archived","httpStatusCode":400,"type":"controlled_by_alternate_resource"}},"v2.error.gb_bank_account_incompatible_currency":{"required":["error"],"type":"object","properties":{"error":{"required":["code","currency","message","reason","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["gb_bank_account_incompatible_currency"]},"currency":{"type":"string","description":"The currency that is incompatible with the bank account."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the currency provided is incompatible with GB bank accounts.\nThis occurs when the credentials provided do not match with the currency provided.","x-stripeError":{"code":"gb_bank_account_incompatible_currency","httpStatusCode":400,"type":"cannot_proceed"}},"v2.error.gb_bank_account_unsupported_currency":{"required":["error"],"type":"object","properties":{"error":{"required":["code","currency","message","reason","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["gb_bank_account_unsupported_currency"]},"currency":{"type":"string","description":"The currency that is unsupported for the bank account."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the currency provided is unsupported for the GB bank accounts.\nThis occurs when the currency provided is not supported for GB regardless of the credentials provided.","x-stripeError":{"code":"gb_bank_account_unsupported_currency","httpStatusCode":400,"type":"cannot_proceed"}},"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_conflict":{"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_conflict"]},"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 results in resource conflicts.","x-stripeError":{"code":"idempotency_conflict","httpStatusCode":409}},"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.inbound_transfer_from_closed_financial_account_unsupported":{"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":["inbound_transfer_from_closed_financial_account_unsupported"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned if an InboundTransfer is made to a closed FinancialAccount.","x-stripeError":{"code":"inbound_transfer_from_closed_financial_account_unsupported","httpStatusCode":400}},"v2.error.inbound_transfer_from_payment_method_mandate_inactive":{"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":["inbound_transfer_from_payment_method_mandate_inactive"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the payment method's scheme requires an active mandate (e.g. UK Bacs) but no active\nInboundTransferMandate authorizes Stripe to debit it.","x-stripeError":{"code":"inbound_transfer_from_payment_method_mandate_inactive","httpStatusCode":400}},"v2.error.inbound_transfer_from_payment_method_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":["inbound_transfer_from_payment_method_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when a PaymentMethod cannot be found.","x-stripeError":{"code":"inbound_transfer_from_payment_method_not_found","httpStatusCode":404}},"v2.error.inbound_transfer_from_payment_method_type_unsupported":{"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":["inbound_transfer_from_payment_method_type_unsupported"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when a valid, but unsupported PaymentMethod for InboundTransfers is provided.","x-stripeError":{"code":"inbound_transfer_from_payment_method_type_unsupported","httpStatusCode":400}},"v2.error.inbound_transfer_from_payment_method_unusable":{"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":["inbound_transfer_from_payment_method_unusable"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned if the PM used for the inbound transfer is based on a tokenized account number that is no longer transactable.","x-stripeError":{"code":"inbound_transfer_from_payment_method_unusable","httpStatusCode":400}},"v2.error.inbound_transfer_from_payment_method_unverified":{"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":["inbound_transfer_from_payment_method_unverified"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when a PaymentMethod that has not been verified, is provided.","x-stripeError":{"code":"inbound_transfer_from_payment_method_unverified","httpStatusCode":400}},"v2.error.inbound_transfer_not_allowed":{"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":["inbound_transfer_not_allowed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["blocked_by_stripe"]}},"description":"Information about the error that occurred"}},"description":"Returned if an InboundTransfer is not allowed for risk, legal, regulatory or other unforeseen reasons.","x-stripeError":{"code":"inbound_transfer_not_allowed","httpStatusCode":400,"type":"blocked_by_stripe"}},"v2.error.inbound_transfer_to_financial_account_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":["inbound_transfer_to_financial_account_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when a FinancialAccount cannot be found.","x-stripeError":{"code":"inbound_transfer_to_financial_account_not_found","httpStatusCode":404}},"v2.error.incompatible_default_payout_method":{"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":["incompatible_default_payout_method"]},"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 `defaults.payout_methods` value is not supported as a default payout method in Connect.","x-stripeError":{"code":"incompatible_default_payout_method","httpStatusCode":400}},"v2.error.incompatible_delivery_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":["incompatible_delivery_options"]},"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 the delivery option type and speed chosen is incompatible.","x-stripeError":{"code":"incompatible_delivery_options","httpStatusCode":400}},"v2.error.incompatible_payout_method_currency":{"required":["error"],"type":"object","properties":{"error":{"required":["code","currency","message","reason","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["incompatible_payout_method_currency"]},"currency":{"type":"string","description":"The currency that is incompatible with the payout method."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the currency provided is incompatible with the payout method.\nThis occurs when the credentials provided do not match with the currency provided.","x-stripeError":{"code":"incompatible_payout_method_currency","httpStatusCode":400,"type":"cannot_proceed"}},"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.insufficient_funds":{"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":["insufficient_funds"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["insufficient_funds"]}},"description":"Information about the error that occurred"}},"description":"Error returned when the balance of provided financial account and balance type in the OutboundPayment/OutboundTransfer request does not have enough funds.","x-stripeError":{"code":"insufficient_funds","httpStatusCode":400,"type":"insufficient_funds"}},"v2.error.invalid_account_details":{"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_details"]},"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 account_details does not specify exactly one of account or customer.","x-stripeError":{"code":"invalid_account_details","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_bill_setting_time_until_due":{"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_bill_setting_time_until_due"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the time until due is outside the supported range.","x-stripeError":{"code":"invalid_bill_setting_time_until_due","httpStatusCode":400}},"v2.error.invalid_billing_cadence_filters":{"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_billing_cadence_filters"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when incorrect filters are set when retrieving billing cadences.","x-stripeError":{"code":"invalid_billing_cadence_filters","httpStatusCode":400}},"v2.error.invalid_billing_cycle_dates":{"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_billing_cycle_dates"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned by billing cadences when invalid dates for a billing cycle are set.","x-stripeError":{"code":"invalid_billing_cycle_dates","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_country_code":{"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_country_code"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the country code requested for the bank account spec is invalid.","x-stripeError":{"code":"invalid_country_code","httpStatusCode":400}},"v2.error.invalid_customer":{"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_customer"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when creating or updating a cadence with a deleted customer.","x-stripeError":{"code":"invalid_customer","httpStatusCode":400}},"v2.error.invalid_customer_for_billing_profile":{"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_customer_for_billing_profile"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when associating a billing profile with a deleted customer.","x-stripeError":{"code":"invalid_customer_for_billing_profile","httpStatusCode":400}},"v2.error.invalid_fields":{"required":["error"],"type":"object","properties":{"error":{"required":["code","flag_set_id","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_fields"]},"flag_set_id":{"type":"string"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"invalid_fields","httpStatusCode":400}},"v2.error.invalid_filters":{"required":["error"],"type":"object","properties":{"error":{"required":["code","invalid_filters","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_filters"]},"invalid_filters":{"type":"array","description":"The names of the filter parameters that were invalid.","items":{"type":"string"}},"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 filter parameters in the request are invalid.","x-stripeError":{"code":"invalid_filters","httpStatusCode":400}},"v2.error.invalid_gb_bank_account":{"required":["error"],"type":"object","properties":{"error":{"required":["code","invalid_param","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_gb_bank_account"]},"invalid_param":{"type":"string","description":"Closed Enum. The field that already exists on the resource.","enum":["account_number","currency","iban","sort_code"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Account Number field.","value":"account_number"},{"description":"Currency field.","value":"currency"},{"description":"IBAN field.","value":"iban"},{"description":"Sort Code field.","value":"sort_code"}]}},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["invalid_vaulted_credential"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the bank account provided is not valid (wrong format of account number\nor a routing number that does not correspond to a banking institution).","x-stripeError":{"code":"invalid_gb_bank_account","httpStatusCode":400,"type":"invalid_vaulted_credential"}},"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_invoice_rendering_template_for_bill_setting":{"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_invoice_rendering_template_for_bill_setting"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the invoice rendering template is archived.","x-stripeError":{"code":"invalid_invoice_rendering_template_for_bill_setting","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_outbound_flow":{"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_outbound_flow"]},"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 the outbound flow is invalid.","x-stripeError":{"code":"invalid_outbound_flow","httpStatusCode":400}},"v2.error.invalid_page_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_page_token"]},"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 the page token provided in the OutboundPayments/OutboundTransfers list request is invalid.","x-stripeError":{"code":"invalid_page_token","httpStatusCode":400}},"v2.error.invalid_payment_method_configuration_for_collection_setting":{"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_payment_method_configuration_for_collection_setting"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the payment method configuration is not active.","x-stripeError":{"code":"invalid_payment_method_configuration_for_collection_setting","httpStatusCode":400}},"v2.error.invalid_payout_method":{"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":["invalid_payout_method"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["invalid_payout_method"]}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the ID provided doesn't correspond to a valid payout method.","x-stripeError":{"code":"invalid_payout_method","httpStatusCode":400,"type":"invalid_payout_method"}},"v2.error.invalid_payout_method_card":{"required":["error"],"type":"object","properties":{"error":{"required":["code","invalid_param","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_payout_method_card"]},"invalid_param":{"type":"string","description":"Closed Enum. The invalid parameter field.","enum":["exp_date","exp_month","exp_year","number"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The expiration date, referring to both the expiration month and expiration year fields.","value":"exp_date"},{"description":"The expiration month field.","value":"exp_month"},{"description":"The expiration year field.","value":"exp_year"},{"description":"The card number field.","value":"number"}]}},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["invalid_payout_method"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the PayoutMethodCard object is not valid.","x-stripeError":{"code":"invalid_payout_method_card","httpStatusCode":400,"type":"invalid_payout_method"}},"v2.error.invalid_payout_method_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":["invalid_payout_method_country"]},"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 the payout method country does not match the recipient account country.","x-stripeError":{"code":"invalid_payout_method_country","httpStatusCode":400}},"v2.error.invalid_payout_method_data":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"bank_account_data_error":{"required":["invalid_param"],"type":"object","properties":{"invalid_param":{"type":"string","description":"Open Enum. The invalid parameter field.","enum":["account_number","branch_number","currency","routing_number","swift_code"],"x-stripeEnum":{"kind":"open","values":[{"description":"The account number field.","value":"account_number"},{"description":"The branch number field.","value":"branch_number"},{"description":"The currency field.","value":"currency"},{"description":"The routing number field.","value":"routing_number"},{"description":"The swift code field.","value":"swift_code"}]}}},"description":"Details for invalid bank account data error."},"card_data_error":{"required":["invalid_param"],"type":"object","properties":{"invalid_param":{"type":"string","description":"Open Enum. The invalid parameter field.","enum":["currency","exp_date","exp_month","exp_year","number"],"x-stripeEnum":{"kind":"open","values":[{"description":"The currency field.","value":"currency"},{"description":"The expiration date, referring to both the expiration month and expiration year fields.","value":"exp_date"},{"description":"The expiration month field.","value":"exp_month"},{"description":"The expiration year field.","value":"exp_year"},{"description":"The card number field.","value":"number"}]}}},"description":"Details for invalid card data error."},"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_payout_method_data"]},"crypto_wallet_data_error":{"required":["invalid_param"],"type":"object","properties":{"invalid_param":{"type":"string","description":"Open Enum. The invalid parameter field.","enum":["address","memo","network"],"x-stripeEnum":{"kind":"open","values":[{"description":"Address field.","value":"address"},{"description":"Memo field.","value":"memo"},{"description":"Network field.","value":"network"}]}}},"description":"Details for invalid crypto wallet data error."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["invalid_payout_method"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the PayoutMethod object provided is not valid (wrong format of\ncredentials that does not correspond to a valid payout method).","x-stripeError":{"code":"invalid_payout_method_data","httpStatusCode":400,"type":"invalid_payout_method"}},"v2.error.invalid_payout_method_update":{"required":["error"],"type":"object","properties":{"error":{"required":["code","fields","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_payout_method_update"]},"fields":{"type":"array","description":"The fields that were not updatable.","items":{"type":"string"}},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when attempting to update non-updatable credential data.","x-stripeError":{"code":"invalid_payout_method_update","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_sepa_creditor_id_format":{"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_sepa_creditor_id_format"]},"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 SEPA Creditor Identifier is invalid.","x-stripeError":{"code":"invalid_sepa_creditor_id_format","httpStatusCode":400}},"v2.error.invalid_status_payout_method":{"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_status_payout_method"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the credential ID provided corresponds to a resource that does not allow usage as a payout method.","x-stripeError":{"code":"invalid_status_payout_method","httpStatusCode":400}},"v2.error.invalid_status_transition":{"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_status_transition"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the status transition is not valid for this operation.","x-stripeError":{"code":"invalid_status_transition","httpStatusCode":409}},"v2.error.invalid_test_clock_on_payer":{"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_test_clock_on_payer"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the payer that is being updated on a billing cadence has a test_clock that conflicts with the current test_clock.","x-stripeError":{"code":"invalid_test_clock_on_payer","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.invalid_us_bank_account":{"required":["error"],"type":"object","properties":{"error":{"required":["code","invalid_param","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_us_bank_account"]},"invalid_param":{"type":"string","enum":["account_number","currency","fedwire_routing_number","routing_number"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Account number field.","value":"account_number"},{"description":"Currency field.","value":"currency"},{"description":"Fedwire routing number field.","value":"fedwire_routing_number"},{"description":"Routing number field.","value":"routing_number"}]}},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["invalid_payment_method"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the bank account provided is not valid (wrong format of account number\nor a routing number that does not correspond to a banking institution).","x-stripeError":{"code":"invalid_us_bank_account","httpStatusCode":400,"type":"invalid_payment_method"}},"v2.error.invalid_verification_status":{"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_verification_status"]},"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":"Returned when ListUsBankAccounts is called with an invalid verification_status param.","x-stripeError":{"code":"invalid_verification_status","httpStatusCode":400}},"v2.error.invalid_workflow_input_parameters":{"required":["error"],"type":"object","properties":{"error":{"required":["code","invalid_fields","message","reason","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_workflow_input_parameters"]},"invalid_fields":{"type":"array","description":"The input parameter fields that failed validation.","items":{"required":["field","message"],"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"}}}},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]},"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 Workflow invocation failed because the input parameters were invalid.","x-stripeError":{"code":"invalid_workflow_input_parameters","httpStatusCode":400,"type":"cannot_proceed"}},"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.invoice_rendering_template_not_found_for_bill_setting":{"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_not_found_for_bill_setting"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the invoice rendering template cannot be found.","x-stripeError":{"code":"invoice_rendering_template_not_found_for_bill_setting","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.large_rate_drift":{"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":["large_rate_drift"]},"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 the FX rate drift beyond threshold.","x-stripeError":{"code":"large_rate_drift","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.limit_gb_bank_account":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["limit_gb_bank_account"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["quota_exceeded"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned when the number of GBBankAccount objects on a given V2 Account has exceeded the limit of 10.\nGBBankAccount objects may be archived with /archive, at which point they will not count against the limit.\nIf you are not passing a V2 Account ID in the Stripe-Context header you may receive this error since\nyou are creating all your GBBankAccount objects in your own workspace.","x-stripeError":{"code":"limit_gb_bank_account","httpStatusCode":400,"type":"quota_exceeded"}},"v2.error.limit_payout_method":{"required":["error"],"type":"object","properties":{"error":{"required":["code","limit","message","type"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["limit_payout_method"]},"limit":{"type":"integer","description":"The maximum number of credentials per workspace for the given type."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["quota_exceeded"]}},"description":"Information about the error that occurred"}},"description":"Returned when the number of payout methods has exceeded the limit in a given workspace.\nPayoutMethod objects may be archived with the /archive API, at which point they will not count against the limit.\nIf you are not passing a V2 Account ID in the Stripe-Context header you may receive this error since\nyou are creating all your payout method objects in your own workspace.","x-stripeError":{"code":"limit_payout_method","httpStatusCode":400,"type":"quota_exceeded"}},"v2.error.limit_us_bank_account":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["limit_us_bank_account"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["quota_exceeded"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned when the number of USBankAccount objects on a given V2 Account has exceeded the limit of 10.\nUSBankAccount objects may be archived with /archive, at which point they will not count against the limit.\nIf you are not passing a V2 Account ID in the Stripe-Context header you may receive this error since\nyou are creating all your USBankAccount objects in your own workspace.","x-stripeError":{"code":"limit_us_bank_account","httpStatusCode":400,"type":"quota_exceeded"}},"v2.error.lookup_key_already_exists_for_billing_profile":{"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":["lookup_key_already_exists_for_billing_profile"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the Lookup Key already exists for another billing profile for this customer.","x-stripeError":{"code":"lookup_key_already_exists_for_billing_profile","httpStatusCode":400}},"v2.error.lookup_key_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":["lookup_key_already_used"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when another object of the same type already has the given lookup key.","x-stripeError":{"code":"lookup_key_already_used","httpStatusCode":400}},"v2.error.lookup_key_already_used_for_bill_setting":{"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":["lookup_key_already_used_for_bill_setting"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the lookup key is already used for a bill setting.","x-stripeError":{"code":"lookup_key_already_used_for_bill_setting","httpStatusCode":400}},"v2.error.lookup_key_already_used_for_collection_setting":{"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":["lookup_key_already_used_for_collection_setting"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the lookup key is already used for a collection setting.","x-stripeError":{"code":"lookup_key_already_used_for_collection_setting","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.missing_data_for_evaluation":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","missing_data"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["missing_data_for_evaluation"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"missing_data":{"type":"array","description":"List of missing data requirements.","items":{"required":["path","signals"],"type":"object","properties":{"path":{"type":"string","description":"Path of the required account data that is missing."},"signals":{"type":"array","description":"List of signals that require the missing data.","items":{"type":"string","enum":["fraudulent_website","user_account_sharing","user_multi_accounting"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fraudulent website signal evaluating website risk.","value":"fraudulent_website"},{"description":"User account-sharing signal.","value":"user_account_sharing"},{"description":"User multi-accounting signal.","value":"user_multi_accounting"}]}}}}}}},"description":"Information about the error that occurred"}},"description":"Error returned when required data for evaluation is missing.","x-stripeError":{"code":"missing_data_for_evaluation","httpStatusCode":400}},"v2.error.month_of_year_not_supported_for_interval_count":{"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":["month_of_year_not_supported_for_interval_count"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned by billing cadences when billing_cycle.month.month_of_year is used with an invalid `interval_count`.","x-stripeError":{"code":"month_of_year_not_supported_for_interval_count","httpStatusCode":400}},"v2.error.network_business_profile_livemode_mismatch":{"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":["network_business_profile_livemode_mismatch"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The livemode of the request must match the livemode of the provided Network ID(s).","x-stripeError":{"code":"network_business_profile_livemode_mismatch","httpStatusCode":400}},"v2.error.network_business_profile_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":["network_business_profile_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"A Stripe business profile with the provided Network ID cannot be found.","x-stripeError":{"code":"network_business_profile_not_found","httpStatusCode":400}},"v2.error.network_business_profile_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":["network_business_profile_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The authenticated party making the request does not have a Stripe business profile.","x-stripeError":{"code":"network_business_profile_required","httpStatusCode":400}},"v2.error.network_not_supported_for_payout_method":{"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":["network_not_supported_for_payout_method"]},"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 the requested networks are not supported for the provided payout method.","x-stripeError":{"code":"network_not_supported_for_payout_method","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.no_suitable_delivery_options_for_large_amount":{"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":["no_suitable_delivery_options_for_large_amount"]},"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 user does not specify the delivery option or provides automatic, and the amount exceeds all the possible delivery options for this payout method.","x-stripeError":{"code":"no_suitable_delivery_options_for_large_amount","httpStatusCode":400}},"v2.error.non_connect_platform_accounts_v2_access_blocked":{"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":["non_connect_platform_accounts_v2_access_blocked"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Needs to use the newer API version or onboard to Connect.","x-stripeError":{"code":"non_connect_platform_accounts_v2_access_blocked","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_authorized":{"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_authorized"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the caller is not authorized to perform this action.","x-stripeError":{"code":"not_authorized","httpStatusCode":403}},"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.outbound_flow_from_closed_financial_account_unsupported":{"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":["outbound_flow_from_closed_financial_account_unsupported"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["feature_not_enabled"]}},"description":"Information about the error that occurred"}},"description":"The user attempts to create an outbound flow from a closed Financial Account.","x-stripeError":{"code":"outbound_flow_from_closed_financial_account_unsupported","httpStatusCode":400,"type":"feature_not_enabled"}},"v2.error.outbound_flow_unsupported_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":["outbound_flow_unsupported_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":"Error returned when the payout method country is not supported for the outbound payment.","x-stripeError":{"code":"outbound_flow_unsupported_country","httpStatusCode":400}},"v2.error.outbound_flow_unsupported_currency":{"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":["outbound_flow_unsupported_currency"]},"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 the payout method supported currencies are not supported for this outbound flow.","x-stripeError":{"code":"outbound_flow_unsupported_currency","httpStatusCode":400}},"v2.error.outbound_payment_already_canceled":{"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":["outbound_payment_already_canceled"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["already_canceled"]}},"description":"Information about the error that occurred"}},"description":"Error returned when user tries to cancel an OutboundPayment that was already canceled.","x-stripeError":{"code":"outbound_payment_already_canceled","httpStatusCode":400,"type":"already_canceled"}},"v2.error.outbound_payment_cannot_be_processed":{"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":["outbound_payment_cannot_be_processed"]},"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 the OutboundPayment cannot be processed due to a Stripe review rejection.","x-stripeError":{"code":"outbound_payment_cannot_be_processed","httpStatusCode":400}},"v2.error.outbound_payment_check_recipient_name_too_long":{"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":["outbound_payment_check_recipient_name_too_long"]},"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 the check recipient name is too long.","x-stripeError":{"code":"outbound_payment_check_recipient_name_too_long","httpStatusCode":400}},"v2.error.outbound_payment_ineligible_recipient_address":{"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":["outbound_payment_ineligible_recipient_address"]},"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 the recipient's address is invalid.","x-stripeError":{"code":"outbound_payment_ineligible_recipient_address","httpStatusCode":400}},"v2.error.outbound_payment_invalid_check_attachment":{"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":["outbound_payment_invalid_check_attachment"]},"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 the check attachment is invalid.","x-stripeError":{"code":"outbound_payment_invalid_check_attachment","httpStatusCode":400}},"v2.error.outbound_payment_invalid_check_signature":{"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":["outbound_payment_invalid_check_signature"]},"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 the check signature is invalid.","x-stripeError":{"code":"outbound_payment_invalid_check_signature","httpStatusCode":400}},"v2.error.outbound_payment_invalid_paper_check_attachment":{"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":["outbound_payment_invalid_paper_check_attachment"]},"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 the paper check attachment is invalid.","x-stripeError":{"code":"outbound_payment_invalid_paper_check_attachment","httpStatusCode":400}},"v2.error.outbound_payment_invalid_paper_check_signature":{"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":["outbound_payment_invalid_paper_check_signature"]},"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 the paper check signature is invalid.","x-stripeError":{"code":"outbound_payment_invalid_paper_check_signature","httpStatusCode":400}},"v2.error.outbound_payment_memo_restricted_term":{"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":["outbound_payment_memo_restricted_term"]},"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 the paper check outbound payment's memo contains restricted words.","x-stripeError":{"code":"outbound_payment_memo_restricted_term","httpStatusCode":400}},"v2.error.outbound_payment_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":["outbound_payment_not_allowed"]},"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 the user is not allowed to make this OutboundPayment request.","x-stripeError":{"code":"outbound_payment_not_allowed","httpStatusCode":400}},"v2.error.outbound_payment_not_cancelable":{"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":["outbound_payment_not_cancelable"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["not_cancelable"]}},"description":"Information about the error that occurred"}},"description":"Error returned when user tries to cancel an OutboundPayment that is not cancelable.","x-stripeError":{"code":"outbound_payment_not_cancelable","httpStatusCode":400,"type":"not_cancelable"}},"v2.error.outbound_payment_paper_check_recipient_name_too_long":{"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":["outbound_payment_paper_check_recipient_name_too_long"]},"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 the paper check recipient name is too long.","x-stripeError":{"code":"outbound_payment_paper_check_recipient_name_too_long","httpStatusCode":400}},"v2.error.outbound_payment_quote_mismatch":{"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":["outbound_payment_quote_mismatch"]},"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 key money movement fields on outbound payment quote creation request don’t match outbound payment creation request, including from, to, amount and delivery_options.","x-stripeError":{"code":"outbound_payment_quote_mismatch","httpStatusCode":400}},"v2.error.outbound_payment_quote_missing":{"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":["outbound_payment_quote_missing"]},"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 outbound payment quote is missing for CBPs that requires fee and amount estimates prior to OBP initiation.","x-stripeError":{"code":"outbound_payment_quote_missing","httpStatusCode":400}},"v2.error.outbound_payment_recipient_verification_already_consumed":{"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":["outbound_payment_recipient_verification_already_consumed"]},"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 the provided recipient verification has been used for another payment.","x-stripeError":{"code":"outbound_payment_recipient_verification_already_consumed","httpStatusCode":400}},"v2.error.outbound_payment_recipient_verification_awaiting_acknowledgement":{"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":["outbound_payment_recipient_verification_awaiting_acknowledgement"]},"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 provided recipient verification has not been acknowledged.","x-stripeError":{"code":"outbound_payment_recipient_verification_awaiting_acknowledgement","httpStatusCode":400}},"v2.error.outbound_payment_recipient_verification_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":["outbound_payment_recipient_verification_expired"]},"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 provided recipient verification is expired.","x-stripeError":{"code":"outbound_payment_recipient_verification_expired","httpStatusCode":400}},"v2.error.outbound_payment_recipient_verification_missing":{"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":["outbound_payment_recipient_verification_missing"]},"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 recipient verification is missing for OBPs which requires recipient verification prior to OBP initiation.","x-stripeError":{"code":"outbound_payment_recipient_verification_missing","httpStatusCode":400}},"v2.error.outbound_payment_recipient_verification_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":["outbound_payment_recipient_verification_not_found"]},"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 the provided recipient verification cannot be identified.","x-stripeError":{"code":"outbound_payment_recipient_verification_not_found","httpStatusCode":404}},"v2.error.outbound_payment_recipient_verification_payout_method_mismatch":{"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":["outbound_payment_recipient_verification_payout_method_mismatch"]},"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 payout method on recipient verification creation request don’t match outbound payment creation request.","x-stripeError":{"code":"outbound_payment_recipient_verification_payout_method_mismatch","httpStatusCode":400}},"v2.error.outbound_payment_recipient_verification_recipient_mismatch":{"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":["outbound_payment_recipient_verification_recipient_mismatch"]},"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 recipient on recipient verification creation request don’t match outbound payment creation request.","x-stripeError":{"code":"outbound_payment_recipient_verification_recipient_mismatch","httpStatusCode":400}},"v2.error.outbound_payment_recipient_verification_recipient_name_outdated":{"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":["outbound_payment_recipient_verification_recipient_name_outdated"]},"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 the recipient account name of the recipient verification no longer matches the verified name.","x-stripeError":{"code":"outbound_payment_recipient_verification_recipient_name_outdated","httpStatusCode":400}},"v2.error.outbound_transfer_already_canceled":{"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":["outbound_transfer_already_canceled"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["already_canceled"]}},"description":"Information about the error that occurred"}},"description":"Error returned when user tries to cancel an OutboundTransfer that was already canceled.","x-stripeError":{"code":"outbound_transfer_already_canceled","httpStatusCode":400,"type":"already_canceled"}},"v2.error.outbound_transfer_cannot_be_processed":{"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":["outbound_transfer_cannot_be_processed"]},"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 the OutboundTransfer cannot be processed due to a Stripe review rejection.","x-stripeError":{"code":"outbound_transfer_cannot_be_processed","httpStatusCode":400}},"v2.error.outbound_transfer_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":["outbound_transfer_not_allowed"]},"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 the user is not allowed to make this OutboundTransfer request.","x-stripeError":{"code":"outbound_transfer_not_allowed","httpStatusCode":400}},"v2.error.outbound_transfer_not_cancelable":{"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":["outbound_transfer_not_cancelable"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["not_cancelable"]}},"description":"Information about the error that occurred"}},"description":"Error returned when user tries to cancel an OutboundTransfer that is not cancelable.","x-stripeError":{"code":"outbound_transfer_not_cancelable","httpStatusCode":400,"type":"not_cancelable"}},"v2.error.outbound_transfer_recipient_verification_already_consumed":{"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":["outbound_transfer_recipient_verification_already_consumed"]},"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 the provided recipient verification has been used for another payment.","x-stripeError":{"code":"outbound_transfer_recipient_verification_already_consumed","httpStatusCode":400}},"v2.error.outbound_transfer_recipient_verification_awaiting_acknowledgement":{"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":["outbound_transfer_recipient_verification_awaiting_acknowledgement"]},"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 provided recipient verification has not been acknowledged.","x-stripeError":{"code":"outbound_transfer_recipient_verification_awaiting_acknowledgement","httpStatusCode":400}},"v2.error.outbound_transfer_recipient_verification_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":["outbound_transfer_recipient_verification_expired"]},"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 provided recipient verification is expired.","x-stripeError":{"code":"outbound_transfer_recipient_verification_expired","httpStatusCode":400}},"v2.error.outbound_transfer_recipient_verification_missing":{"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":["outbound_transfer_recipient_verification_missing"]},"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 recipient verification is missing for OBTs which requires recipient verification prior to OBT initiation.","x-stripeError":{"code":"outbound_transfer_recipient_verification_missing","httpStatusCode":400}},"v2.error.outbound_transfer_recipient_verification_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":["outbound_transfer_recipient_verification_not_found"]},"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 the provided recipient verification cannot be identified.","x-stripeError":{"code":"outbound_transfer_recipient_verification_not_found","httpStatusCode":404}},"v2.error.outbound_transfer_recipient_verification_payout_method_mismatch":{"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":["outbound_transfer_recipient_verification_payout_method_mismatch"]},"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 payout method on recipient verification creation request don’t match outbound transfer creation request.","x-stripeError":{"code":"outbound_transfer_recipient_verification_payout_method_mismatch","httpStatusCode":400}},"v2.error.outbound_transfer_recipient_verification_recipient_mismatch":{"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":["outbound_transfer_recipient_verification_recipient_mismatch"]},"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 recipient on recipient verification creation request don’t match outbound transfer creation request.","x-stripeError":{"code":"outbound_transfer_recipient_verification_recipient_mismatch","httpStatusCode":400}},"v2.error.outbound_transfer_recipient_verification_recipient_name_outdated":{"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":["outbound_transfer_recipient_verification_recipient_name_outdated"]},"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 the recipient account name of the recipient verification no longer matches the verified name.","x-stripeError":{"code":"outbound_transfer_recipient_verification_recipient_name_outdated","httpStatusCode":400}},"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.parameter_pair_exclusive":{"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":["parameter_pair_exclusive"]},"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":"Two mutually exclusive parameters were provided in the request.","x-stripeError":{"code":"parameter_pair_exclusive","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.payment_method_configuration_not_found_for_collection_setting":{"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":["payment_method_configuration_not_found_for_collection_setting"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the payment method configuration cannot be found.","x-stripeError":{"code":"payment_method_configuration_not_found_for_collection_setting","httpStatusCode":400}},"v2.error.payment_method_customer_mismatch_for_billing_profile":{"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":["payment_method_customer_mismatch_for_billing_profile"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the payment method belongs to a different customer.","x-stripeError":{"code":"payment_method_customer_mismatch_for_billing_profile","httpStatusCode":400}},"v2.error.payment_method_not_found_for_billing_profile":{"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":["payment_method_not_found_for_billing_profile"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the payment method for the provided ID cannot be found.","x-stripeError":{"code":"payment_method_not_found_for_billing_profile","httpStatusCode":400}},"v2.error.payment_method_unsupported_for_payouts":{"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":["payment_method_unsupported_for_payouts"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the payment method referenced in from_resource is not supported for payouts.","x-stripeError":{"code":"payment_method_unsupported_for_payouts","httpStatusCode":400}},"v2.error.payout_method_archived":{"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":["payout_method_archived"]},"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 the payout method in the OutboundPayment/OutboundTransfer request is archived and invalid.","x-stripeError":{"code":"payout_method_archived","httpStatusCode":400}},"v2.error.payout_method_cannot_be_archived":{"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":["payout_method_cannot_be_archived"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["controlled_by_alternate_resource"]}},"description":"Information about the error that occurred"}},"description":"Returned when the PayoutMethod object is controlled by an alternate resource so cannot be archived.","x-stripeError":{"code":"payout_method_cannot_be_archived","httpStatusCode":400,"type":"controlled_by_alternate_resource"}},"v2.error.payout_method_cannot_be_unarchived":{"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":["payout_method_cannot_be_unarchived"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["controlled_by_alternate_resource"]}},"description":"Information about the error that occurred"}},"description":"Returned when the PayoutMethodBankAccount object is controlled by the Stripe Dashboard, and cannot be unarchived.","x-stripeError":{"code":"payout_method_cannot_be_unarchived","httpStatusCode":400,"type":"controlled_by_alternate_resource"}},"v2.error.payout_method_cannot_be_updated":{"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":["payout_method_cannot_be_updated"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["controlled_by_alternate_resource"]}},"description":"Information about the error that occurred"}},"description":"Returned when attempting to update a Payout Method controlled by another resource.","x-stripeError":{"code":"payout_method_cannot_be_updated","httpStatusCode":400,"type":"controlled_by_alternate_resource"}},"v2.error.payout_method_disabled":{"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":["payout_method_disabled"]},"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 the payout method in the OutboundPayment/OutboundTransfer request is disabled\nand needs to be enabled via OutboundSetupIntent.","x-stripeError":{"code":"payout_method_disabled","httpStatusCode":400}},"v2.error.payout_method_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":["payout_method_expired"]},"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 the provided payout method is expired.","x-stripeError":{"code":"payout_method_expired","httpStatusCode":400}},"v2.error.payout_method_incompatible_type":{"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":["payout_method_incompatible_type"]},"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":"A v1 External Account ID was passed as a `defaults.payout_methods` value, which is not supported in Accounts v2.","x-stripeError":{"code":"payout_method_incompatible_type","httpStatusCode":400}},"v2.error.payout_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":["payout_method_invalid"]},"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 the payout method in the OutboundPayment/OutboundTransfer request cannot be identified.","x-stripeError":{"code":"payout_method_invalid","httpStatusCode":404}},"v2.error.payout_method_must_differ_from_financial_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":["payout_method_must_differ_from_financial_account"]},"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 the same v2 Financial Account is provided in both to.payout_method and from.financial_account fields.","x-stripeError":{"code":"payout_method_must_differ_from_financial_account","httpStatusCode":400}},"v2.error.payout_method_unsupported_currency":{"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":["payout_method_unsupported_currency"]},"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 the payout method does not support the request's payout method currency.","x-stripeError":{"code":"payout_method_unsupported_currency","httpStatusCode":400}},"v2.error.payout_method_unusable":{"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":["payout_method_unusable"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned if the payout method used for the outbound payment is based on a tokenized account number that is no longer transactable.","x-stripeError":{"code":"payout_method_unusable","httpStatusCode":400}},"v2.error.pending_financial_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":["pending_financial_account"]},"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 the source financial account is in a pending state and not yet active.","x-stripeError":{"code":"pending_financial_account","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_financial_account_currency_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":["platform_financial_account_currency_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The currency is not supported as the platform does not have a Financial Account that holds the currency.","x-stripeError":{"code":"platform_financial_account_currency_required","httpStatusCode":400}},"v2.error.platform_registration_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":["platform_registration_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The direct merchant 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.preferred_networks_not_available":{"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":["preferred_networks_not_available"]},"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 the requested network is temporarily unavailable.","x-stripeError":{"code":"preferred_networks_not_available","httpStatusCode":400}},"v2.error.previous_agreement_terminated_by_counterparty":{"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":["previous_agreement_terminated_by_counterparty"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"In order to prevent spam, if one party terminates an agreement, that same party must create the next agreement.","x-stripeError":{"code":"previous_agreement_terminated_by_counterparty","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.query_run_api_inaccessible":{"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":["query_run_api_inaccessible"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the query runs API is not accessible to the request. The error message provides the reason (e.g. feature not enabled, compartment not allowed).","x-stripeError":{"code":"query_run_api_inaccessible","httpStatusCode":403}},"v2.error.query_run_invalid_sql":{"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":["query_run_invalid_sql"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the SQL in a query run request is invalid.","x-stripeError":{"code":"query_run_invalid_sql","httpStatusCode":400}},"v2.error.query_run_rate_limit_exceeded":{"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":["query_run_rate_limit_exceeded"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when an API key has reached its limit of concurrently running query runs. Wait for existing query runs to complete before retrying the request.","x-stripeError":{"code":"query_run_rate_limit_exceeded","httpStatusCode":429}},"v2.error.recipient_amount_limit_exceeded":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["recipient_amount_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":["quota_exceeded"]},"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 the recipient's recent total amount in outbound payments has exceeded its limit.","x-stripeError":{"code":"recipient_amount_limit_exceeded","httpStatusCode":400,"type":"quota_exceeded"}},"v2.error.recipient_count_limit_exceeded":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["recipient_count_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":["quota_exceeded"]},"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 the recipient's recent outbound payment count has exceeded its limit.","x-stripeError":{"code":"recipient_count_limit_exceeded","httpStatusCode":400,"type":"quota_exceeded"}},"v2.error.recipient_email_does_not_exist":{"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":["recipient_email_does_not_exist"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["recipient_not_notifiable"]}},"description":"Information about the error that occurred"}},"description":"Error returned when the user enables notifications in the OutboundPayment request, but an email is not set up on the recipient account.","x-stripeError":{"code":"recipient_email_does_not_exist","httpStatusCode":400,"type":"recipient_not_notifiable"}},"v2.error.recipient_feature_not_active":{"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":["recipient_feature_not_active"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["feature_not_enabled"]}},"description":"Information about the error that occurred"}},"description":"Error returned when recipient does not have the active features required to receive funds from this OutboundPayment request.","x-stripeError":{"code":"recipient_feature_not_active","httpStatusCode":400,"type":"feature_not_enabled"}},"v2.error.recipient_feature_not_active_for_suitable_delivery_option":{"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":["recipient_feature_not_active_for_suitable_delivery_option"]},"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 user does not specify the delivery option or provides automatic, and recipient feature is not active for suitable delivery option.","x-stripeError":{"code":"recipient_feature_not_active_for_suitable_delivery_option","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.resource_missing":{"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":["resource_missing"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when looking up a non-existent product catalog import.","x-stripeError":{"code":"resource_missing","httpStatusCode":404}},"v2.error.resource_not_found":{"required":["error"],"type":"object","properties":{"error":{"required":["code","id","location","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["resource_not_found"]},"id":{"type":"string","description":"The identifier of the resource that could not be found."},"location":{"type":"string","description":"The field that referenced the missing resource."},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the request references a resource that cannot be found.","x-stripeError":{"code":"resource_not_found","httpStatusCode":400}},"v2.error.same_network_business_profile":{"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":["same_network_business_profile"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Callers must provide different Network IDs for the seller and orchestrator, because every agreement needs two parties.","x-stripeError":{"code":"same_network_business_profile","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.sepa_debit_creditor_identifier_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":["sepa_debit_creditor_identifier_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":"The SEPA Creditor Identifier is blocked from use at Stripe.","x-stripeError":{"code":"sepa_debit_creditor_identifier_not_allowed","httpStatusCode":400}},"v2.error.sepa_debit_stripe_creditor_identifier":{"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":["sepa_debit_stripe_creditor_identifier"]},"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 Stripe-owned shared SEPA Creditor Identifier cannot be set as a custom identifier.","x-stripeError":{"code":"sepa_debit_stripe_creditor_identifier","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.signal_inaccessible":{"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":["signal_inaccessible"]},"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 the caller does not have access to the requested signal.","x-stripeError":{"code":"signal_inaccessible","httpStatusCode":403}},"v2.error.signal_type_access_denied":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","signal_types_failed"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["signal_type_access_denied"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"signal_types_failed":{"type":"array","description":"The signal types for which the caller lacks product access.","items":{"type":"string","enum":["fraudulent_merchant","fraudulent_website","user_account_sharing","user_multi_accounting"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fraudulent merchant signal.","value":"fraudulent_merchant"},{"description":"Fraudulent website signal.","value":"fraudulent_website"},{"description":"User account-sharing signal.","value":"user_account_sharing"},{"description":"User multi-accounting signal.","value":"user_multi_accounting"}]}}}},"description":"Information about the error that occurred"}},"description":"Error returned when the caller does not have access to the requested signal type,\ne.g. the user is not onboarded to a product that provides this signal.","x-stripeError":{"code":"signal_type_access_denied","httpStatusCode":403}},"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.storer_capability_missing":{"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":["storer_capability_missing"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["feature_not_enabled"]}},"description":"Information about the error that occurred"}},"description":"The required storer capabilities are missing.","x-stripeError":{"code":"storer_capability_missing","httpStatusCode":400,"type":"feature_not_enabled"}},"v2.error.storer_capability_not_active":{"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":["storer_capability_not_active"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["feature_not_enabled"]}},"description":"Information about the error that occurred"}},"description":"The required storer capabilities are not active.","x-stripeError":{"code":"storer_capability_not_active","httpStatusCode":400,"type":"feature_not_enabled"}},"v2.error.stripe_api_version_not_provided":{"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":["stripe_api_version_not_provided"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the Stripe API version is not provided on the request.","x-stripeError":{"code":"stripe_api_version_not_provided","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.submission_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":["submission_not_supported"]},"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 an unsupported ACH submission value is provided.","x-stripeError":{"code":"submission_not_supported","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_clock_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":["test_clock_not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the TestClock for the provided ID cannot be found.","x-stripeError":{"code":"test_clock_not_found","httpStatusCode":404}},"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.to_recipient_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":["to_recipient_not_found"]},"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 the recipient account in the OutboundPayment request cannot be identified.","x-stripeError":{"code":"to_recipient_not_found","httpStatusCode":404}},"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_country_for_bank_account_financial_address":{"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":["unsupported_country_for_bank_account_financial_address"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when the country is not supported for a bank_account Financial Address with the requested currency.","x-stripeError":{"code":"unsupported_country_for_bank_account_financial_address","httpStatusCode":400}},"v2.error.unsupported_crypto_wallet_settlement_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":["unsupported_crypto_wallet_settlement_currency"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Returned when a crypto wallet cannot settle in the requested currency.","x-stripeError":{"code":"unsupported_crypto_wallet_settlement_currency","httpStatusCode":400}},"v2.error.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":["unsupported_currency"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The currency is not supported for Financial Accounts.","x-stripeError":{"code":"unsupported_currency","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_gb_bank":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["unsupported_gb_bank"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["blocked_by_stripe"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where Stripe is unable to support this bank at this time.","x-stripeError":{"code":"unsupported_gb_bank","httpStatusCode":400,"type":"blocked_by_stripe"}},"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_legal_entity_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":["unsupported_legal_entity_country"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"","x-stripeError":{"code":"unsupported_legal_entity_country","httpStatusCode":400}},"v2.error.unsupported_operation_on_managed_financial_account_resource":{"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":["unsupported_operation_on_managed_financial_account_resource"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Modification of an object is not allowed on a managed account.","x-stripeError":{"code":"unsupported_operation_on_managed_financial_account_resource","httpStatusCode":400}},"v2.error.unsupported_operation_with_managed_financial_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":["unsupported_operation_with_managed_financial_account"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Creation of an object is not allowed with a managed account.","x-stripeError":{"code":"unsupported_operation_with_managed_financial_account","httpStatusCode":400}},"v2.error.unsupported_parameter_delivery_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":["unsupported_parameter_delivery_options"]},"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 delivery_options and payout_method_options are both specified (mutually exclusive).","x-stripeError":{"code":"unsupported_parameter_delivery_options","httpStatusCode":400}},"v2.error.unsupported_payout_method":{"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":["unsupported_payout_method"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["blocked_by_stripe"]}},"description":"Information about the error that occurred"}},"description":"Returned in cases where Stripe is unable to support this payout method at this time.","x-stripeError":{"code":"unsupported_payout_method","httpStatusCode":400,"type":"blocked_by_stripe"}},"v2.error.unsupported_payout_method_currency":{"required":["error"],"type":"object","properties":{"error":{"required":["code","currency","message","reason","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["unsupported_payout_method_currency"]},"currency":{"type":"string","description":"The currency that is unsupported for the payout method."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the currency provided is unsupported for the payout method.\nThis occurs when the currency provided is not supported regardless of the credentials provided.","x-stripeError":{"code":"unsupported_payout_method_currency","httpStatusCode":400,"type":"cannot_proceed"}},"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.unsupported_us_bank":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["unsupported_us_bank"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["blocked_by_stripe"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where Stripe is unable to support this bank at this time.","x-stripeError":{"code":"unsupported_us_bank","httpStatusCode":400,"type":"blocked_by_stripe"}},"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.us_bank_account_cannot_be_archived":{"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":["us_bank_account_cannot_be_archived"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["controlled_by_alternate_resource"]}},"description":"Information about the error that occurred"}},"description":"Returned when the US Bank Account in question is controlled by an alternate resource, and cannot be archived.","x-stripeError":{"code":"us_bank_account_cannot_be_archived","httpStatusCode":400,"type":"controlled_by_alternate_resource"}},"v2.error.us_bank_account_confirm_microdeposits_failure":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message","verification_status"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["us_bank_account_confirm_microdeposits_failure"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["verification_attempt_failed"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"},"verification_status":{"type":"string","description":"Closed Enum. The verification status of the bank account associated with this error.","enum":["awaiting_verification","unverified","verification_failed","verified"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Verification of the bank account has been initiated and requires further action to be completed.","value":"awaiting_verification"},{"description":"The bank account is unverified.","value":"unverified"},{"description":"Verification of the bank account has failed.","value":"verification_failed"},{"description":"The bank account is verified.","value":"verified"}]}}},"description":"Information about the error that occurred"}},"description":"Returned when the wrong values were provided to confirm microdeposits.","x-stripeError":{"code":"us_bank_account_confirm_microdeposits_failure","httpStatusCode":400,"type":"verification_attempt_failed"}},"v2.error.us_bank_account_field_already_exists":{"required":["error"],"type":"object","properties":{"error":{"required":["code","invalid_field","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["us_bank_account_field_already_exists"]},"invalid_field":{"type":"string","description":"Closed Enum. The field that already exists on the resource.","enum":["fedwire_routing_number","routing_number"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Fedwire routing number field.","value":"fedwire_routing_number"},{"description":"Routing number field.","value":"routing_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":"Returned in cases where the bank account cannot be updated due to requesting\nto update a field that already exists.","x-stripeError":{"code":"us_bank_account_field_already_exists","httpStatusCode":400}},"v2.error.us_bank_account_incompatible_currency":{"required":["error"],"type":"object","properties":{"error":{"required":["code","currency","message","reason","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["us_bank_account_incompatible_currency"]},"currency":{"type":"string","description":"The currency that is incompatible with the bank account."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the currency provided is incompatible with US bank accounts.\nThis occurs when the credentials provided do not match with the currency provided.","x-stripeError":{"code":"us_bank_account_incompatible_currency","httpStatusCode":400,"type":"cannot_proceed"}},"v2.error.us_bank_account_microdeposits_cannot_be_confirmed":{"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":["us_bank_account_microdeposits_cannot_be_confirmed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["controlled_by_alternate_resource"]}},"description":"Information about the error that occurred"}},"description":"Returned when microdeposits cannot be confirmed for the US bank account in its current state.","x-stripeError":{"code":"us_bank_account_microdeposits_cannot_be_confirmed","httpStatusCode":400,"type":"controlled_by_alternate_resource"}},"v2.error.us_bank_account_microdeposits_cannot_be_sent":{"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":["us_bank_account_microdeposits_cannot_be_sent"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["controlled_by_alternate_resource"]}},"description":"Information about the error that occurred"}},"description":"Returned when microdeposits cannot be sent to the US bank account in its current state.","x-stripeError":{"code":"us_bank_account_microdeposits_cannot_be_sent","httpStatusCode":400,"type":"controlled_by_alternate_resource"}},"v2.error.us_bank_account_microdeposits_failed_to_send":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message","verification_status"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["us_bank_account_microdeposits_failed_to_send"]},"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"},"verification_status":{"type":"string","description":"Closed Enum. The verification status of the bank account associated with this error.","enum":["awaiting_verification","unverified","verification_failed","verified"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Verification of the bank account has been initiated and requires further action to be completed.","value":"awaiting_verification"},{"description":"The bank account is unverified.","value":"unverified"},{"description":"Verification of the bank account has failed.","value":"verification_failed"},{"description":"The bank account is verified.","value":"verified"}]}}},"description":"Information about the error that occurred"}},"description":"Returned when an attempt is made to confirm microdeposits before the microdeposits have been sent.","x-stripeError":{"code":"us_bank_account_microdeposits_failed_to_send","httpStatusCode":400}},"v2.error.us_bank_account_microdeposits_not_sent_before_confirming":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message","verification_status"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["us_bank_account_microdeposits_not_sent_before_confirming"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["verification_not_initiated"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"},"verification_status":{"type":"string","description":"Closed Enum. The verification status of the bank account associated with this error.","enum":["awaiting_verification","unverified","verification_failed","verified"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Verification of the bank account has been initiated and requires further action to be completed.","value":"awaiting_verification"},{"description":"The bank account is unverified.","value":"unverified"},{"description":"Verification of the bank account has failed.","value":"verification_failed"},{"description":"The bank account is verified.","value":"verified"}]}}},"description":"Information about the error that occurred"}},"description":"Returned when an attempt is made to confirm microdeposits before the microdeposits have been sent.","x-stripeError":{"code":"us_bank_account_microdeposits_not_sent_before_confirming","httpStatusCode":400,"type":"verification_not_initiated"}},"v2.error.us_bank_account_microdeposits_timed_out":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type","user_message","verification_status"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["us_bank_account_microdeposits_timed_out"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["verification_expired"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"},"verification_status":{"type":"string","description":"Closed Enum. The verification status of the bank account associated with this error.","enum":["awaiting_verification","unverified","verification_failed","verified"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Verification of the bank account has been initiated and requires further action to be completed.","value":"awaiting_verification"},{"description":"The bank account is unverified.","value":"unverified"},{"description":"Verification of the bank account has failed.","value":"verification_failed"},{"description":"The bank account is verified.","value":"verified"}]}}},"description":"Information about the error that occurred"}},"description":"Returned when an attempt to confirm microdeposits has failed because too much time has elapsed since the\nmicrodeposits were sent.","x-stripeError":{"code":"us_bank_account_microdeposits_timed_out","httpStatusCode":400,"type":"verification_expired"}},"v2.error.us_bank_account_unsupported_currency":{"required":["error"],"type":"object","properties":{"error":{"required":["code","currency","message","reason","type","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["us_bank_account_unsupported_currency"]},"currency":{"type":"string","description":"The currency that is unsupported for the bank account."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Returned in cases where the currency provided is unsupported for US bank accounts.\nThis occurs when the currency provided is not supported for US regardless of the credentials provided.","x-stripeError":{"code":"us_bank_account_unsupported_currency","httpStatusCode":400,"type":"cannot_proceed"}},"v2.error.us_bank_account_verification_failed":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message","verification_status"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["us_bank_account_verification_failed"]},"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"},"verification_status":{"type":"string","description":"Closed Enum. The verification status of the bank account associated with this error.","enum":["awaiting_verification","unverified","verification_failed","verified"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Verification of the bank account has been initiated and requires further action to be completed.","value":"awaiting_verification"},{"description":"The bank account is unverified.","value":"unverified"},{"description":"Verification of the bank account has failed.","value":"verification_failed"},{"description":"The bank account is verified.","value":"verified"}]}}},"description":"Information about the error that occurred"}},"description":"Returned when verification of a US bank account has failed, reaching a terminal failure state.","x-stripeError":{"code":"us_bank_account_verification_failed","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}},"v2.error.workflow_not_invokable":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","reason","type"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["workflow_not_invokable"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"reason":{"type":"string"},"type":{"type":"string","description":"The type of error returned","enum":["cannot_proceed"]}},"description":"Information about the error that occurred"}},"description":"The Workflow target of an invoke request is not invokable because it is not configured to have an on-demand trigger.","x-stripeError":{"code":"workflow_not_invokable","httpStatusCode":400,"type":"cannot_proceed"}},"v2.extend.workflow":{"title":"Workflow","required":["created","id","livemode","object","status","title","triggers"],"type":"object","properties":{"created":{"type":"string","description":"When the Workflow was created.","format":"date-time"},"id":{"type":"string","description":"The unique ID of the Workflow."},"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.extend.workflow"]},"status":{"type":"string","description":"Whether this Workflow is active, inactive, or in some other state. Only active Workflows may be invoked.","enum":["active","archived","draft","inactive"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Workflow is active and ready to be invoked.","value":"active"},{"description":"This Workflow has been archived, and cannot be invoked.","value":"archived"},{"description":"This Workflow has not been finalized, and cannot be invoked.","value":"draft"},{"description":"This Workflow has been saved, but is temporarily paused, and cannot be invoked.","value":"inactive"}]}},"title":{"type":"string","description":"Workflow title."},"triggers":{"type":"array","description":"Under what conditions will this Workflow launch.","items":{"required":["type"],"type":"object","properties":{"event_trigger":{"required":["events_from","type"],"type":"object","properties":{"events_from":{"type":"array","description":"Specifies which accounts' events will trigger this Workflow.","items":{"type":"string"}},"type":{"type":"string","description":"The Stripe event type that will trigger this Workflow."}},"description":"The Workflow can be launched when Stripe emits a certain event."},"manual":{"type":"object","properties":{},"description":"The Workflow can be launched through a direct call, using either the Dashboard or the Stripe API."},"type":{"type":"string","description":"Which type of trigger this is.","enum":["event_trigger","manual"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Workflow is triggerable through a Stripe-generated event.","value":"event_trigger"},{"description":"This Workflow is triggerable by invoking it through the Dashboard or the API.","value":"manual"}]}}}}}},"description":"A Stripe Workflow is a sequence of actions, like Stripe API calls, that are taken in response to an initiating trigger.\nA trigger can be a Stripe API event, or a manual invocation.","example":{"id":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","object":"v2.extend.workflow","created":"2026-03-24T16:57:16.660Z","livemode":false,"status":"active","title":"Cancel unpaid invoices","triggers":[{"manual":{},"type":"manual"}]},"x-resourceId":"v2.extend.workflow","x-stableId":"v2_resource_workflow","x-stripeDocsSamples":[{"response":{"id":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","object":"v2.extend.workflow","created":"2026-03-24T16:57:16.660Z","livemode":false,"status":"active","title":"Cancel unpaid invoices","triggers":[{"manual":{},"type":"manual"}]}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/extend/workflows"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/extend/workflows/{id}"},{"method_name":"invoke","method_on":"service","method_type":"custom","operation":"post","path":"/v2/extend/workflows/{id}/invoke"}],"x-stripeResource":{"class_name":"Workflow","in_package":"v2.extend"}},"v2.extend.workflow_run":{"title":"Workflow Run","required":["created","id","livemode","object","status","status_transitions","trigger","workflow"],"type":"object","properties":{"created":{"type":"string","description":"When the Workflow Run was created.","format":"date-time"},"id":{"type":"string","description":"The unique ID of the Workflow Run."},"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.extend.workflow_run"]},"status":{"type":"string","description":"The current Workflow Run execution status.","enum":["failed","started","succeeded"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Workflow Run has terminated because of a failure.","value":"failed"},{"description":"This Workflow Run is actively executing.","value":"started"},{"description":"This Workflow Run has progressed to a successful completion.","value":"succeeded"}]}},"status_details":{"type":"object","properties":{"failed":{"type":"object","properties":{"error_message":{"type":"string","description":"Optional details about the failure result."}},"description":"Details about the Workflow Run's transition into the FAILED state."},"started":{"type":"object","properties":{},"description":"Details about the Workflow Run's transition in to the STARTED state."},"succeeded":{"type":"object","properties":{},"description":"Details about the Workflow Run's transition into the SUCCEEDED state."}},"description":"Details about the Workflow Run's status transitions."},"status_transitions":{"type":"object","properties":{"failed_at":{"type":"string","description":"When the Workflow Run failed.","format":"date-time"},"started_at":{"type":"string","description":"When the Workflow Run was started.","format":"date-time"},"succeeded_at":{"type":"string","description":"When the Workflow Run succeeded.","format":"date-time"}},"description":"Summary information about the Workflow Run's status transitions."},"trigger":{"required":["type"],"type":"object","properties":{"event_trigger":{"required":["context","id","type"],"type":"object","properties":{"context":{"type":"string","description":"The account that generated the triggering event.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}},"id":{"type":"string","description":"The Stripe event that triggered this Run.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.event"}}},"type":{"type":"string","description":"The Stripe event type triggered this Run."}},"description":"The Workflow Run was launched when Stripe emitted a certain event."},"manual":{"required":["input_parameters"],"type":"object","properties":{"input_parameters":{"type":"object","additionalProperties":true,"description":"The input parameters used when launching the Run."}},"description":"The Workflow Run was launched through a direct call, using either the Dashboard or the Stripe API."},"type":{"type":"string","description":"Which type of trigger this is.","enum":["event_trigger","manual"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Workflow is triggerable through a Stripe-generated event.","value":"event_trigger"},{"description":"This Workflow is triggerable by invoking it through the Dashboard or the API.","value":"manual"}]}}},"description":"A record of the trigger that launched this Workflow Run."},"workflow":{"type":"string","description":"The Workflow this Run belongs to.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.extend.workflow"}}}},"description":"An execution of a Workflow in response to a triggering event.","example":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","object":"v2.extend.workflow_run","created":"2026-04-08T14:33:27.076Z","status":"succeeded","status_details":{"failed":null,"started":{},"succeeded":{}},"status_transitions":{"failed_at":null,"started_at":"2026-04-08T14:33:27.335Z","succeeded_at":"2026-04-08T14:33:29.177Z"},"trigger":{"event_trigger":{"id":"evt_1TJxAYHa3TtWqyXkmZHWuTlk","context":"acct_1Nv0FGQ9RKHgCVdK","type":"customer.created"},"type":"event_trigger"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false},"x-resourceId":"v2.extend.workflow_run","x-stableId":"v2_resource_workflow_run","x-stripeDocsSamples":[{"response":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","object":"v2.extend.workflow_run","created":"2026-04-08T14:33:27.076Z","status":"succeeded","status_details":{"failed":null,"started":{},"succeeded":{}},"status_transitions":{"failed_at":null,"started_at":"2026-04-08T14:33:27.335Z","succeeded_at":"2026-04-08T14:33:29.177Z"},"trigger":{"event_trigger":{"id":"evt_1TJxAYHa3TtWqyXkmZHWuTlk","context":"acct_1Nv0FGQ9RKHgCVdK","type":"customer.created"},"type":"event_trigger"},"workflow":"wf_test_61UNwDso5RkJhsXt116TT0rUFzSQLefl99yAJBArIFXc","livemode":false}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/extend/workflow_runs"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/extend/workflow_runs/{id}"}],"x-stripeResource":{"class_name":"WorkflowRun","in_package":"v2.extend"}},"v2.extend.workflow_run.failed":{"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":["dashboard_url","failure_details"],"type":"object","properties":{"dashboard_url":{"type":"string","description":"A Stripe dashboard URL with more information about the Workflow Run failure."},"failure_details":{"type":"object","properties":{"error_message":{"type":"string","description":"Optional details about the failure result."}},"description":"Details about the Workflow Run's transition into the FAILED state."}},"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":{"kind":"open","values":[{"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.extend.workflow_run"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.extend.workflow_run.failed"]}},"description":"Occurs when a Workflow Run fails.","example":{"id":"evt_65UTLACxkT3aeboE6lz16To4EU0OE9bUbuRHLySF4nAfg","object":"v2.core.event","changes":null,"context":null,"created":"2026-04-08T14:35:12.894Z","data":{"dashboard_url":"https://dashboard.stripe.com/test/workflows/runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","failure_details":{"error_message":"During API call to stripe.api_call_post_v1_customers: Field \"name\" is required."}},"reason":null,"related_object":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","type":"v2.extend.workflow_run","url":"/v2/extend/workflow_runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"},"type":"v2.extend.workflow_run.failed","livemode":false},"x-stableId":"v2.extend.workflow_run.failed","x-stripeDocsSamples":[{"payload":{"id":"evt_65UTLACxkT3aeboE6lz16To4EU0OE9bUbuRHLySF4nAfg","object":"v2.core.event","type":"v2.extend.workflow_run.failed","livemode":false,"created":"2026-04-08T14:35:12.894571327Z","related_object":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","type":"v2.extend.workflow_run","url":"/v2/extend/workflow_runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"}},"response":{"id":"evt_65UTLACxkT3aeboE6lz16To4EU0OE9bUbuRHLySF4nAfg","object":"v2.core.event","changes":null,"context":null,"created":"2026-04-08T14:35:12.894Z","data":{"dashboard_url":"https://dashboard.stripe.com/test/workflows/runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","failure_details":{"error_message":"During API call to stripe.api_call_post_v1_customers: Field \"name\" is required."}},"reason":null,"related_object":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","type":"v2.extend.workflow_run","url":"/v2/extend/workflow_runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"},"type":"v2.extend.workflow_run.failed","livemode":false}}],"x-stripeEvent":{"kind":"thin","type":"v2.extend.workflow_run.failed"},"x-stripeNotPublic":true},"v2.extend.workflow_run.started":{"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":{"kind":"open","values":[{"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.extend.workflow_run"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.extend.workflow_run.started"]}},"description":"Occurs when a Workflow Run starts.","example":{"id":"evt_65UTL8AxkT3aeboE6lz16To4EU0OE9bUbuRHLySF4nAbc","object":"v2.core.event","changes":null,"context":null,"created":"2026-04-08T14:33:27.335Z","data":{},"reason":null,"related_object":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","type":"v2.extend.workflow_run","url":"/v2/extend/workflow_runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"},"type":"v2.extend.workflow_run.started","livemode":false},"x-stableId":"v2.extend.workflow_run.started","x-stripeDocsSamples":[{"payload":{"id":"evt_65UTL8AxkT3aeboE6lz16To4EU0OE9bUbuRHLySF4nAbc","object":"v2.core.event","type":"v2.extend.workflow_run.started","livemode":false,"created":"2026-04-08T14:33:27.335217846Z","related_object":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","type":"v2.extend.workflow_run","url":"/v2/extend/workflow_runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"}},"response":{"id":"evt_65UTL8AxkT3aeboE6lz16To4EU0OE9bUbuRHLySF4nAbc","object":"v2.core.event","changes":null,"context":null,"created":"2026-04-08T14:33:27.335Z","data":{},"reason":null,"related_object":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","type":"v2.extend.workflow_run","url":"/v2/extend/workflow_runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"},"type":"v2.extend.workflow_run.started","livemode":false}}],"x-stripeEvent":{"kind":"thin","type":"v2.extend.workflow_run.started"},"x-stripeNotPublic":true},"v2.extend.workflow_run.succeeded":{"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":{"kind":"open","values":[{"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.extend.workflow_run"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.extend.workflow_run.succeeded"]}},"description":"Occurs when a Workflow Run succeeds.","example":{"id":"evt_65UTL9BxkT3aeboE6lz16To4EU0OE9bUbuRHLySF4nAde","object":"v2.core.event","changes":null,"context":null,"created":"2026-04-08T14:33:29.177Z","data":{},"reason":null,"related_object":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","type":"v2.extend.workflow_run","url":"/v2/extend/workflow_runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"},"type":"v2.extend.workflow_run.succeeded","livemode":false},"x-stableId":"v2.extend.workflow_run.succeeded","x-stripeDocsSamples":[{"payload":{"id":"evt_65UTL9BxkT3aeboE6lz16To4EU0OE9bUbuRHLySF4nAde","object":"v2.core.event","type":"v2.extend.workflow_run.succeeded","livemode":false,"created":"2026-04-08T14:33:29.177482193Z","related_object":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","type":"v2.extend.workflow_run","url":"/v2/extend/workflow_runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"}},"response":{"id":"evt_65UTL9BxkT3aeboE6lz16To4EU0OE9bUbuRHLySF4nAde","object":"v2.core.event","changes":null,"context":null,"created":"2026-04-08T14:33:29.177Z","data":{},"reason":null,"related_object":{"id":"wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo","type":"v2.extend.workflow_run","url":"/v2/extend/workflow_runs/wfrun_test_61UTL7vuMHzp5fHTd16TT0rUFzSQLefl99yAJBArITFo"},"type":"v2.extend.workflow_run.succeeded","livemode":false}}],"x-stripeEvent":{"kind":"thin","type":"v2.extend.workflow_run.succeeded"},"x-stripeNotPublic":true},"v2.iam.activity_log":{"title":"Activity Log","required":["actor","context","created","details","id","livemode","object","type"],"type":"object","properties":{"actor":{"required":["type"],"type":"object","properties":{"api_key":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the API key."}},"description":"Set when the actor is an API key."},"type":{"type":"string","description":"The type of actor.","enum":["api_key","stripe_action","user"],"x-stripeEnum":{"kind":"closed","values":[{"description":"An API key actor.","value":"api_key"},{"description":"A Stripe action actor, used when a Stripe system or support performs the action.","value":"stripe_action"},{"description":"A user actor.","value":"user"}]}},"user":{"required":["email"],"type":"object","properties":{"email":{"type":"string","description":"Email address of the user."}},"description":"Set when the actor is a user."}},"description":"The actor that performed the action."},"context":{"type":"string","description":"The account on which the action was performed."},"created":{"type":"string","description":"Timestamp when the activity log entry was created.","format":"date-time"},"details":{"required":["type"],"type":"object","properties":{"account_security":{"type":"object","properties":{"new_anomaly_settings":{"type":"object","properties":{"dormant_api_key_protection_enabled":{"type":"boolean","description":"Whether dormant API key protection is enabled."},"money_movement_anomaly_detection_enabled":{"type":"boolean","description":"Whether money movement anomaly detection is enabled."},"request_level_anomaly_detection_enabled":{"type":"boolean","description":"Whether request-level anomaly detection is enabled."}},"description":"Anomaly detection settings after the change."},"old_anomaly_settings":{"type":"object","properties":{"dormant_api_key_protection_enabled":{"type":"boolean","description":"Whether dormant API key protection is enabled."},"money_movement_anomaly_detection_enabled":{"type":"boolean","description":"Whether money movement anomaly detection is enabled."},"request_level_anomaly_detection_enabled":{"type":"boolean","description":"Whether request-level anomaly detection is enabled."}},"description":"Anomaly detection settings before the change."}},"description":"Details of an account security action."},"api_key":{"required":["created","id","ip_allowlist","type"],"type":"object","properties":{"created":{"type":"string","description":"Timestamp when the API key was created.","format":"date-time"},"expires_at":{"type":"string","description":"Timestamp when the API key expires.","format":"date-time"},"id":{"type":"string","description":"Unique identifier of the API key."},"ip_allowlist":{"type":"array","description":"List of IP addresses allowed to use this API key.","items":{"type":"string"}},"managed_by":{"required":["type"],"type":"object","properties":{"application":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Identifier of the application."}},"description":"An application."},"type":{"type":"string","description":"The type of entity.","enum":["application"],"x-stripeEnum":{"kind":"open","values":[{"description":"Application.","value":"application"}]}}},"description":"Information about the entity managing this API key."},"name":{"type":"string","description":"Name of the API key."},"new_key":{"type":"string","description":"Unique identifier of the new API key, set when this key was rotated."},"note":{"type":"string","description":"Note or description for the API key."},"type":{"type":"string","description":"Type of the API key.","enum":["publishable_key","secret_key"],"x-stripeEnum":{"kind":"closed","values":[{"description":"A publishable API key.","value":"publishable_key"},{"description":"A secret API key.","value":"secret_key"}]}}},"description":"Details of an API key action."},"authentication":{"type":"object","properties":{"backup_email":{"type":"string","description":"Backup email address involved in the authentication."},"challenge_type":{"type":"string","description":"Type of challenge used for the authentication.","enum":["external_account_code","oauth","previous_account_number","reverse_sms","sms","stripe_identity","totp","webauthn"],"x-stripeEnum":{"kind":"open","values":[{"description":"Verification using an external account code.","value":"external_account_code"},{"description":"Verification using OAuth.","value":"oauth"},{"description":"Verification using a previously used account number.","value":"previous_account_number"},{"description":"Verification using a reverse SMS challenge.","value":"reverse_sms"},{"description":"Verification using an SMS code.","value":"sms"},{"description":"Verification using Stripe Identity.","value":"stripe_identity"},{"description":"Verification using a TOTP authenticator app.","value":"totp"},{"description":"Verification using a WebAuthn credential.","value":"webauthn"}]}},"surface":{"type":"string","description":"Surface where the authentication occurred.","enum":["dashboard","express"],"x-stripeEnum":{"kind":"open","values":[{"description":"Stripe Dashboard.","value":"dashboard"},{"description":"Express Dashboard.","value":"express"}]}},"target_email":{"type":"string","description":"Target email address involved in the authentication."}},"description":"Details of an authentication action."},"scim":{"required":["group_name","new_roles","old_roles"],"type":"object","properties":{"group_name":{"type":"string","description":"Name of the SCIM group."},"new_roles":{"type":"array","description":"Group roles after the change; only set for the group roles-updated action (scim_group_roles_updated).","items":{"type":"string"}},"old_roles":{"type":"array","description":"Group roles before the change; only set for the group roles-updated action (scim_group_roles_updated).","items":{"type":"string"}},"role_assigned_context":{"type":"string","description":"The context the roles were assigned in."},"user_email":{"type":"string","description":"Email address of the affected member."}},"description":"Details of a SCIM action."},"sso":{"type":"object","properties":{"mandate":{"type":"string","description":"SSO enforcement level.","enum":["off","optional","required"],"x-stripeEnum":{"kind":"closed","values":[{"description":"SSO sign-in is off.","value":"off"},{"description":"SSO sign-in is optional.","value":"optional"},{"description":"SSO sign-in is required.","value":"required"}]}}},"description":"Details of an SSO action."},"type":{"type":"string","description":"The action group type of the activity log entry.","enum":["account_security","api_key","authentication","issuing","payout","scim","sso","user_invite","user_profile","user_roles"],"x-stripeEnum":{"kind":"open","values":[{"description":"An account security related action group.","value":"account_security"},{"description":"An API key related action group.","value":"api_key"},{"description":"An authentication related action group.","value":"authentication"},{"description":"An Issuing related action group.","value":"issuing"},{"description":"A payout related action group.","value":"payout"},{"description":"A SCIM related action group.","value":"scim"},{"description":"An SSO related action group.","value":"sso"},{"description":"A user invite related action group.","value":"user_invite"},{"description":"A user profile related action group.","value":"user_profile"},{"description":"User roles related action group.","value":"user_roles"}]}},"user_invite":{"required":["invited_user_email","roles"],"type":"object","properties":{"invited_user_email":{"type":"string","description":"Email address of the invited user."},"roles":{"type":"array","description":"Roles assigned to the invited user.","items":{"type":"string"}}},"description":"Details of a user invite action."},"user_profile":{"type":"object","properties":{"new_email":{"type":"string","description":"Email address after the change."},"new_redacted_phone_number":{"type":"string","description":"Redacted phone number after the change."},"old_email":{"type":"string","description":"Email address before the change."},"old_redacted_phone_number":{"type":"string","description":"Redacted phone number before the change."}},"description":"Details of a user profile action."},"user_roles":{"required":["new_roles","old_roles","source","user_email"],"type":"object","properties":{"new_roles":{"type":"array","description":"Roles the user has after the change.","items":{"type":"string"}},"old_roles":{"type":"array","description":"Roles the user had before the change.","items":{"type":"string"}},"source":{"type":"string","description":"Source of the role change.","enum":["dashboard","scim","sso"],"x-stripeEnum":{"kind":"open","values":[{"description":"The role change originated from the dashboard.","value":"dashboard"},{"description":"The role change originated from SCIM.","value":"scim"},{"description":"The role change originated from SSO.","value":"sso"}]}},"user_email":{"type":"string","description":"Email address of the user whose roles were changed."}},"description":"Details of a user role change action."}},"description":"Action-specific details of the activity log entry."},"id":{"type":"string","description":"Unique identifier of the activity log entry."},"livemode":{"type":"boolean","description":"Whether the action was performed in live 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.iam.activity_log"]},"related_object":{"required":["id","type"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the object."},"type":{"type":"string","description":"Type of the object.","enum":["balance_transfer","bank_account","blockchain_address","card","issuing.card","issuing.cardholder","issuing.dispute"],"x-stripeEnum":{"kind":"open","values":[{"description":"A balance transfer.","value":"balance_transfer"},{"description":"A bank account.","value":"bank_account"},{"description":"A blockchain address.","value":"blockchain_address"},{"description":"A card.","value":"card"},{"description":"An Issuing card.","value":"issuing.card"},{"description":"An Issuing cardholder.","value":"issuing.cardholder"},{"description":"An Issuing dispute.","value":"issuing.dispute"}]}}},"description":"The object related to the activity log entry."},"request":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request."}},"description":"The API request that instigated the action."},"type":{"type":"string","description":"The type of action that was performed.","enum":["anomaly_detection_settings_updated","api_key_created","api_key_deleted","api_key_updated","api_key_viewed","issuing_activated","issuing_balance_transfer_created","issuing_cardholder_created","issuing_cardholder_updated","issuing_card_created","issuing_card_sensitive_details_viewed","issuing_card_updated","issuing_dispute_created","issuing_dispute_submitted","issuing_dispute_updated","manual_payouts_disabled","manual_payouts_enabled","payout_destination_added","payout_destination_removed","payout_destination_updated","payout_schedule_edits_disabled","payout_schedule_edits_enabled","scim_group_deleted","scim_group_member_added","scim_group_member_removed","scim_group_roles_updated","scim_group_updated","sso_domain_verified","sso_settings_created","sso_settings_deleted","sso_settings_updated","two_step_authentication_mandate_disabled","two_step_authentication_mandate_enabled","user_auth_challenge_failed","user_email_changed","user_email_verified","user_express_phone_number_changed","user_google_account_connected","user_google_account_disconnected","user_invite_accepted","user_invite_created","user_invite_deleted","user_passkey_added","user_passkey_removed","user_passkey_updated","user_passkey_upgraded","user_password_changed","user_password_initialized","user_password_reset_failed","user_password_reset_requested","user_password_reset_succeeded","user_roles_deleted","user_roles_updated","user_two_step_authentication_backup_code_used","user_two_step_authentication_method_added","user_two_step_authentication_method_removed","user_two_step_authentication_method_reset","user_two_step_authentication_method_updated","user_two_step_authentication_reset_requested"],"x-stripeEnum":{"kind":"open","values":[{"description":"Anomaly detection settings were updated.","value":"anomaly_detection_settings_updated"},{"description":"An API key was created.","value":"api_key_created"},{"description":"An API key was deleted.","value":"api_key_deleted"},{"description":"An API key was updated.","value":"api_key_updated"},{"description":"An API key's secret was viewed.","value":"api_key_viewed"},{"description":"Issuing was activated for the account.","value":"issuing_activated"},{"description":"An Issuing balance transfer was created to move funds between balances.","value":"issuing_balance_transfer_created"},{"description":"An Issuing cardholder was created.","value":"issuing_cardholder_created"},{"description":"An Issuing cardholder was updated.","value":"issuing_cardholder_updated"},{"description":"An Issuing card was created.","value":"issuing_card_created"},{"description":"An Issuing card's sensitive details (card number, CVC, or PIN) were viewed.","value":"issuing_card_sensitive_details_viewed"},{"description":"An Issuing card was updated.","value":"issuing_card_updated"},{"description":"An Issuing dispute was created.","value":"issuing_dispute_created"},{"description":"An Issuing dispute was submitted for review.","value":"issuing_dispute_submitted"},{"description":"An Issuing dispute was updated.","value":"issuing_dispute_updated"},{"description":"The Connect platform disabled the connected account's ability to create manual payouts.","value":"manual_payouts_disabled"},{"description":"The Connect platform enabled the connected account's ability to create manual payouts.","value":"manual_payouts_enabled"},{"description":"A payout destination was added.","value":"payout_destination_added"},{"description":"A payout destination was removed.","value":"payout_destination_removed"},{"description":"A payout destination was updated.","value":"payout_destination_updated"},{"description":"The Connect platform disabled the connected account's ability to edit its payout schedule.","value":"payout_schedule_edits_disabled"},{"description":"The Connect platform enabled the connected account's ability to edit its payout schedule.","value":"payout_schedule_edits_enabled"},{"description":"A SCIM group was deleted.","value":"scim_group_deleted"},{"description":"A member was added to a SCIM group.","value":"scim_group_member_added"},{"description":"A member was removed from a SCIM group.","value":"scim_group_member_removed"},{"description":"Roles for a SCIM group were changed.","value":"scim_group_roles_updated"},{"description":"A SCIM group's details were updated.","value":"scim_group_updated"},{"description":"A domain was verified for SSO.","value":"sso_domain_verified"},{"description":"SSO (SAML) was configured for the account.","value":"sso_settings_created"},{"description":"SSO (SAML) configuration was removed.","value":"sso_settings_deleted"},{"description":"SSO (SAML) settings were updated.","value":"sso_settings_updated"},{"description":"A two-step authentication requirement was disabled.","value":"two_step_authentication_mandate_disabled"},{"description":"A two-step authentication requirement was enabled.","value":"two_step_authentication_mandate_enabled"},{"description":"An identity verification challenge failed.","value":"user_auth_challenge_failed"},{"description":"A user changed their email address.","value":"user_email_changed"},{"description":"A user verified their email address.","value":"user_email_verified"},{"description":"A user changed the phone number on their Express account.","value":"user_express_phone_number_changed"},{"description":"A user connected a Google account for sign-in.","value":"user_google_account_connected"},{"description":"A user disconnected their Google account.","value":"user_google_account_disconnected"},{"description":"A user invite was accepted.","value":"user_invite_accepted"},{"description":"A user invite was created.","value":"user_invite_created"},{"description":"A user invite was deleted.","value":"user_invite_deleted"},{"description":"The user registered a passkey.","value":"user_passkey_added"},{"description":"The user removed a passkey.","value":"user_passkey_removed"},{"description":"The user renamed a passkey.","value":"user_passkey_updated"},{"description":"The user upgraded a device to a passkey.","value":"user_passkey_upgraded"},{"description":"The user changed their account password.","value":"user_password_changed"},{"description":"The user set a password on their account.","value":"user_password_initialized"},{"description":"A password reset attempt failed due to an invalid one-time code.","value":"user_password_reset_failed"},{"description":"A password reset was requested for the user.","value":"user_password_reset_requested"},{"description":"The user successfully reset their password.","value":"user_password_reset_succeeded"},{"description":"A user's roles were deleted.","value":"user_roles_deleted"},{"description":"A user's roles were updated.","value":"user_roles_updated"},{"description":"The user used an emergency backup code to disable two-step authentication.","value":"user_two_step_authentication_backup_code_used"},{"description":"The user added a two-step authentication method.","value":"user_two_step_authentication_method_added"},{"description":"A two-step authentication method was removed from the account.","value":"user_two_step_authentication_method_removed"},{"description":"A two-step authentication method was reset.","value":"user_two_step_authentication_method_reset"},{"description":"The user updated an existing two-step authentication method.","value":"user_two_step_authentication_method_updated"},{"description":"An account admin requested a two-step authentication reset for another user.","value":"user_two_step_authentication_reset_requested"}]}}},"description":"An activity log records a single action performed on an account.","example":{"id":"accact_1SdeybAiQNL8swvtMHyVtfCU","object":"v2.iam.activity_log","created":"2026-04-01T00:00:00.000Z","type":"api_key_created","livemode":true,"context":"acct_1SdeybAiQNL8swvt","actor":{"type":"user","user":{"email":"user@example.com"}},"details":{"type":"api_key","api_key":{"id":"mk_1SdeybAiQNL8swvtMHyVtfCU","created":"2026-04-01T00:00:00.000Z","type":"secret_key","name":"My API Key","note":"","expires_at":null,"ip_allowlist":[],"new_key":null,"managed_by":null}}},"x-resourceId":"v2.iam.activity_log","x-stableId":"v2_resource_activity_log","x-stripeDocsSamples":[{"response":{"id":"accact_1SdeybAiQNL8swvtMHyVtfCU","object":"v2.iam.activity_log","created":"2026-04-01T00:00:00.000Z","type":"api_key_created","livemode":true,"context":"acct_1SdeybAiQNL8swvt","actor":{"type":"user","user":{"email":"user@example.com"}},"details":{"type":"api_key","api_key":{"id":"mk_1SdeybAiQNL8swvtMHyVtfCU","created":"2026-04-01T00:00:00.000Z","type":"secret_key","name":"My API Key","note":"","expires_at":null,"ip_allowlist":[],"new_key":null,"managed_by":null}}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/iam/activity_logs"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/iam/activity_logs/{id}"}],"x-stripeResource":{"class_name":"ActivityLog","in_package":"v2.iam"}},"v2.money_management.adjustment":{"title":"Adjustment","required":["amount","created","financial_account","id","livemode","object"],"type":"object","properties":{"adjusted_flow":{"required":["type"],"type":"object","properties":{"adjustment":{"type":"string","description":"If applicable, the ID of the Adjustment linked to this Adjustment."},"inbound_transfer":{"type":"string","description":"If applicable, the ID of the InboundTransfer linked to this Adjustment."},"outbound_payment":{"type":"string","description":"If applicable, the ID of the OutboundPayment linked to this Adjustment."},"outbound_transfer":{"type":"string","description":"If applicable, the ID of the OutboundTransfer linked to this Adjustment."},"received_credit":{"type":"string","description":"If applicable, the ID of the ReceivedCredit linked to this Adjustment."},"received_debit":{"type":"string","description":"If applicable, the ID of the ReceivedDebit linked to this Adjustment."},"type":{"type":"string","description":"Open Enum. If applicable, the type of flow linked to this Adjustment. The field matching this value will contain the ID of the flow.","enum":["adjustment","balance_exchange","inbound_payment","inbound_transfer","outbound_payment","outbound_transfer","received_credit","received_debit"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Adjustment adjusts an Adjustment.","value":"adjustment"},{"description":"This Adjustment adjusts a BalanceExchange.","value":"balance_exchange"},{"description":"This Adjustment adjusts an InboundPayment.","value":"inbound_payment"},{"description":"This Adjustment adjusts an InboundTransfer.","value":"inbound_transfer"},{"description":"This Adjustment adjusts an OutboundPayment.","value":"outbound_payment"},{"description":"This Adjustment adjusts an OutboundTransfer.","value":"outbound_transfer"},{"description":"This Adjustment adjusts a ReceivedCredit.","value":"received_credit"},{"description":"This Adjustment adjusts a ReceivedDebit.","value":"received_debit"}]}}},"description":"If applicable, contains information about the original flow linked to this Adjustment."},"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":"The amount of the Adjustment."},"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"},"description":{"type":"string","description":"Description of the Adjustment and what it was used for."},"financial_account":{"type":"string","description":"The FinancialAccount that this adjustment is for.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}},"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."},"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.money_management.adjustment"]},"receipt_url":{"type":"string","description":"A link to the Stripe-hosted receipt that is provided when money movement is considered regulated under Stripe’s money transmission licenses. The receipt link remains active for 60 days from the Adjustment creation date. After this period, the link will expire and the receipt url value will be null."}},"description":"Adjustments represent Stripe-initiated credits or debits to a user balance. They might be used to amend balances due to technical or operational error.","example":{"id":"adj_65Pj770ytFhPwgkQg0116Pj6mS0dSQaN2JL1S0NhRweDjE","object":"v2.money_management.adjustment","adjusted_flow":{"outbound_payment":"obp_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","type":"outbound_payment"},"amount":{"value":100,"currency":"usd"},"created":"2024-01-18T00:08:23.488Z","description":"Stripe credit","financial_account":"fa_65Pj6mdWMT1K5pw0kSK16Pj6mS0dSQaN2JL1S0NhRweTZY","livemode":true,"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZQT1FKUzdSU1FzMnFGVDFJektXSXlHKJOXtLYGMgZkVRf7VbI6SJRp7IPsVDBFSlQo5pcqfVA-rhUM1vwykiziz5767yzBhMdFWTHS31y9b_jVoQGdDDSkdFA0I4n9rtJL0tv1zeOu5hRHAW76vP"},"x-resourceId":"v2.money_management.adjustment","x-stableId":"v2_resource_adjustment","x-stripeDocsSamples":[{"response":{"id":"adj_65Pj770ytFhPwgkQg0116Pj6mS0dSQaN2JL1S0NhRweDjE","object":"v2.money_management.adjustment","adjusted_flow":{"outbound_payment":"obp_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","type":"outbound_payment"},"amount":{"value":100,"currency":"usd"},"created":"2024-01-18T00:08:23.488Z","description":"Stripe credit","financial_account":"fa_65Pj6mdWMT1K5pw0kSK16Pj6mS0dSQaN2JL1S0NhRweTZY","livemode":true,"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZQT1FKUzdSU1FzMnFGVDFJektXSXlHKJOXtLYGMgZkVRf7VbI6SJRp7IPsVDBFSlQo5pcqfVA-rhUM1vwykiziz5767yzBhMdFWTHS31y9b_jVoQGdDDSkdFA0I4n9rtJL0tv1zeOu5hRHAW76vP"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/adjustments"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/adjustments/{id}"}],"x-stripeResource":{"class_name":"Adjustment","in_package":"v2.money_management"}},"v2.money_management.adjustment.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 [Adjustment](https://docs.stripe.com/api/v2/money-management/adjustments/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":{"kind":"open","values":[{"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.money_management.adjustment"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.adjustment.created"]}},"description":"Occurs when an Adjustment is created.","example":{"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":"adj_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.adjustment","url":"/v2/money_management/adjustments/adj_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.adjustment.created","livemode":true,"changes":{},"data":{}},"x-stableId":"v2.money_management.adjustment.created","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":"adj_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.adjustment","url":"/v2/money_management/adjustments/adj_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.adjustment.created","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":"adj_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.adjustment","url":"/v2/money_management/adjustments/adj_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.adjustment.created","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.adjustment.created"},"x-stripeNotPublic":true},"v2.money_management.financial_account":{"title":"Financial Account","required":["balance","country","created","id","livemode","object","status","type"],"type":"object","properties":{"balance":{"required":["available","inbound_pending","outbound_pending"],"type":"object","properties":{"available":{"type":"object","additionalProperties":{"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":"Balance that can be used for money movement."},"inbound_pending":{"type":"object","additionalProperties":{"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":"Balance of inbound funds that will later transition to the `available` balance."},"outbound_pending":{"type":"object","additionalProperties":{"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":"Balance of funds that are being used for a pending outbound money movement."}},"description":"Multi-currency balance of this FinancialAccount, split by availability state. Each balance is represented as a hash where the key is the three-letter ISO currency code, in lowercase, and the value is the amount for that currency."},"country":{"type":"string","description":"Open Enum. Two-letter country code that represents the country where the LegalEntity associated with the FinancialAccount is based in."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"display_name":{"type":"string","description":"A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components."},"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 associated with the FinancialAccount."},"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.money_management.financial_account"]},"other":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of the FinancialAccount, represented as a string. Upgrade your API version to see the type reflected in `financial_account.type`."}},"description":"If this is a `other` FinancialAccount, this hash indicates what the actual type is. Upgrade your API version to see it reflected in `type`."},"status":{"type":"string","description":"Closed Enum. An enum representing the status of the FinancialAccount. This indicates whether or not the FinancialAccount can be used for any money movement flows.","enum":["closed","open","pending"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The FinancialAccount is closed and cannot be used anymore.","value":"closed"},{"description":"The FinancialAccount is open and available for use.","value":"open"},{"description":"The FinancialAccount was created and is in the process of being opened.","value":"pending"}]}},"status_details":{"type":"object","properties":{"closed":{"required":["reason"],"type":"object","properties":{"forwarding_settings":{"type":"object","properties":{"payment_method":{"type":"string","description":"The address to send forwarded payments to."},"payout_method":{"type":"string","description":"The address to send forwarded payouts to."}},"description":"The forwarding settings for the closed FinancialAccount."},"reason":{"type":"string","description":"The reason the FinancialAccount was closed.","enum":["account_closed","closed_by_platform","other"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The FinancialAccount is closed by stripe","value":"account_closed"},{"description":"The FinancialAccount is closed by platform","value":"closed_by_platform"},{"value":"other"}]}}},"description":"Details related to the closed state of the FinancialAccount."}},"description":"Additional details related to the status of the FinancialAccount.","x-stripeNotPublic":true},"storage":{"required":["holds_currencies"],"type":"object","properties":{"deposit_insurance_eligibility":{"type":"array","description":"Array of eligibility objects, segmented by bank name and deposit insurance scheme.","items":{"required":["bank_name","currencies","type"],"type":"object","properties":{"bank_name":{"type":"string","description":"The bank where funds are stored.","enum":["fifth_third"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fifth Third Bank.","value":"fifth_third"}]}},"currencies":{"type":"array","description":"Currencies eligible for deposit insurance at this bank under this scheme.","items":{"type":"string"}},"type":{"type":"string","description":"The deposit insurance scheme.","enum":["fdic","fdic_passthrough"],"x-stripeEnum":{"kind":"open","values":[{"description":"The funds are held in a Demand Deposit Account (DDA) structure.","value":"fdic"},{"description":"The funds are held in a For Benefit Of (FBO) structure.","value":"fdic_passthrough"}]}}}}},"holds_currencies":{"type":"array","description":"The currencies that this FinancialAccount can hold.","items":{"type":"string"}}},"description":"If this is a `storage` FinancialAccount, this hash includes details specific to `storage` FinancialAccounts."},"type":{"type":"string","description":"Type of the FinancialAccount. An additional hash is included on the FinancialAccount with a name matching this value.\nIt contains additional information specific to the FinancialAccount type.","enum":["other","storage"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The API version used does not support the FinancialAccount's type.","value":"other"},{"description":"Used for the long term storage of funds and sending those funds to others.","value":"storage"}]}}},"description":"A FinancialAccount represents a balance and can be used as the source or destination for the money management (`/v2/money_management`) APIs.","example":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2023-02-24T22:48:56.363Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"status":"open","storage":{"holds_currencies":["usd"]},"type":"storage"},"x-resourceId":"v2.money_management.financial_account","x-stableId":"v2_resource_financial_account","x-stripeDocsSamples":[{"response":{"id":"fa_65NvTFNdpXXUx1kx1rB16NoTesLDSQ1IgNPigisRKq09iq","object":"v2.money_management.financial_account","balance":{"available":{"usd":{"value":0,"currency":"usd"}},"inbound_pending":{"usd":{"value":0,"currency":"usd"}},"outbound_pending":{"usd":{"value":0,"currency":"usd"}}},"country":"US","created":"2023-02-24T22:48:56.363Z","display_name":"Sample FinancialAccount","livemode":true,"metadata":null,"status":"open","storage":{"holds_currencies":["usd"]},"type":"storage"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/financial_accounts"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/money_management/financial_accounts"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/financial_accounts/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/money_management/financial_accounts/{id}"},{"method_name":"close","method_on":"service","method_type":"custom","operation":"post","path":"/v2/money_management/financial_accounts/{id}/close"}],"x-stripeResource":{"class_name":"FinancialAccount","in_package":"v2.money_management"}},"v2.money_management.financial_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 [Financial Account](https://docs.stripe.com/api/v2/money-management/financial-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":{"kind":"open","values":[{"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.money_management.financial_account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.financial_account.created"]}},"description":"Occurs when a FinancialAccount is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.financial_account","url":"/v2/money_management/financial_accounts/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.financial_account.created","changes":{},"data":{}},"x-stableId":"v2.money_management.financial_account.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.financial_account","url":"/v2/money_management/financial_accounts/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.financial_account.created"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.financial_account","url":"/v2/money_management/financial_accounts/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.financial_account.created","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.financial_account.created"},"x-stripeNotPublic":true},"v2.money_management.financial_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 [Financial Account](https://docs.stripe.com/api/v2/money-management/financial-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":{"kind":"open","values":[{"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.money_management.financial_account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.financial_account.updated"]}},"description":"Occurs when a FinancialAccount is updated.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_12RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v12sAB2aV6o01RdTN","idempotency_key":"fe21992d-e123-3f8c-bc90-abc93712bcb2"}},"related_object":{"id":"fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcSabc","type":"v2.money_management.financial_account","url":"/v2/money_management/financial_accounts/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcSabc"},"type":"v2.money_management.financial_account.updated","livemode":true,"changes":{},"data":{}},"x-stableId":"v2.money_management.financial_account.updated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_12RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v12sAB2aV6o01RdTN","idempotency_key":"fe21992d-e123-3f8c-bc90-abc93712bcb2"}},"related_object":{"id":"fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcSabc","type":"v2.money_management.financial_account","url":"/v2/money_management/financial_accounts/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcSabc"},"type":"v2.money_management.financial_account.updated","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_12RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v12sAB2aV6o01RdTN","idempotency_key":"fe21992d-e123-3f8c-bc90-abc93712bcb2"}},"related_object":{"id":"fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcSabc","type":"v2.money_management.financial_account","url":"/v2/money_management/financial_accounts/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcSabc"},"type":"v2.money_management.financial_account.updated","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.financial_account.updated"},"x-stripeNotPublic":true},"v2.money_management.financial_address":{"title":"Financial Address","required":["created","financial_account","id","livemode","object","status","type"],"type":"object","properties":{"bank_account":{"required":["currency","type"],"type":"object","properties":{"aba":{"required":["last4","routing_number"],"type":"object","properties":{"account_holder_address":{"required":["city","country","line1","line2","postal_code","state","town"],"type":"object","properties":{"city":{"type":"string","description":"City."},"country":{"type":"string","description":"Country."},"line1":{"type":"string","description":"Address line 1."},"line2":{"type":"string","description":"Address line 2."},"postal_code":{"type":"string","description":"Postal code."},"state":{"type":"string","description":"State or province."},"town":{"type":"string","description":"Town or suburb."}},"description":"The address of the account holder."},"account_holder_name":{"type":"string","description":"The name of the account holder."},"account_number":{"type":"string","description":"The full account number."},"bank_name":{"type":"string","description":"The name of the bank."},"last4":{"type":"string","description":"The last four digits of the account number."},"routing_number":{"type":"string","description":"The ABA routing number."}},"description":"ABA bank account details (US)."},"country":{"type":"string","description":"The country of the bank account."},"currency":{"type":"string","description":"Open Enum. The currency of the bank account."},"iban":{"required":["account_holder_name","bank_name","country","last4"],"type":"object","properties":{"account_holder_name":{"type":"string","description":"The name of the account holder."},"bank_name":{"type":"string","description":"The name of the bank."},"country":{"type":"string","description":"The country of the bank account."},"iban":{"type":"string","description":"The full IBAN."},"last4":{"type":"string","description":"The last four digits of the IBAN."}},"description":"IBAN bank account details."},"sort_code":{"required":["account_holder_name","last4","sort_code"],"type":"object","properties":{"account_holder_name":{"type":"string","description":"The name of the account holder."},"account_number":{"type":"string","description":"The full account number."},"last4":{"type":"string","description":"The last four digits of the account number."},"sort_code":{"type":"string","description":"The sort code."}},"description":"Sort code bank account details (UK)."},"type":{"type":"string","description":"Open Enum. The type of bank account details.","enum":["aba","iban","sort_code"],"x-stripeEnum":{"kind":"open","values":[{"description":"US ABA routing number and account number.","value":"aba"},{"description":"International Bank Account Number (IBAN).","value":"iban"},{"description":"UK sort code and account number.","value":"sort_code"}]}}},"description":"Bank account details for this FinancialAddress."},"created":{"type":"string","description":"The creation timestamp of the FinancialAddress.","format":"date-time"},"financial_account":{"type":"string","description":"The ID of the FinancialAccount this FinancialAddress corresponds to.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}},"id":{"type":"string","description":"The ID of the FinancialAddress."},"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.money_management.financial_address"]},"settlement_currency":{"type":"string","description":"Open Enum. The currency the FinancialAddress settles into the FinancialAccount."},"status":{"type":"string","description":"Closed Enum. The status of the FinancialAddress.","enum":["active","archived","failed","pending"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The Financial Address is active.","value":"active"},{"description":"The Financial Address is archived, it cannot be used anymore.","value":"archived"},{"description":"The Financial Address creation failed.","value":"failed"},{"description":"The Financial Address is being created.","value":"pending"}]}},"type":{"type":"string","description":"Open Enum. The type of FinancialAddress.","enum":["bank_account"],"x-stripeEnum":{"kind":"open","values":[{"description":"A bank account FinancialAddress.","value":"bank_account"}]}}},"description":"A FinancialAddress contains information needed to transfer money to a Financial Account. A Financial Account can have more than one Financial Address.","example":{"id":"finaddr_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"account_number":"123456890","routing_number":"110000000","bank_name":"STRIPE TEST BANK","last4":"6890","account_holder_name":"Jenny Rosen","account_holder_address":{"line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"California","postal_code":"94080","country":"us"}}},"financial_account":"fa_6504m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"active","created":"2023-03-30T17:32:06.665Z","settlement_currency":"usd"},"x-resourceId":"v2.money_management.financial_address","x-stableId":"v2_resource_financial_address_v2","x-stripeDocsSamples":[{"response":{"id":"finaddr_61O6nHqDsFuMtECYR16O0lef0dSQgZ0EhGyZsQCXQMls","object":"v2.money_management.financial_address","type":"bank_account","bank_account":{"type":"aba","currency":"usd","country":"us","aba":{"account_number":"123456890","routing_number":"110000000","bank_name":"STRIPE TEST BANK","last4":"6890","account_holder_name":"Jenny Rosen","account_holder_address":{"line1":"354 Oyster Point Blvd","city":"South San Francisco","state":"California","postal_code":"94080","country":"us"}}},"financial_account":"fa_6504m3x1JLdhVIIIT1A16O0lef0dSQgZ0EhGyZsQCXQ28m","status":"active","created":"2023-03-30T17:32:06.665Z","settlement_currency":"usd"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/financial_addresses"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/money_management/financial_addresses"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/financial_addresses/{id}"}],"x-stripeResource":{"class_name":"FinancialAddress","in_package":"v2.money_management"}},"v2.money_management.financial_address.activated":{"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":{"kind":"open","values":[{"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.money_management.financial_address"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.financial_address.activated"]}},"description":"Occurs when a FinancialAddress is activated and is ready to receive funds.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"finaddr_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.financial_address","url":"/v2/money_management/financial_addresses/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.financial_address.activated","changes":{},"data":{}},"x-stableId":"v2.money_management.financial_address.activated","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"finaddr_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.financial_address","url":"/v2/money_management/financial_addresses/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.financial_address.activated"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"finaddr_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.financial_address","url":"/v2/money_management/financial_addresses/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.financial_address.activated","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.financial_address.activated"},"x-stripeNotPublic":true},"v2.money_management.financial_address.failed":{"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":{"kind":"open","values":[{"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.money_management.financial_address"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.financial_address.failed"]}},"description":"Occurs when a FinancialAddress fails to activate and can not receive funds.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"finaddr_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.financial_address","url":"/v2/money_management/financial_addresses/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.financial_address.failed","changes":{},"data":{}},"x-stableId":"v2.money_management.financial_address.failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"finaddr_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.financial_address","url":"/v2/money_management/financial_addresses/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.financial_address.failed"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"finaddr_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.financial_address","url":"/v2/money_management/financial_addresses/fa_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.financial_address.failed","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.financial_address.failed"},"x-stripeNotPublic":true},"v2.money_management.financial_address_credit_simulation":{"title":"Financial Address Credit Simulation","required":["livemode","object","status"],"type":"object","properties":{"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.money_management.financial_address_credit_simulation"]},"status":{"type":"string","description":"The status of the request, signifying whether a simulated credit was initiated."}},"description":"Credit Simulations represent simulated credit transactions applied to financial addresses for testing purposes.","example":{"object":"v2.money_management.financial_address_credit_simulation","status":"accepted","livemode":true},"x-resourceId":"v2.money_management.financial_address_credit_simulation","x-stableId":"v2_resource_financial_address_credit_simulation","x-stripeDocsSamples":[{"response":{"object":"v2.money_management.financial_address_credit_simulation","status":"accepted","livemode":true}}],"x-stripeOperations":[{"method_name":"credit","method_on":"service","method_type":"custom","operation":"post","path":"/v2/money_management/test_helpers/financial_addresses/{id}/credit"}],"x-stripeResource":{"class_name":"FinancialAddressCreditSimulation","in_package":"v2.money_management"}},"v2.money_management.financial_address_generated_microdeposits":{"title":"Financial Address Generated Microdeposits","required":["amounts","livemode","object","status"],"type":"object","properties":{"amounts":{"type":"array","description":"The amounts of the microdeposits that were generated.","items":{"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}}}},"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.money_management.financial_address_generated_microdeposits"]},"status":{"type":"string","description":"Closed Enum. The status of the request.","enum":["accepted"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The microdeposits were successfully generated.","value":"accepted"}]}}},"description":"Generated Microdeposits represent verification deposits sent to a financial address for ownership verification, containing the deposited amounts and status.","example":{"object":"v2.money_management.financial_address_generated_microdeposits","amounts":[{"value":24,"currency":"usd"},{"value":46,"currency":"usd"}],"status":"accepted","livemode":true},"x-resourceId":"v2.money_management.financial_address_generated_microdeposits","x-stableId":"v2_resource_financial_address_generated_microdeposits","x-stripeDocsSamples":[{"response":{"object":"v2.money_management.financial_address_generated_microdeposits","amounts":[{"value":24,"currency":"usd"},{"value":46,"currency":"usd"}],"status":"accepted","livemode":true}}],"x-stripeOperations":[{"method_name":"generate_microdeposits","method_on":"service","method_type":"custom","operation":"post","path":"/v2/money_management/test_helpers/financial_addresses/{id}/generate_microdeposits"}],"x-stripeResource":{"class_name":"FinancialAddressGeneratedMicrodeposits","in_package":"v2.money_management"}},"v2.money_management.inbound_transfer":{"title":"Inbound Transfer","required":["amount","created","description","from","id","livemode","object","to","transfer_history"],"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":"The amount in specified currency that will land in the FinancialAccount balance."},"created":{"type":"string","description":"Creation time of the InboundTransfer. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"description":{"type":"string","description":"A freeform text field provided by user, containing metadata."},"from":{"required":["debited","payment_method"],"type":"object","properties":{"debited":{"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":"The amount in specified currency that was debited from the Payment Method."},"payment_method":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of object this destination represents. For a us bank account, we expect us_bank_account."},"us_bank_account":{"type":"string","description":"The destination US bank account identifier. eg \"usba_***\"."}},"description":"The Payment Method object used to create the InboundTransfer."}},"description":"A nested object containing information about the origin of the InboundTransfer."},"id":{"type":"string","description":"Unique identifier for the InboundTransfer."},"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.money_management.inbound_transfer"]},"receipt_url":{"type":"string","description":"A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses."},"to":{"required":["credited","financial_account"],"type":"object","properties":{"credited":{"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":"The amount by which the FinancialAccount balance is credited."},"financial_account":{"type":"string","description":"The FinancialAccount that funds will land in.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}}},"description":"A nested object containing information about the destination of the InboundTransfer."},"transfer_history":{"type":"array","description":"A list of history objects, representing changes in the state of the InboundTransfer. The most recent entry's type indicates the current status of the InboundTransfer.","items":{"required":["created","effective_at","id","type"],"type":"object","properties":{"bank_debit_failed":{"required":["failure_reason"],"type":"object","properties":{"failure_reason":{"type":"string","description":"Open Enum. The return reason for the failed InboundTransfer.","enum":["bank_account_closed","bank_account_not_found","bank_debit_could_not_be_processed","bank_debit_not_authorized","insufficient_funds"],"x-stripeEnum":{"kind":"open","values":[{"description":"The Failure Reason when the user's external Bank Account is closed.","value":"bank_account_closed"},{"description":"The Failure Reason when the user's Bank Account is not found.","value":"bank_account_not_found"},{"description":"The Failure Reason when the debit cannot be processed for any other reason.","value":"bank_debit_could_not_be_processed"},{"description":"The Failure Reason when the user hasn't authorized the debit with their bank.","value":"bank_debit_not_authorized"},{"description":"The Failure Reason when there aren't sufficient funds in the user's bank account.","value":"insufficient_funds"}]}}},"description":"The InboundTransfer failed. See `failure_reason` for more details."},"bank_debit_processing":{"type":"object","properties":{},"description":"The InboundTransfer was submitted to the scheme for processing. The debit is still in progress and can later succeed or fail."},"bank_debit_queued":{"type":"object","properties":{},"description":"The InboundTransfer was created and is waiting to be submitted to the scheme for processing."},"bank_debit_returned":{"required":["return_reason"],"type":"object","properties":{"return_reason":{"type":"string","description":"Open Enum. The return reason for the returned InboundTransfer.","enum":["bank_account_closed","bank_account_not_found","bank_debit_could_not_be_processed","bank_debit_not_authorized","insufficient_funds"],"x-stripeEnum":{"kind":"open","values":[{"description":"The Failure Reason when the user's external Bank Account is closed.","value":"bank_account_closed"},{"description":"The Failure Reason when the user's Bank Account is not found.","value":"bank_account_not_found"},{"description":"The Failure Reason when the debit cannot be processed for any other reason.","value":"bank_debit_could_not_be_processed"},{"description":"The Failure Reason when the user hasn't authorized the debit with their bank.","value":"bank_debit_not_authorized"},{"description":"The Failure Reason when there aren't sufficient funds in the user's bank account.","value":"insufficient_funds"}]}}},"description":"The InboundTransfer was returned. The original transaction has been reversed."},"bank_debit_succeeded":{"type":"object","properties":{},"description":"The InboundTransfer succeeded. Funds might not yet be available; check the associated Transaction for availability."},"created":{"type":"string","description":"Creation time of the HistoryEntry in RFC 3339 format and UTC.","format":"date-time"},"effective_at":{"type":"string","description":"Effective at time of the HistoryEntry in RFC 3339 format and UTC.","format":"date-time"},"id":{"type":"string","description":"A unique ID for the HistoryEntry."},"type":{"type":"string","description":"Open Enum. The type of the HistoryEntry.","enum":["bank_debit_failed","bank_debit_processing","bank_debit_queued","bank_debit_returned","bank_debit_succeeded"],"x-stripeEnum":{"kind":"open","values":[{"description":"History Entry type for an InboundTransfer that has failed. The bank debit could not be completed.","value":"bank_debit_failed"},{"description":"History Entry type for an InboundTransfer that is processing. The bank debit has been submitted and is being processed.","value":"bank_debit_processing"},{"description":"History Entry type for a queued InboundTransfer. The bank debit has been created and is waiting to be processed.","value":"bank_debit_queued"},{"description":"History Entry type for an InboundTransfer that has returned, after initially being successful. The bank debit was reversed and funds have been deducted.","value":"bank_debit_returned"},{"description":"History Entry type for an InboundTransfer that has succeeded. The bank debit was successful and funds have been credited.","value":"bank_debit_succeeded"}]}}}}}},"description":"An InboundTransfer object, representing a money movement from a\nuser owned PaymentMethod to a FinancialAccount belonging to the same user.","example":{"id":"ibt_test_61Q58XwKMHh5ha3MI16Nr2cJ8cSQabKn4q38nZ59E6yO","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-03-18T18:07:12.619131Z","description":"earnings","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUohIbirwYyBvlQ2PtS3zpGlI2ZkpO8-dpYhb3KfWs1FlYI9eX2I94gJoeJHXOR0QwwesVCRnQwRgsUQqGFloqKV7McODKkoVKAMiuB5lD9htcDuxRtDA","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61Q58Xw5weaazmsWj16Nr2cJ8cSQabKn4q38nZ59E52W","bank_debit_queued":{},"created":"2024-03-18T18:07:12.617Z","effective_at":"2024-03-18T18:07:12.617Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61Q58Y2iAWn3U9kNW16Nr2cJ8cSQabKn4q38nZ59EXzc","bank_debit_processing":{},"created":"2024-03-18T18:07:18.403Z","effective_at":"2024-03-18T18:07:18.403Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61Q58Y7wNh292msCP16Nr2cJ8cSQabKn4q38nZ59EPz6","bank_debit_succeeded":{},"created":"2024-03-18T18:07:23.103Z","effective_at":"2024-03-18T18:07:23.103Z","level":"canonical","type":"bank_debit_succeeded"}]},"x-resourceId":"v2.money_management.inbound_transfer","x-stableId":"v2_resource_inbound_transfer","x-stripeDocsSamples":[{"response":{"id":"ibt_test_61Q58XwKMHh5ha3MI16Nr2cJ8cSQabKn4q38nZ59E6yO","object":"v2.money_management.inbound_transfer","amount":{"value":101,"currency":"usd"},"created":"2024-03-18T18:07:12.619131Z","description":"earnings","from":{"debited":{"value":101,"currency":"usd"},"payment_method":{"type":"payment_methods.us_bank_account","us_bank_account":"usba_test_61P22mHGGhTkqVEx416Nr2cJ8cSQabKn4q38nZ59E7ea"}},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk5yMmNKOGNTUWFiS240cTM4blo1OUUohIbirwYyBvlQ2PtS3zpGlI2ZkpO8-dpYhb3KfWs1FlYI9eX2I94gJoeJHXOR0QwwesVCRnQwRgsUQqGFloqKV7McODKkoVKAMiuB5lD9htcDuxRtDA","to":{"credited":{"value":101,"currency":"usd"},"financial_account":"fa_test_65Nyg0pdsXOSN32kkjg16Nr2cJ8cSQabKn4q38nZ59E50y"},"transfer_history":[{"id":"ibthe_test_61Q58Xw5weaazmsWj16Nr2cJ8cSQabKn4q38nZ59E52W","bank_debit_queued":{},"created":"2024-03-18T18:07:12.617Z","effective_at":"2024-03-18T18:07:12.617Z","level":"canonical","type":"bank_debit_queued"},{"id":"ibthe_test_61Q58Y2iAWn3U9kNW16Nr2cJ8cSQabKn4q38nZ59EXzc","bank_debit_processing":{},"created":"2024-03-18T18:07:18.403Z","effective_at":"2024-03-18T18:07:18.403Z","level":"canonical","type":"bank_debit_processing"},{"id":"ibthe_test_61Q58Y7wNh292msCP16Nr2cJ8cSQabKn4q38nZ59EPz6","bank_debit_succeeded":{},"created":"2024-03-18T18:07:23.103Z","effective_at":"2024-03-18T18:07:23.103Z","level":"canonical","type":"bank_debit_succeeded"}]}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/inbound_transfers"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/money_management/inbound_transfers"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/inbound_transfers/{id}"}],"x-stripeResource":{"class_name":"InboundTransfer","in_package":"v2.money_management"}},"v2.money_management.inbound_transfer.available":{"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":["transaction_id"],"type":"object","properties":{"transaction_id":{"type":"string","description":"The transaction ID of the received credit."}},"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":{"kind":"open","values":[{"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.money_management.inbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.inbound_transfer.available"]}},"description":"Occurs when an InboundTransfer's funds are made available.","example":{"created":"2026-06-05T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEF","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEG","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEH"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEI","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEI"},"type":"v2.money_management.inbound_transfer.available","livemode":true,"changes":{"before":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEC","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEC","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}],"receipt_url":"https://payments.stripe.com/receipts/payment/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEI"}},"data":{"transaction_id":"txn_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEJ"}},"x-stableId":"v2.money_management.inbound_transfer.available","x-stripeDocsSamples":[{"payload":{"created":"2026-06-05T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEF","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEG","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEH"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEI","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEI"},"type":"v2.money_management.inbound_transfer.available","livemode":true},"response":{"created":"2026-06-05T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEF","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEG","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEH"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEI","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEI"},"type":"v2.money_management.inbound_transfer.available","livemode":true,"changes":{"before":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEC","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEC","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}],"receipt_url":"https://payments.stripe.com/receipts/payment/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEI"}},"data":{"transaction_id":"txn_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWEJ"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.inbound_transfer.available"},"x-stripeNotPublic":true},"v2.money_management.inbound_transfer.bank_debit_failed":{"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":{"kind":"open","values":[{"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.money_management.inbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.inbound_transfer.bank_debit_failed"]}},"description":"Occurs when an InboundTransfer fails.","example":{"created":"2026-06-03T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFK","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFL","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFM"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFN","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFN"},"type":"v2.money_management.inbound_transfer.bank_debit_failed","livemode":true,"changes":{"before":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFC","type":"bank_debit_failed","bank_debit_failed":{"failure_reason":"insufficient_funds"},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}]}},"data":{}},"x-stableId":"v2.money_management.inbound_transfer.bank_debit_failed","x-stripeDocsSamples":[{"payload":{"created":"2026-06-03T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFK","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFL","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFM"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFN","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFN"},"type":"v2.money_management.inbound_transfer.bank_debit_failed","livemode":true},"response":{"created":"2026-06-03T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFK","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFL","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFM"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFN","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFN"},"type":"v2.money_management.inbound_transfer.bank_debit_failed","livemode":true,"changes":{"before":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWFC","type":"bank_debit_failed","bank_debit_failed":{"failure_reason":"insufficient_funds"},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}]}},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.inbound_transfer.bank_debit_failed"},"x-stripeNotPublic":true},"v2.money_management.inbound_transfer.bank_debit_processing":{"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":{"kind":"open","values":[{"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.money_management.inbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.inbound_transfer.bank_debit_processing"]}},"description":"Occurs when an InboundTransfer starts processing.","example":{"created":"2026-06-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGP","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGQ","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGR"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGS","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGS"},"type":"v2.money_management.inbound_transfer.bank_debit_processing","livemode":true,"changes":{"before":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"}]}},"data":{}},"x-stableId":"v2.money_management.inbound_transfer.bank_debit_processing","x-stripeDocsSamples":[{"payload":{"created":"2026-06-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGP","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGQ","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGR"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGS","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGS"},"type":"v2.money_management.inbound_transfer.bank_debit_processing","livemode":true},"response":{"created":"2026-06-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGP","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGQ","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGR"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGS","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWGS"},"type":"v2.money_management.inbound_transfer.bank_debit_processing","livemode":true,"changes":{"before":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"}]}},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.inbound_transfer.bank_debit_processing"},"x-stripeNotPublic":true},"v2.money_management.inbound_transfer.bank_debit_queued":{"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":{"kind":"open","values":[{"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.money_management.inbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.inbound_transfer.bank_debit_queued"]}},"description":"Occurs when an InboundTransfer is queued.","example":{"created":"2026-06-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHU","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHV","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHW"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHX","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHX"},"type":"v2.money_management.inbound_transfer.bank_debit_queued","livemode":true,"changes":{"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"}]}},"data":{}},"x-stableId":"v2.money_management.inbound_transfer.bank_debit_queued","x-stripeDocsSamples":[{"payload":{"created":"2026-06-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHU","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHV","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHW"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHX","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHX"},"type":"v2.money_management.inbound_transfer.bank_debit_queued","livemode":true},"response":{"created":"2026-06-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHU","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHV","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHW"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHX","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHX"},"type":"v2.money_management.inbound_transfer.bank_debit_queued","livemode":true,"changes":{"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWHA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"}]}},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.inbound_transfer.bank_debit_queued"},"x-stripeNotPublic":true},"v2.money_management.inbound_transfer.bank_debit_returned":{"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":{"kind":"open","values":[{"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.money_management.inbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.inbound_transfer.bank_debit_returned"]}},"description":"Occurs when an InboundTransfer is returned.","example":{"created":"2026-06-10T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWIZ","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJa","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJb"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJc","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJc"},"type":"v2.money_management.inbound_transfer.bank_debit_returned","livemode":true,"changes":{"before":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJC","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJC","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJD","type":"bank_debit_returned","bank_debit_returned":{"return_reason":"insufficient_funds"},"created":"2026-06-10T00:00:00.000Z","effective_at":"2026-06-10T00:00:00.000Z","level":"canonical"}]}},"data":{}},"x-stableId":"v2.money_management.inbound_transfer.bank_debit_returned","x-stripeDocsSamples":[{"payload":{"created":"2026-06-10T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWIZ","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJa","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJb"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJc","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJc"},"type":"v2.money_management.inbound_transfer.bank_debit_returned","livemode":true},"response":{"created":"2026-06-10T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWIZ","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJa","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJb"}},"related_object":{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJc","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJc"},"type":"v2.money_management.inbound_transfer.bank_debit_returned","livemode":true,"changes":{"before":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJC","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJA","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJB","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJC","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"},{"id":"ibt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWJD","type":"bank_debit_returned","bank_debit_returned":{"return_reason":"insufficient_funds"},"created":"2026-06-10T00:00:00.000Z","effective_at":"2026-06-10T00:00:00.000Z","level":"canonical"}]}},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.inbound_transfer.bank_debit_returned"},"x-stripeNotPublic":true},"v2.money_management.inbound_transfer.bank_debit_succeeded":{"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":{"kind":"open","values":[{"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.money_management.inbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.inbound_transfer.bank_debit_succeeded"]}},"description":"Occurs when an InboundTransfer succeeds.","example":{"context":null,"created":"2026-06-03T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"ibt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.inbound_transfer.bank_debit_succeeded","changes":{"before":{"transfer_history":[{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40a","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40b","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40a","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40b","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40c","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}]}},"data":{}},"x-stableId":"v2.money_management.inbound_transfer.bank_debit_succeeded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2026-06-03T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"ibt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.inbound_transfer.bank_debit_succeeded"},"response":{"context":null,"created":"2026-06-03T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"ibt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.inbound_transfer","url":"/v2/money_management/inbound_transfers/ibt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.inbound_transfer.bank_debit_succeeded","changes":{"before":{"transfer_history":[{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40a","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40b","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"}]},"after":{"transfer_history":[{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40a","type":"bank_debit_queued","bank_debit_queued":{},"created":"2026-06-01T00:00:00.000Z","effective_at":"2026-06-01T00:00:00.000Z","level":"canonical"},{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40b","type":"bank_debit_processing","bank_debit_processing":{},"created":"2026-06-01T00:01:00.000Z","effective_at":"2026-06-01T00:01:00.000Z","level":"canonical"},{"id":"ibt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40c","type":"bank_debit_succeeded","bank_debit_succeeded":{},"created":"2026-06-03T00:00:00.000Z","effective_at":"2026-06-03T00:00:00.000Z","level":"canonical"}]}},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.inbound_transfer.bank_debit_succeeded"},"x-stripeNotPublic":true},"v2.money_management.outbound_payment":{"title":"Outbound Payment","required":["amount","cancelable","created","from","id","livemode","object","recipient_notification","statement_descriptor","status","to","trace_id"],"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":"The \"presentment amount\" for the OutboundPayment."},"cancelable":{"type":"boolean","description":"Returns true if the OutboundPayment can be canceled, and false otherwise."},"created":{"type":"string","description":"Time at which the OutboundPayment was created.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"delivery_options":{"type":"object","properties":{"bank_account":{"type":"string","description":"Open Enum. Method for bank account.","enum":["automatic","local","wire"],"x-stripeEnum":{"kind":"open","values":[{"description":"Method automatically selected by Stripe.","value":"automatic"},{"description":"The group of local bank-transfer networks in the bank account's country.","value":"local"},{"description":"The group of wire transfer networks in the bank account's country.","value":"wire"}]}}},"description":"Delivery options to be used to send the OutboundPayment."},"description":{"type":"string","description":"An arbitrary string attached to the OutboundPayment. Often useful for displaying to users."},"expected_arrival_date":{"type":"string","description":"The date when funds are expected to arrive in the payout method. This field is not set if the payout method is in a `failed`, `canceled`, or `returned` state.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"from":{"required":["debited","financial_account"],"type":"object","properties":{"debited":{"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":"The monetary amount debited from the sender, only set on responses."},"financial_account":{"type":"string","description":"The FinancialAccount that funds were pulled from.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}}},"description":"The FinancialAccount that funds were pulled from."},"id":{"type":"string","description":"Unique identifier for the OutboundPayment."},"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.money_management.outbound_payment"]},"outbound_payment_quote":{"type":"string","description":"The quote for this OutboundPayment. Only required for countries with regulatory mandates to display fee estimates before OutboundPayment creation.","x-stripeNotPublic":true},"purpose":{"type":"string","description":"The purpose of the OutboundPayment.","enum":["payroll"],"x-stripeEnum":{"kind":"open","values":[{"description":"The OutboundPayment is for payroll.","value":"payroll"}]},"x-stripeNotPublic":true},"receipt_url":{"type":"string","description":"A link to the Stripe-hosted receipt for this OutboundPayment. The receipt link remains active for 60 days from the OutboundPayment creation date. After this period, the link will expire and the receipt url value will be null."},"recipient_notification":{"required":["setting"],"type":"object","properties":{"setting":{"type":"string","description":"Closed Enum. Configuration option to enable or disable notifications to recipients.\nDo not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set.","enum":["configured","none"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Default to account setting.","value":"configured"},{"description":"Do not send email.","value":"none"}]}}},"description":"Details about the OutboundPayment notification settings for recipient."},"statement_descriptor":{"type":"string","description":"The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer). It will default to `STRIPE` if not set on the account settings."},"status":{"type":"string","description":"Closed Enum. Current status of the OutboundPayment: `processing`, `failed`, `posted`, `returned`, `canceled`.\nAn OutboundPayment is `processing` if it has been created and is processing.\nThe status changes to `posted` once the OutboundPayment has been \"confirmed\" and funds have left the account, or to `failed` or `canceled`.\nIf an OutboundPayment fails to arrive at its payout method, its status will change to `returned`.","enum":["canceled","failed","posted","processing","returned"],"x-stripeEnum":{"kind":"closed","values":[{"description":"A user canceled the OutboundPayment before posting. Stripe returns the funds to the user by voiding the pending Transaction.","value":"canceled"},{"description":"The OutboundPayment failed to confirm. Stripe returns the funds to the user by voiding the pending Transaction.","value":"failed"},{"description":"The OutboundPayment posted and funds have left the account. The underlying Transaction posts.","value":"posted"},{"description":"The OutboundPayment starting state. Funds are \"held\" by a pending Transaction (but are still part of the current balance). The OutboundPayment might be cancelable by the user, depending on the value of the cancelable field.","value":"processing"},{"description":"The OutboundPayment failed to successfully arrive at the destination. Funds return to the user with a second posted Transaction attached to the same flow.","value":"returned"}]}},"status_details":{"type":"object","properties":{"failed":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Open Enum. The `failed` status reason.","enum":["fx_rate_drift_exceeded_after_review","payout_method_amount_limit_exceeded","payout_method_declined","payout_method_does_not_exist","payout_method_expired","payout_method_unsupported","payout_method_usage_frequency_limit_exceeded","review_rejected","unknown_failure"],"x-stripeEnum":{"kind":"open","values":[{"description":"The FX rate drifted beyond the acceptable threshold while the outbound payment was under Stripe review.","value":"fx_rate_drift_exceeded_after_review"},{"description":"The amount limit for this payout method was exceeded.","value":"payout_method_amount_limit_exceeded"},{"description":"The outbound flow to this payout method was declined.","value":"payout_method_declined"},{"description":"Payout method used for this outbound flow does not exist.","value":"payout_method_does_not_exist"},{"description":"Payout method used for this outbound flow expired.","value":"payout_method_expired"},{"description":"Payout method used for this outbound flow is unsupported.","value":"payout_method_unsupported"},{"description":"The usage frequency limit for this payout method was exceeded.","value":"payout_method_usage_frequency_limit_exceeded"},{"description":"The outbound payment was rejected after Stripe review.","value":"review_rejected"},{"description":"Unknown failure.","value":"unknown_failure"}]}}},"description":"The `failed` status reason."},"processing":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Open Enum. The `processing` status reason.","enum":["under_review"],"x-stripeEnum":{"kind":"open","values":[{"description":"The outbound payment is under Stripe review.","value":"under_review"}]}}},"description":"The `processing` status details.","x-stripeNotPublic":true},"returned":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Open Enum. The `returned` status reason.","enum":["payout_method_canceled_by_customer","payout_method_closed","payout_method_currency_unsupported","payout_method_does_not_exist","payout_method_holder_address_incorrect","payout_method_holder_details_incorrect","payout_method_holder_name_incorrect","payout_method_invalid_account_number","payout_method_restricted","recalled","unknown_failure"],"x-stripeEnum":{"kind":"open","values":[{"description":"The outbound flow to this payout method was canceled by customer.","value":"payout_method_canceled_by_customer"},{"description":"Payout method account used for this outbound flow is closed.","value":"payout_method_closed"},{"description":"Currency is not supported by the payout method account.","value":"payout_method_currency_unsupported"},{"description":"Payout method account used for this outbound flow does not exist.","value":"payout_method_does_not_exist"},{"description":"Address on the payout method account is incorrect.","value":"payout_method_holder_address_incorrect"},{"description":"The payout method account holder's details are incorrect.","value":"payout_method_holder_details_incorrect"},{"description":"Name on the payout method account is incorrect.","value":"payout_method_holder_name_incorrect"},{"description":"The outbound flow to this payout method has an invalid account number.","value":"payout_method_invalid_account_number"},{"description":"Payout method account used for this outbound flow is restricted.","value":"payout_method_restricted"},{"description":"The outbound flow to this payout method was recalled.","value":"recalled"},{"description":"Unknown failure.","value":"unknown_failure"}]}}},"description":"The `returned` status reason."}},"description":"Status details for an OutboundPayment in a `processing`, `failed`, or `returned` state."},"status_transitions":{"type":"object","properties":{"canceled_at":{"type":"string","description":"Timestamp describing when an OutboundPayment changed status to `canceled`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"failed_at":{"type":"string","description":"Timestamp describing when an OutboundPayment changed status to `failed`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"posted_at":{"type":"string","description":"Timestamp describing when an OutboundPayment changed status to `posted`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"returned_at":{"type":"string","description":"Timestamp describing when an OutboundPayment changed status to `returned`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"}},"description":"Hash containing timestamps of when the object transitioned to a particular status."},"to":{"required":["credited","payout_method","recipient"],"type":"object","properties":{"credited":{"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":"The monetary amount being credited to the destination."},"payout_method":{"type":"string","description":"The payout method which the OutboundPayment uses to send payout."},"recipient":{"type":"string","description":"To which account the OutboundPayment is sent."}},"description":"To which payout method the OutboundPayment was sent."},"trace_id":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to\n`supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it.\nNote that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending`\neven after the payment or transfer is posted.","enum":["pending","supported","unsupported"],"x-stripeEnum":{"kind":"open","values":[{"description":"Pending to receive TraceId information from recipient bank.","value":"pending"},{"description":"TraceId is supported by the recipient bank.","value":"supported"},{"description":"TraceId is not supported by the recipient bank.","value":"unsupported"}]}},"value":{"type":"string","description":"The trace ID value if `trace_id.status` is `supported`, otherwise empty."}},"description":"A unique identifier that can be used to track this OutboundPayment with recipient bank. Banks might call this a \"reference number\" or something similar.","x-stripeNotPublic":true}},"description":"OutboundPayment represents a single money movement from one FinancialAccount you own to a payout method someone else owns.","example":{"id":"obp_test_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":1000,"currency":"usd"}},"to":{"credited":{"value":1000,"currency":"usd"},"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ"},"delivery_options":{"bank_account":"automatic"},"amount":{"value":1000,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":true,"description":"Streamer earnings","status":"processing","status_transitions":{},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKMPgpqIGMgbztcBwNg46oQGUmYI69-O84chYtSQDFeO22gsaZPBsi9OkhxmOvY_z5ElXLqPGy_WUkLZ0XuCmjerVOR-ZnrOKDcHldqWvsxHXRaRnjq2SLu5V7tJaYWNe3_Vy2VhWmJ8H09qAOl8HxjS9prFckpisbEa_1u53hKgIXZVoI4FEOVWgFcf0-d7ev6zL728kPw-QcXbRkPi-wwaIXwxRNbyTpsBi6KzQ7PTqlg","created":"2023-04-26T23:12:35.952Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"trace_id":{"status":"pending","value":""},"outbound_payment_quote":null},"x-resourceId":"v2.money_management.outbound_payment","x-stableId":"v2_resource_outbound_payment","x-stripeDocsSamples":[{"response":{"id":"obp_test_65OAfT9tVl3u223h0he16NybHIZ4SQ3LORe4rpuNGDIKCO","object":"v2.money_management.outbound_payment","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":1000,"currency":"usd"}},"to":{"credited":{"value":1000,"currency":"usd"},"recipient":"acct_1Nv0FGQ9RKHgCVdK","payout_method":"usba_test_61Nyd9YFBVUzLyxXZ16Nyc6oZ4SQv89ZZAqvHiCEC9VQ"},"delivery_options":{"bank_account":"automatic"},"amount":{"value":1000,"currency":"usd"},"statement_descriptor":"Payment for streaming","cancelable":true,"description":"Streamer earnings","status":"processing","status_transitions":{},"receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKMPgpqIGMgbztcBwNg46oQGUmYI69-O84chYtSQDFeO22gsaZPBsi9OkhxmOvY_z5ElXLqPGy_WUkLZ0XuCmjerVOR-ZnrOKDcHldqWvsxHXRaRnjq2SLu5V7tJaYWNe3_Vy2VhWmJ8H09qAOl8HxjS9prFckpisbEa_1u53hKgIXZVoI4FEOVWgFcf0-d7ev6zL728kPw-QcXbRkPi-wwaIXwxRNbyTpsBi6KzQ7PTqlg","created":"2023-04-26T23:12:35.952Z","expected_arrival_date":"2023-04-28T00:00:00Z","recipient_notification":{"setting":"configured"},"trace_id":{"status":"pending","value":""},"outbound_payment_quote":null}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/outbound_payments"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/money_management/outbound_payments"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/outbound_payments/{id}"},{"method_name":"cancel","method_on":"service","method_type":"custom","operation":"post","path":"/v2/money_management/outbound_payments/{id}/cancel"}],"x-stripeResource":{"class_name":"OutboundPayment","in_package":"v2.money_management"}},"v2.money_management.outbound_payment.canceled":{"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":{"kind":"open","values":[{"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.money_management.outbound_payment"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_payment.canceled"]}},"description":"Occurs when an OutboundPayment transitions into the canceled state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.canceled","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_payment.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.canceled"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.canceled","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_payment.canceled"},"x-stripeNotPublic":true},"v2.money_management.outbound_payment.created":{"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":{"kind":"open","values":[{"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.money_management.outbound_payment"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_payment.created"]}},"description":"Occurs when an OutboundPayment is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.created","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_payment.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.created"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.created","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_payment.created"},"x-stripeNotPublic":true},"v2.money_management.outbound_payment.failed":{"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":{"kind":"open","values":[{"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.money_management.outbound_payment"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_payment.failed"]}},"description":"Occurs when an OutboundPayment transitions into the failed state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.failed","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_payment.failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.failed"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.failed","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_payment.failed"},"x-stripeNotPublic":true},"v2.money_management.outbound_payment.posted":{"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":{"kind":"open","values":[{"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.money_management.outbound_payment"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_payment.posted"]}},"description":"Occurs when an OutboundPayment transitions into the posted state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.posted","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_payment.posted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.posted"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.posted","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_payment.posted"},"x-stripeNotPublic":true},"v2.money_management.outbound_payment.returned":{"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":{"kind":"open","values":[{"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.money_management.outbound_payment"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_payment.returned"]}},"description":"Occurs when an OutboundPayment transitions into the returned state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.returned","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_payment.returned","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.returned"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.returned","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_payment.returned"},"x-stripeNotPublic":true},"v2.money_management.outbound_payment.under_review":{"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 [Outbound Payment](https://docs.stripe.com/api/v2/money-management/outbound-payments/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":{"kind":"open","values":[{"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.money_management.outbound_payment"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_payment.under_review"]}},"description":"Occurs when an OutboundPayment is placed under review.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.under_review","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_payment.under_review","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.under_review"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_payment","url":"/v2/money_management/outbound_payments/obp_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_payment.under_review","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_payment.under_review"},"x-stripeNotPublic":true},"v2.money_management.outbound_payment.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 [Outbound Payment](https://docs.stripe.com/api/v2/money-management/outbound-payments/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":{"kind":"open","values":[{"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.money_management.outbound_payment"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_payment.updated"]}},"description":"Occurs when an OutboundPayment is updated.","example":{"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-stableId":"v2.money_management.outbound_payment.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.money_management.outbound_payment.updated"},"x-stripeNotPublic":true},"v2.money_management.outbound_payment_quote":{"title":"Outbound Payment Quote","required":["amount","created","estimated_fees","from","fx_quote","id","livemode","object","to"],"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":"The \"presentment amount\" for the OutboundPaymentQuote."},"created":{"type":"string","description":"Time at which the OutboundPaymentQuote was created.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"delivery_options":{"type":"object","properties":{"bank_account":{"type":"string","description":"Open Enum. Method for bank account.","enum":["automatic","local","wire"],"x-stripeEnum":{"kind":"open","values":[{"description":"Method automatically selected by Stripe.","value":"automatic"},{"description":"The group of local bank-transfer networks in the bank account's country.","value":"local"},{"description":"The group of wire transfer networks in the bank account's country.","value":"wire"}]}}},"description":"Delivery options to be used to send the OutboundPayment."},"estimated_fees":{"type":"array","description":"The estimated fees for the OutboundPaymentQuote.","items":{"required":["amount","type"],"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":"The fee amount for corresponding fee type."},"network_fee_details":{"required":["network","network_options"],"type":"object","properties":{"network":{"type":"string","description":"The network associated with the fee.","enum":["ach","becs","eft","fedwire","fps","local","npp","rtp","sepa","sepa_instant","swift"],"x-stripeEnum":{"kind":"open","values":[{"description":"ACH network.","value":"ach"},{"description":"Bulk Electronic Clearing System (BECS) network.","value":"becs"},{"description":"Electronic Funds Transfer (EFT) network.","value":"eft"},{"description":"Fedwire network.","value":"fedwire"},{"description":"Faster Payments Service (FPS) network.","value":"fps"},{"description":"A local network selected by a third-party payout partner.","value":"local"},{"description":"New Payments Platform (NPP) network.","value":"npp"},{"description":"Real-Time Payments (RTP) network.","value":"rtp"},{"description":"SEPA network.","value":"sepa"},{"description":"SEPA Instant Credit Transfer network.","value":"sepa_instant"},{"description":"SWIFT network.","value":"swift"}]}},"network_options":{"type":"object","properties":{"ach":{"type":"object","properties":{"submission":{"type":"string","description":"Open Enum. ACH submission timing.","enum":["next_day","same_day"],"x-stripeEnum":{"kind":"open","values":[{"description":"Next-day ACH submission.","value":"next_day"},{"description":"Same-day ACH submission.","value":"same_day"}]}}},"description":"ACH-specific network fee options."}},"description":"Per-network options that affect the fee."}},"description":"Details about the network and options associated with this fee. Present when type is network_fee."},"type":{"type":"string","description":"The fee type.","enum":["cross_border_payout_fee","foreign_exchange_fee","instant_payout_fee","network_fee","standard_payout_fee","wire_payout_fee"],"x-stripeEnum":{"kind":"open","values":[{"description":"The fee incurred when it's a cross border payout.","value":"cross_border_payout_fee"},{"description":"The fee incurred when there is a foreign exchange.","value":"foreign_exchange_fee"},{"description":"The fee incurred when the payout is through instant delivery option.","value":"instant_payout_fee"},{"description":"A fee for payout delivery over a network.","value":"network_fee"},{"description":"The standard fee for every payout.","value":"standard_payout_fee"},{"description":"The fee incurred when the payout is through wire delivery option.","value":"wire_payout_fee"}]}}}}},"from":{"required":["debited","financial_account"],"type":"object","properties":{"debited":{"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":"The monetary amount debited from the sender, only set on responses."},"financial_account":{"type":"string","description":"The FinancialAccount that funds were pulled from."}},"description":"Details about the sender of an OutboundPaymentQuote."},"fx_quote":{"required":["lock_duration","lock_status","rates","to_currency"],"type":"object","properties":{"lock_duration":{"type":"string","description":"The duration the exchange rate lock remains valid from creation time. Allowed value is five_minutes or none.","enum":["five_minutes","none"],"x-stripeEnum":{"kind":"open","values":[{"description":"Rate lock is valid for five minutes.","value":"five_minutes"},{"description":"When rate locking is not supported, lock duration is none.","value":"none"}]}},"lock_expires_at":{"type":"string","description":"Time at which the rate lock will expire, measured in seconds since the Unix epoch. Null when rate locking is not supported.","format":"date-time"},"lock_status":{"type":"string","description":"Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp. Value can be active, expired or none.","enum":["active","expired","none"],"x-stripeEnum":{"kind":"open","values":[{"description":"Rate lock is active.","value":"active"},{"description":"Rate lock is expired.","value":"expired"},{"description":"When rate locking is not supported, rate lock status is none.","value":"none"}]}},"rates":{"type":"object","additionalProperties":{"required":["exchange_rate"],"type":"object","properties":{"exchange_rate":{"type":"string","description":"The exchange rate going from_currency -> to_currency."}}},"description":"Key pair: from currency Value: exchange rate going from_currency -> to_currency."},"to_currency":{"type":"string","description":"The currency that the transaction is exchanging to."}},"description":"The underlying FXQuote details for the OutboundPaymentQuote."},"id":{"type":"string","description":"Unique identifier for the OutboundPaymentQuote."},"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.money_management.outbound_payment_quote"]},"to":{"required":["credited","payout_method","recipient"],"type":"object","properties":{"credited":{"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":"The monetary amount being credited to the destination."},"payout_method":{"type":"string","description":"The payout method which the OutboundPayment uses to send payout."},"recipient":{"type":"string","description":"To which account the OutboundPayment is sent."}},"description":"Details about the recipient of an OutboundPaymentQuote."}},"description":"OutboundPaymentQuote represents a quote that provides fee and amount estimates for OutboundPayment.","example":{"id":"obpq_test_65SH4Ui1am0VPJsl9Ht16R6SM1DrE9cwLCbFmOzpO7ESO8","object":"v2.money_management.outbound_payment_quote","amount":{"value":1000,"currency":"gbp"},"created":"2025-03-28T17:17:45.253Z","delivery_options":null,"estimated_fees":[{"amount":{"value":2,"currency":"gbp"},"type":"payout_fee"},{"amount":{"value":3,"currency":"gbp"},"type":"cross_border_fee"},{"amount":{"value":1.5,"currency":"gbp"},"type":"fx_fee"}],"from":{"debited":{"value":1000,"currency":"gbp"},"financial_account":"fa_test_65R6SO61eK9ThYXegpO16R6SM1DrE9cwLCbFmOzpO7E2Fk"},"fx_quote":{"rates":{"gbp":{"exchange_rate":"1.19599"}},"to_currency":"eur"},"to":{"credited":{"value":1196,"currency":"eur"},"payout_method":"frba_test_61SGnRTvcEWKPakGS16SGnR3E2SQicOtL82PNxQa8IKG","recipient":"acct_test_61SGnR3uRIDJxlXGn66SGnR3E2SQicOtL82PNxQa8OUq"}},"x-resourceId":"v2.money_management.outbound_payment_quote","x-stableId":"v2_resource_outbound_payment_quote","x-stripeDocsSamples":[{"response":{"id":"obpq_test_65SH4Ui1am0VPJsl9Ht16R6SM1DrE9cwLCbFmOzpO7ESO8","object":"v2.money_management.outbound_payment_quote","amount":{"value":1000,"currency":"gbp"},"created":"2025-03-28T17:17:45.253Z","delivery_options":null,"estimated_fees":[{"amount":{"value":2,"currency":"gbp"},"type":"payout_fee"},{"amount":{"value":3,"currency":"gbp"},"type":"cross_border_fee"},{"amount":{"value":1.5,"currency":"gbp"},"type":"fx_fee"}],"from":{"debited":{"value":1000,"currency":"gbp"},"financial_account":"fa_test_65R6SO61eK9ThYXegpO16R6SM1DrE9cwLCbFmOzpO7E2Fk"},"fx_quote":{"rates":{"gbp":{"exchange_rate":"1.19599"}},"to_currency":"eur"},"to":{"credited":{"value":1196,"currency":"eur"},"payout_method":"frba_test_61SGnRTvcEWKPakGS16SGnR3E2SQicOtL82PNxQa8IKG","recipient":"acct_test_61SGnR3uRIDJxlXGn66SGnR3E2SQicOtL82PNxQa8OUq"}}}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/money_management/outbound_payment_quotes"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/outbound_payment_quotes/{id}"}],"x-stripeResource":{"class_name":"OutboundPaymentQuote","in_package":"v2.money_management"}},"v2.money_management.outbound_setup_intent":{"title":"Outbound Setup Intent","required":["created","id","livemode","object","payout_method","status","usage_intent"],"type":"object","properties":{"created":{"type":"string","description":"Created timestamp.","format":"date-time"},"id":{"type":"string","description":"ID of the outbound setup intent."},"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."},"next_action":{"required":["type"],"type":"object","properties":{"confirmation_of_payee":{"required":["object","status"],"type":"object","properties":{"object":{"type":"string","description":"The type of the credential."},"status":{"type":"string","description":"The Confirmation of Payee status.","enum":["awaiting_acknowledgement","confirmed","uninitiated"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The check resulted in a non-match, partial match, or the service was unavailable.\nExplicit acknowledgement is required to make payments to this account.","value":"awaiting_acknowledgement"},{"description":"Either the account matches what was provided or there was explicit acknowledgement of the status.\nOutboundPayments can be made to the bank account.","value":"confirmed"},{"description":"No confirmation of payee check has happened on this account.\nUse InitiateConfirmationOfPayee to check the user's information against bank records before making\nOutboundPayments.","value":"uninitiated"}]}}},"description":"Confirmation of Payee details."},"type":{"type":"string","description":"The type of next action.","enum":["confirmation_of_payee"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Confirmation of Payee must be performed in order to make this payout method usable for the specified outbound money movement.","value":"confirmation_of_payee"}]}}},"description":"Specifies which actions needs to be taken next to continue setup of the credential."},"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.money_management.outbound_setup_intent"]},"payout_method":{"$ref":"#/components/schemas/v2.money_management.payout_method"},"status":{"type":"string","description":"Closed Enum. Status of the outbound setup intent.","enum":["canceled","requires_action","requires_payout_method","succeeded"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The user may cancel the outbound setup intent at any time prior to reaching the succeeded status.\nThe outbound setup intent will no longer be usable. This is a terminal status.","value":"canceled"},{"description":"Some additional setup steps need to be done to fully set up the credential for the specified usage intent.\nAdditional steps are specified in next_action.","value":"requires_action"},{"description":"When the outbound setup intent is created, it begins in this status if no payout_method_data is provided.\nThe outbound setup intent will also transition back to this status if a setup failure occurs.\nThe user will then need to provide new payout_method_data to continue.","value":"requires_payout_method"},{"description":"If no additional setup actions need to be done i.e. credential is fully set up for the specified usage intent.\nThis is a terminal status.","value":"succeeded"}]}},"usage_intent":{"type":"string","description":"The intended money movement flow this payout method should be set up for, specified in params.","enum":["payment","transfer"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Setup for outbound payments.","value":"payment"},{"description":"Setup for outbound transfers.","value":"transfer"}]}}},"description":"Use the OutboundSetupIntent API to create and setup usable payout methods.","example":{"id":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","object":"v2.money_management.outbound_setup_intent","created":"2025-04-01T14:13:12.000Z","next_action":{"confirmation_of_payee":{"object":"core.vault.gb_bank_account","status":"uninitiated"},"type":"confirmation_of_payee"},"payout_method":{"id":"gbba_test_61SITWKOFwHCpdRSV16QsOpAPpE97EJALhqt1U5mCDyS","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"]},"created":"2025-04-01T14:13:12.295Z","latest_outbound_setup_intent":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","type":"bank_account","usage_status":{"payments":"requires_action","transfers":"eligible"}},"status":"requires_action","usage_intent":"payment"},"x-resourceId":"v2.money_management.outbound_setup_intent","x-stableId":"v2_resource_outbound_setup_intent","x-stripeDocsSamples":[{"response":{"id":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","object":"v2.money_management.outbound_setup_intent","created":"2025-04-01T14:13:12.000Z","next_action":{"confirmation_of_payee":{"object":"core.vault.gb_bank_account","status":"uninitiated"},"type":"confirmation_of_payee"},"payout_method":{"id":"gbba_test_61SITWKOFwHCpdRSV16QsOpAPpE97EJALhqt1U5mCDyS","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"GB","enabled_delivery_options":["local"],"last4":"2345","routing_number":"108800","supported_currencies":["gbp"]},"created":"2025-04-01T14:13:12.295Z","latest_outbound_setup_intent":"osi_test_61SITWK7KhLsQIGAK16QsOpAPpE97EJALhqt1U5mC4kq","type":"bank_account","usage_status":{"payments":"requires_action","transfers":"eligible"}},"status":"requires_action","usage_intent":"payment"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/outbound_setup_intents"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/money_management/outbound_setup_intents"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/outbound_setup_intents/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/money_management/outbound_setup_intents/{id}"},{"method_name":"cancel","method_on":"service","method_type":"custom","operation":"post","path":"/v2/money_management/outbound_setup_intents/{id}/cancel"}],"x-stripeResource":{"class_name":"OutboundSetupIntent","in_package":"v2.money_management"}},"v2.money_management.outbound_transfer":{"title":"Outbound Transfer","required":["amount","cancelable","created","from","id","livemode","object","statement_descriptor","status","to","trace_id"],"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":"The \"presentment amount\" for the OutboundTransfer."},"cancelable":{"type":"boolean","description":"Returns true if the OutboundTransfer can be canceled, and false otherwise."},"created":{"type":"string","description":"Time at which the OutboundTransfer was created.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"delivery_options":{"type":"object","properties":{"bank_account":{"type":"string","description":"Open Enum. Method for bank account.","enum":["automatic","local","wire"],"x-stripeEnum":{"kind":"open","values":[{"description":"Method automatically selected by Stripe.","value":"automatic"},{"description":"The group of local bank-transfer networks in the bank account's country.","value":"local"},{"description":"The group of wire transfer networks in the bank account's country.","value":"wire"}]}}},"description":"Delivery options to be used to send the OutboundTransfer."},"description":{"type":"string","description":"An arbitrary string attached to the OutboundTransfer. Often useful for displaying to users."},"expected_arrival_date":{"type":"string","description":"The date when funds are expected to arrive in the payout method. This field is not set if the payout method is in a `failed`, `canceled`, or `returned` state.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"from":{"required":["debited","financial_account"],"type":"object","properties":{"debited":{"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":"The monetary amount debited from the sender, only set on responses."},"financial_account":{"type":"string","description":"The FinancialAccount that funds were pulled from.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}}},"description":"The FinancialAccount that funds were pulled from."},"id":{"type":"string","description":"Unique identifier for the OutboundTransfer."},"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.money_management.outbound_transfer"]},"receipt_url":{"type":"string","description":"A link to the Stripe-hosted receipt for this OutboundTransfer. The receipt link remains active for 60 days from the OutboundTransfer creation date. After this period, the link will expire and the receipt url value will be null."},"statement_descriptor":{"type":"string","description":"The description that appears on the receiving end for an OutboundTransfer (for example, bank statement for external bank transfer). It will default to `STRIPE` if not set on the account settings."},"status":{"type":"string","description":"Closed Enum. Current status of the OutboundTransfer: `processing`, `failed`, `posted`, `returned`, `canceled`.\nAn OutboundTransfer is `processing` if it has been created and is processing.\nThe status changes to `posted` once the OutboundTransfer has been \"confirmed\" and funds have left the account, or to `failed` or `canceled`.\nIf an OutboundTransfer fails to arrive at its payout method, its status will change to `returned`.","enum":["canceled","failed","posted","processing","returned"],"x-stripeEnum":{"kind":"closed","values":[{"description":"A user canceled the OutboundTransfer before posting. Stripe returns the funds to the user by voiding the pending Transaction.","value":"canceled"},{"description":"The OutboundTransfer failed to confirm. Stripe returns the funds to the user by voiding the pending Transaction.","value":"failed"},{"description":"The OutboundTransfer posted and funds have left the account. The underlying Transaction posts.","value":"posted"},{"description":"The OutboundTransfer starting state. Funds are \"held\" by a pending Transaction (but are still part of the current balance). The OutboundTransfer might be cancelable by the user, depending on the value of the cancelable field.","value":"processing"},{"description":"The OutboundTransfer failed to successfully arrive at the destination. Funds return to the user with a second posted Transaction attached to the same flow.","value":"returned"}]}},"status_details":{"type":"object","properties":{"failed":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Open Enum. The `failed` status reason.","enum":["fx_rate_drift_exceeded_after_review","payout_method_amount_limit_exceeded","payout_method_declined","payout_method_does_not_exist","payout_method_expired","payout_method_unsupported","payout_method_usage_frequency_limit_exceeded","review_rejected","unknown_failure"],"x-stripeEnum":{"kind":"open","values":[{"description":"The FX rate drifted beyond the acceptable threshold while the outbound flow was under Stripe review.","value":"fx_rate_drift_exceeded_after_review"},{"description":"The amount limit for this payout method was exceeded.","value":"payout_method_amount_limit_exceeded"},{"description":"The outbound flow to this payout method was declined.","value":"payout_method_declined"},{"description":"Payout method used for this outbound flow does not exist.","value":"payout_method_does_not_exist"},{"description":"Payout method used for this outbound flow expired.","value":"payout_method_expired"},{"description":"Payout method used for this outbound flow is unsupported.","value":"payout_method_unsupported"},{"description":"The usage frequency limit for this payout method was exceeded.","value":"payout_method_usage_frequency_limit_exceeded"},{"description":"The outbound flow was rejected after Stripe review.","value":"review_rejected"},{"description":"Unknown failure.","value":"unknown_failure"}]}}},"description":"The `failed` status reason."},"processing":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Open Enum. The `processing` status reason.","enum":["under_review"],"x-stripeEnum":{"kind":"open","values":[{"description":"The outbound flow is under Stripe review.","value":"under_review"}]}}},"description":"The `processing` status details.","x-stripeNotPublic":true},"returned":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Open Enum. The `returned` status reason.","enum":["payout_method_canceled_by_customer","payout_method_closed","payout_method_currency_unsupported","payout_method_does_not_exist","payout_method_holder_address_incorrect","payout_method_holder_details_incorrect","payout_method_holder_name_incorrect","payout_method_invalid_account_number","payout_method_restricted","recalled","unknown_failure"],"x-stripeEnum":{"kind":"open","values":[{"description":"The outbound flow to this payout method was canceled by customer.","value":"payout_method_canceled_by_customer"},{"description":"Payout method account used for this outbound flow is closed.","value":"payout_method_closed"},{"description":"Currency is not supported by the payout method account.","value":"payout_method_currency_unsupported"},{"description":"Payout method account used for this outbound flow does not exist.","value":"payout_method_does_not_exist"},{"description":"Address on the payout method account is incorrect.","value":"payout_method_holder_address_incorrect"},{"description":"The payout method account holder's details are incorrect.","value":"payout_method_holder_details_incorrect"},{"description":"Name on the payout method account is incorrect.","value":"payout_method_holder_name_incorrect"},{"description":"The outbound flow to this payout method has an invalid account number.","value":"payout_method_invalid_account_number"},{"description":"Payout method account used for this outbound flow is restricted.","value":"payout_method_restricted"},{"description":"The outbound flow to this payout method was recalled.","value":"recalled"},{"description":"Unknown failure.","value":"unknown_failure"}]}}},"description":"The `returned` status reason."}},"description":"Status details for an OutboundTransfer in a `processing`, `failed`, or `returned` state."},"status_transitions":{"type":"object","properties":{"canceled_at":{"type":"string","description":"Timestamp describing when an OutboundTransfer changed status to `canceled`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"failed_at":{"type":"string","description":"Timestamp describing when an OutboundTransfer changed status to `failed`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"posted_at":{"type":"string","description":"Timestamp describing when an OutboundTransfer changed status to `posted`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"returned_at":{"type":"string","description":"Timestamp describing when an OutboundTransfer changed status to `returned`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"}},"description":"Hash containing timestamps of when the object transitioned to a particular status."},"to":{"required":["credited","payout_method"],"type":"object","properties":{"credited":{"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":"The monetary amount being credited to the destination."},"payout_method":{"type":"string","description":"The payout method which the OutboundTransfer uses to send payout."}},"description":"To which payout method the OutboundTransfer was sent."},"trace_id":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to\n`supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it.\nNote that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending`\neven after the payment or transfer is posted.","enum":["pending","supported","unsupported"],"x-stripeEnum":{"kind":"open","values":[{"description":"Pending to receive TraceId information from recipient bank.","value":"pending"},{"description":"TraceId is supported by the recipient bank.","value":"supported"},{"description":"TraceId is not supported by the recipient bank.","value":"unsupported"}]}},"value":{"type":"string","description":"The trace ID value if `trace_id.status` is `supported`, otherwise empty."}},"description":"A unique identifier that can be used to track this OutboundTransfer with recipient bank. Banks might call this a \"reference number\" or something similar.","x-stripeNotPublic":true}},"description":"OutboundTransfer represents a single money movement from one FinancialAccount you own to a payout method you also own.","example":{"id":"obt_test_65OAfZuGepEX92sRECO16NybHIZ4SQ3LORe4rpuNGDIDb6","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":50,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":true,"description":"Paying out Stripe earnings","status":"pending","status_transitions":{"canceled_at":null,"failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:19:35.123Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKJLjpqIGMgb4C6zLsmw6SJS1ua8HSKbV2I5kVA6XOZ553eVPu8d3RUAxIsLylBkQcU9X1Ljx2U3j33Or9GNxKKizf9YGvg1aDEohr4VnhlRVBZpF6maT0w","trace_id":{"status":"processing","value":""}},"x-resourceId":"v2.money_management.outbound_transfer","x-stableId":"v2_resource_outbound_transfer","x-stripeDocsSamples":[{"response":{"id":"obt_test_65OAfZuGepEX92sRECO16NybHIZ4SQ3LORe4rpuNGDIDb6","object":"v2.money_management.outbound_transfer","from":{"financial_account":"fa_test_65NybHaQx7KJxDc22rZ16NybHIZ4SQ3LORe4rpuNGDIXEO","debited":{"value":50,"currency":"usd"}},"to":{"payout_method":"usba_test_61NyccB7UY8KzlWh916NybHIZ4SQ3LORe4rpuNGDIRWC","credited":{"value":50,"currency":"usd"}},"delivery_options":{"bank_account":"automatic"},"amount":{"value":50,"currency":"usd"},"statement_descriptor":"Stripe payout","cancelable":true,"description":"Paying out Stripe earnings","status":"pending","status_transitions":{"canceled_at":null,"failed_at":null,"posted_at":null,"returned_at":null},"status_details":null,"created":"2023-04-26T23:19:35.123Z","expected_arrival_date":"2023-04-28T00:00:00Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMaIwohd2tzcF90ZXN0XzZOeWJISVo0U1EzTE9SZTRycHVOR0RJKJLjpqIGMgb4C6zLsmw6SJS1ua8HSKbV2I5kVA6XOZ553eVPu8d3RUAxIsLylBkQcU9X1Ljx2U3j33Or9GNxKKizf9YGvg1aDEohr4VnhlRVBZpF6maT0w","trace_id":{"status":"processing","value":""}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/outbound_transfers"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/money_management/outbound_transfers"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/outbound_transfers/{id}"},{"method_name":"cancel","method_on":"service","method_type":"custom","operation":"post","path":"/v2/money_management/outbound_transfers/{id}/cancel"}],"x-stripeResource":{"class_name":"OutboundTransfer","in_package":"v2.money_management"}},"v2.money_management.outbound_transfer.canceled":{"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":{"kind":"open","values":[{"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.money_management.outbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_transfer.canceled"]}},"description":"Occurs when an OutboundTransfer transitions into the canceled state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.canceled","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_transfer.canceled","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.canceled"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.canceled","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_transfer.canceled"},"x-stripeNotPublic":true},"v2.money_management.outbound_transfer.created":{"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":{"kind":"open","values":[{"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.money_management.outbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_transfer.created"]}},"description":"Occurs when an OutboundTransfer is created.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.created","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_transfer.created","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.created"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.created","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_transfer.created"},"x-stripeNotPublic":true},"v2.money_management.outbound_transfer.failed":{"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":{"kind":"open","values":[{"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.money_management.outbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_transfer.failed"]}},"description":"Occurs when an OutboundTransfer transitions into the failed state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.failed","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_transfer.failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.failed"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.failed","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_transfer.failed"},"x-stripeNotPublic":true},"v2.money_management.outbound_transfer.posted":{"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":{"kind":"open","values":[{"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.money_management.outbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_transfer.posted"]}},"description":"Occurs when an OutboundTransfer transitions into the posted state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.posted","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_transfer.posted","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.posted"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.posted","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_transfer.posted"},"x-stripeNotPublic":true},"v2.money_management.outbound_transfer.returned":{"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":{"kind":"open","values":[{"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.money_management.outbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_transfer.returned"]}},"description":"Occurs when an OutboundTransfer transitions into the returned state.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.returned","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_transfer.returned","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.returned"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.returned","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_transfer.returned"},"x-stripeNotPublic":true},"v2.money_management.outbound_transfer.under_review":{"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 [Outbound Transfer](https://docs.stripe.com/api/v2/money-management/outbound-transfers/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":{"kind":"open","values":[{"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.money_management.outbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_transfer.under_review"]}},"description":"Occurs when an OutboundTransfer is placed under review.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.under_review","changes":{},"data":{}},"x-stableId":"v2.money_management.outbound_transfer.under_review","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.under_review"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.outbound_transfer","url":"/v2/money_management/outbound_transfers/obt_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.outbound_transfer.under_review","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.outbound_transfer.under_review"},"x-stripeNotPublic":true},"v2.money_management.outbound_transfer.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 [Outbound Transfer](https://docs.stripe.com/api/v2/money-management/outbound-transfers/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":{"kind":"open","values":[{"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.money_management.outbound_transfer"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.outbound_transfer.updated"]}},"description":"Event that is emitted every time an Outbound Transfer is updated.","example":{"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-stableId":"v2.money_management.outbound_transfer.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.money_management.outbound_transfer.updated"},"x-stripeNotPublic":true},"v2.money_management.payout_method":{"title":"Payout Method","required":["archived","available_payout_speeds","created","id","livemode","object","restricted","type","usage_status"],"type":"object","properties":{"alternative_reference":{"required":["id","type"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the alternative resource being referenced."},"type":{"type":"string","description":"The type of the alternative reference (e.g., external_account for V1 external accounts).","enum":["external_account","payment_method"],"x-stripeEnum":{"kind":"open","values":[{"description":"V1 External Account.","value":"external_account"},{"description":"V1 Payment Method.","value":"payment_method"}]}}},"description":"The alternative reference for this payout method, if it's a projected payout method."},"archived":{"type":"boolean","description":"Whether the payout method was archived. Payout methods can be archived through the /archive API,\nand they will not be automatically archived by Stripe. Archived payout methods cannot be used\nfor outbound money movement."},"available_payout_speeds":{"type":"array","description":"A set of available payout speeds for this payout method.","items":{"type":"string","enum":["instant","standard"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Instant.","value":"instant"},{"description":"Standard.","value":"standard"}]}}},"bank_account":{"required":["bank_account_type","bank_name","country","enabled_delivery_schemes","last4","supported_currencies"],"type":"object","properties":{"bank_account_type":{"type":"string","description":"The type of bank account (checking or savings).","enum":["checking","futsu","savings","toza"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Default value for most countries.\nChecking account.","value":"checking"},{"description":"Default value for Japan where vast majority of bank accounts are 'futsu'.\nJapan-specific bank account type (普通預金) which means \"ordinary\".","value":"futsu"},{"description":"Savings account.","value":"savings"},{"description":"Japan-specific bank account type (当座預金) which means \"current\".","value":"toza"}]}},"bank_name":{"type":"string","description":"The name of the bank this bank account is in. This field is populated automatically by Stripe."},"branch_number":{"type":"string","description":"The branch number of the bank account, if present."},"country":{"type":"string","description":"The country code of the bank account."},"enabled_delivery_schemes":{"type":"array","description":"List of enabled flows for this bank account (wire or local).","items":{"type":"string"}},"financial_connections_account":{"type":"string","description":"The ID of the Financial Connections Account used to create the bank account."},"last4":{"type":"string","description":"The last 4 digits of the account number."},"routing_number":{"type":"string","description":"The routing number of the bank account, if present."},"supported_currencies":{"type":"array","description":"The list of currencies supported by this bank account.","items":{"type":"string"}},"swift_code":{"type":"string","description":"The swift code of the bank or financial institution."}},"description":"The PayoutMethodBankAccount object details."},"card":{"required":["exp_month","exp_year","fingerprint","last4","supported_currencies"],"type":"object","properties":{"exp_month":{"type":"string","description":"The month the card expires."},"exp_year":{"type":"string","description":"The year the card expires."},"fingerprint":{"type":"string","description":"Uniquely identifies this particular card number. You can use this attribute to check whether two\nrecipients who’ve signed up with you are using the same card number, for example.","x-stripeNotPublic":true},"last4":{"type":"string","description":"The last 4 digits of the card number."},"supported_currencies":{"type":"array","description":"The list of currencies supported by this bank account.","items":{"type":"string"}}},"description":"The PayoutMethodCard object details."},"created":{"type":"string","description":"Created timestamp.","format":"date-time"},"id":{"type":"string","description":"ID of the PayoutMethod object."},"latest_outbound_setup_intent":{"type":"string","description":"ID of the underlying active OutboundSetupIntent object, if any.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.outbound_setup_intent"}}},"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.money_management.payout_method"]},"restricted":{"type":"boolean","description":"Whether the Payout Method is currently unusable for money movement, despite potentially being correctly set up.\nPlease reach out to Stripe Support for more information."},"type":{"type":"string","description":"Open Enum. The type of payout method.","enum":["bank_account","card","crypto_wallet"],"x-stripeEnum":{"kind":"open","values":[{"description":"Bank account.","value":"bank_account"},{"description":"Card.","value":"card"},{"description":"Crypto wallet.","value":"crypto_wallet"}]}},"usage_status":{"required":["payments","transfers"],"type":"object","properties":{"payments":{"type":"string","description":"Payments status - used when sending OutboundPayments (sending funds to recipients).\nIf disabled, enable the payout method by creating an OutboundSetupIntent using [`POST /v2/money_management/outbound_setup_intents`](https://docs.stripe.com/api/v2/money-management/outbound-setup-intents/create).","enum":["disabled","eligible","ineligible","invalid","requires_action"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Resources that are not enabled.","value":"disabled"},{"description":"Resources that have met all the necessary requirements.","value":"eligible"},{"description":"Resources that cannot currently be used for money movement (e.g. archived payout methods).\nThis status is not terminal.","value":"ineligible"},{"description":"Resources that can’t ever support the specified flow (e.g credit cards for transfers).","value":"invalid"},{"description":"Resources that need to meet more requirements / need to do more actions in order to be made usable.","value":"requires_action"}]}},"transfers":{"type":"string","description":"Transfers status - used when making an OutboundTransfer (sending funds to yourself).\nIf disabled, enable the payout method by creating an OutboundSetupIntent using [`POST /v2/money_management/outbound_setup_intents`](https://docs.stripe.com/api/v2/money-management/outbound-setup-intents/create).","enum":["disabled","eligible","ineligible","invalid","requires_action"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Resources that are not enabled.","value":"disabled"},{"description":"Resources that have met all the necessary requirements.","value":"eligible"},{"description":"Resources that cannot currently be used for money movement (e.g. archived payout methods).\nThis status is not terminal.","value":"ineligible"},{"description":"Resources that can’t ever support the specified flow (e.g credit cards for transfers).","value":"invalid"},{"description":"Resources that need to meet more requirements / need to do more actions in order to be made usable.","value":"requires_action"}]}}},"description":"Indicates whether the payout method has met the necessary requirements for outbound money movement."}},"description":"Use the PayoutMethods API to list and interact with PayoutMethod objects.","example":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"]},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"}},"x-resourceId":"v2.money_management.payout_method","x-stableId":"v2_resource_payout_method","x-stripeDocsSamples":[{"response":{"id":"usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2","object":"v2.money_management.payout_method","available_payout_speeds":["standard"],"bank_account":{"archived":false,"bank_name":"Test Bank","country":"US","enabled_delivery_options":["local"],"last4":"6789","routing_number":"110000000","supported_currencies":["usd"]},"created":"2025-03-04T16:32:04.907Z","latest_outbound_setup_intent":"osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk","type":"bank_account","usage_status":{"payments":"eligible","transfers":"eligible"}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/payout_methods"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/payout_methods/{id}"},{"method_name":"archive","method_on":"service","method_type":"custom","operation":"post","path":"/v2/money_management/payout_methods/{id}/archive"},{"method_name":"disable","method_on":"service","method_type":"custom","operation":"post","path":"/v2/money_management/payout_methods/{id}/disable"},{"method_name":"unarchive","method_on":"service","method_type":"custom","operation":"post","path":"/v2/money_management/payout_methods/{id}/unarchive"}],"x-stripeResource":{"class_name":"PayoutMethod","in_package":"v2.money_management"}},"v2.money_management.payout_method.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 [Payout Method](https://docs.stripe.com/api/v2/money-management/payout-methods/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":{"kind":"open","values":[{"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.money_management.payout_method"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.payout_method.created"]}},"description":"Occurs when a PayoutMethod is created.","example":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"client":{"type":"api_key","api_key":{"id":"4242"},"dashboard_user":{"email":"4242","ip_address":"4242","machine_identifier":"4242"},"stripe_action":{}},"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}},"x-stableId":"v2.money_management.payout_method.created","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"client":{"type":"api_key","api_key":{"id":"4242"},"dashboard_user":{"email":"4242","ip_address":"4242","machine_identifier":"4242"},"stripe_action":{}},"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":{"client":{"type":"api_key","api_key":{"id":"4242"},"dashboard_user":{"email":"4242","ip_address":"4242","machine_identifier":"4242"},"stripe_action":{}},"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.money_management.payout_method.created"},"x-stripeNotPublic":true},"v2.money_management.payout_method.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 [Payout Method](https://docs.stripe.com/api/v2/money-management/payout-methods/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":{"kind":"open","values":[{"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.money_management.payout_method"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.payout_method.updated"]}},"description":"Occurs when a PayoutMethod is updated.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65T9qz5vb8kyuH3jDpN16T9qz2Z9SQtIGtjTwSQlWYSQKu","object":"v2.core.event","type":"v2.money_management.payout_method.updated","livemode":true,"related_object":{"id":"usba_test_61T9qz3EsA8z0jZAC16T9qz2Z9SQtIGtjTwSQlWYSGVU","type":"v2.money_management.payout_method","url":"/v2/money_management/payout_methods/usba_test_61T9qz3EsA8z0jZAC16T9qz2Z9SQtIGtjTwSQlWYSGVU"},"changes":{"before":{"routing_number":"1110000","last4":"1234","account_type":"savings"},"after":{"routing_number":"0001111","last4":"0000","account_type":"checking"}},"reason":null},"x-stableId":"v2.money_management.payout_method.updated","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65T9qz5vb8kyuH3jDpN16T9qz2Z9SQtIGtjTwSQlWYSQKu","object":"v2.core.event","type":"v2.money_management.payout_method.updated","livemode":true,"related_object":{"id":"usba_test_61T9qz3EsA8z0jZAC16T9qz2Z9SQtIGtjTwSQlWYSGVU","type":"v2.money_management.payout_method","url":"/v2/money_management/payout_methods/usba_test_61T9qz3EsA8z0jZAC16T9qz2Z9SQtIGtjTwSQlWYSGVU"}},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_test_65T9qz5vb8kyuH3jDpN16T9qz2Z9SQtIGtjTwSQlWYSQKu","object":"v2.core.event","type":"v2.money_management.payout_method.updated","livemode":true,"related_object":{"id":"usba_test_61T9qz3EsA8z0jZAC16T9qz2Z9SQtIGtjTwSQlWYSGVU","type":"v2.money_management.payout_method","url":"/v2/money_management/payout_methods/usba_test_61T9qz3EsA8z0jZAC16T9qz2Z9SQtIGtjTwSQlWYSGVU"},"changes":{"before":{"routing_number":"1110000","last4":"1234","account_type":"savings"},"after":{"routing_number":"0001111","last4":"0000","account_type":"checking"}},"reason":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.payout_method.updated"},"x-stripeNotPublic":true},"v2.money_management.payout_methods_bank_account_spec":{"title":"Payout Methods Bank Account Spec","required":["countries","livemode","object"],"type":"object","properties":{"countries":{"type":"object","additionalProperties":{"required":["fields"],"type":"object","properties":{"fields":{"type":"array","description":"The list of fields for a country, along with associated information.","items":{"required":["local_name","local_name_human","max_length","min_length","placeholder","stripe_name","validation_regex"],"type":"object","properties":{"currencies":{"type":"array","description":"The currencies supported by the corresponding credentials for bank accounts in the specified country.","items":{"type":"string"}},"local_name":{"type":"string","description":"The local name of the field."},"local_name_human":{"required":["content","localization_key"],"type":"object","properties":{"content":{"type":"string","description":"The default content of the localizable string.","nullable":false},"localization_key":{"type":"string","description":"A unique key representing the instance of this localizable string.","nullable":false}},"description":"The human readable local name of the field."},"max_length":{"type":"integer","description":"The maximum length of the field."},"min_length":{"type":"integer","description":"THe minimum length of the field."},"placeholder":{"type":"string","description":"The placeholder value of the field."},"stripe_name":{"type":"string","description":"The stripe name of the field."},"validation_regex":{"type":"string","description":"The validation regex of the field."}}}}}},"description":"The list of specs by country."},"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.money_management.payout_methods_bank_account_spec"]}},"description":"The PayoutMethodsBankAccountSpec object.","example":{"object":"v2.money_management.payout_methods_bank_account_spec","countries":{"US":{"fields":[{"local_name":"account_number","local_name_human":{"localization_key":"payout_methods.bank_account.account_number","content":"Account Number"},"max_length":17,"min_length":1,"placeholder":"000123456789","stripe_name":"account_number","validation_regex":"\\A\\d{1,17}\\z"},{"local_name":"routing_number","local_name_human":{"localization_key":"payout_methods.bank_account.routing_number","content":"Routing Number"},"max_length":9,"min_length":9,"placeholder":"110000000","stripe_name":"routing_number","validation_regex":"\\A(01|02|03|04|05|06|07|08|09|10|11|12|21|22|23|24|25|26|27|28|29|30|31|32)[0-9]{7}\\z"}]}}},"x-resourceId":"v2.money_management.payout_methods_bank_account_spec","x-stableId":"v2_resource_payout_methods_bank_account_spec","x-stripeDocsSamples":[{"response":{"object":"v2.money_management.payout_methods_bank_account_spec","countries":{"US":{"fields":[{"local_name":"account_number","local_name_human":{"localization_key":"payout_methods.bank_account.account_number","content":"Account Number"},"max_length":17,"min_length":1,"placeholder":"000123456789","stripe_name":"account_number","validation_regex":"\\A\\d{1,17}\\z"},{"local_name":"routing_number","local_name_human":{"localization_key":"payout_methods.bank_account.routing_number","content":"Routing Number"},"max_length":9,"min_length":9,"placeholder":"110000000","stripe_name":"routing_number","validation_regex":"\\A(01|02|03|04|05|06|07|08|09|10|11|12|21|22|23|24|25|26|27|28|29|30|31|32)[0-9]{7}\\z"}]}}}}],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/payout_methods_bank_account_spec"}],"x-stripeResource":{"class_name":"PayoutMethodsBankAccountSpec","in_package":"v2.money_management","singleton":true}},"v2.money_management.received_credit":{"title":"Received Credit","required":["amount","amount_received","created","financial_account","id","livemode","object","status","type"],"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":"The amount and currency of the ReceivedCredit."},"amount_received":{"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":"The amount and currency of the ReceivedCredit that was received."},"balance_transfer":{"required":["type"],"type":"object","properties":{"from_account":{"type":"string","description":"The ID of the account that owns the source object originated the ReceivedCredit."},"outbound_payment":{"type":"string","description":"The ID of the outbound payment object that originated the ReceivedCredit."},"outbound_transfer":{"type":"string","description":"The ID of the outbound transfer object that originated the ReceivedCredit."},"payout":{"type":"string","description":"The ID of the payout object that originated the ReceivedCredit."},"transfer":{"type":"string","description":"The ID of the v1 transfer object that originated the ReceivedCredit."},"type":{"type":"string","description":"Open Enum. The type of Stripe Money Movement that originated the ReceivedCredit.","enum":["outbound_payment","outbound_transfer","payout","transfer","payout_v1"],"x-stripeEnum":{"kind":"open","values":[{"description":"Balance transfer initiated by v2 outbound payment.","value":"outbound_payment"},{"description":"Balance transfer initiated by v2 outbound transfer.","value":"outbound_transfer"},{"description":"Balance transfer initiated by v1 payouts request.","value":"payout"},{"description":"Balance transfer initiated by a v1 transfer.","value":"transfer"},{"description":"Replaced by payout, kept for backwards compatibility.","value":"payout_v1"}]}}},"description":"This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit. Present if `type` field value is `balance_transfer`."},"bank_transfer":{"required":["financial_address","originating_bank_account"],"type":"object","properties":{"financial_address":{"type":"string","description":"Financial Address on which funds for ReceivedCredit were received.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_address"}}},"gb_bank_account":{"required":["network"],"type":"object","properties":{"account_holder_name":{"type":"string","description":"The bank name the transfer was received from."},"bank_name":{"type":"string","description":"The bank name the transfer was received from."},"last4":{"type":"string","description":"The last 4 digits of the account number that originated the transfer."},"network":{"type":"string","description":"Open Enum. The money transmission network used to send funds for this ReceivedCredit.","enum":["chaps","fps"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds received via CHAPS (Clearing House Automated Payment System) network.","value":"chaps"},{"description":"Funds received via FPS (Faster Payment System) network.","value":"fps"}]}},"sort_code":{"type":"string","description":"The sort code of the account that originated the transfer."}},"description":"Deprecated. Use `originating_bank_account.sort_code` instead."},"originating_bank_account":{"required":["type"],"type":"object","properties":{"aba":{"required":["network"],"type":"object","properties":{"account_holder_name":{"type":"string","description":"The name of the account holder that sent the payment."},"bank_name":{"type":"string","description":"The bank name the transfer was received from."},"last4":{"type":"string","description":"The last 4 digits of the account number that originated the transfer."},"network":{"type":"string","description":"Open Enum. The money transmission network used to send funds for this ReceivedCredit.","enum":["ach","rtp","us_domestic_wire"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds received via ACH (Automated Clearing House) network.","value":"ach"},{"description":"Funds received via the RTP (Real Time Payments) network.","value":"rtp"},{"description":"Funds received via the Fedwire domestic US network.","value":"us_domestic_wire"}]}},"routing_number":{"type":"string","description":"The routing number of the account that originated the transfer."}},"description":"Hash containing the transaction bank details. Present if `type` field value is `aba`."},"iban":{"required":["network"],"type":"object","properties":{"account_holder_name":{"type":"string","description":"The account holder name of the bank account the transfer was received from."},"bank_name":{"type":"string","description":"The bank name the transfer was received from."},"bic":{"type":"string","description":"The BIC/SWIFT code of the account that originated the transfer."},"country":{"type":"string","description":"The origination country of the bank transfer."},"iban":{"type":"string","description":"The IBAN that originated the transfer."},"network":{"type":"string","description":"Open Enum. The money transmission network used to send funds for this ReceivedCredit.","enum":["sepa_credit_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds received via SEPA network.","value":"sepa_credit_transfer"}]}}},"description":"Hash containing the transaction bank details. Present if `type` field value is `iban`."},"sort_code":{"required":["network"],"type":"object","properties":{"account_holder_name":{"type":"string","description":"The account holder name of the bank account the transfer was received from."},"bank_name":{"type":"string","description":"The bank name the transfer was received from."},"last4":{"type":"string","description":"The last 4 digits of the account number that originated the transfer."},"network":{"type":"string","description":"Open Enum. The money transmission network used to send funds for this ReceivedCredit.","enum":["chaps","fps"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds received via CHAPS (Clearing House Automated Payment System) network.","value":"chaps"},{"description":"Funds received via FPS (Faster Payment System) network.","value":"fps"}]}},"sort_code":{"type":"string","description":"The sort code of the account that originated the transfer."}},"description":"Hash containing the transaction bank details. Present if `type` field value is `sort_code`."},"type":{"type":"string","description":"Open Enum. The type of bank transfer that originated this ReceivedCredit.","enum":["aba","iban","sort_code"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds received via ABA routing. See more details in the field \"aba\".","value":"aba"},{"description":"Funds received via IBAN. See more details in the field \"iban\".","value":"iban"},{"description":"Funds received via sort code. See more details in the field \"sort_code\".","value":"sort_code"}]}}},"description":"Hash containing the originating bank account details and type for this bank transfer."},"sepa_bank_account":{"required":["network"],"type":"object","properties":{"account_holder_name":{"type":"string","description":"The account holder name of the bank account the transfer was received from."},"bank_name":{"type":"string","description":"The bank name the transfer was received from."},"bic":{"type":"string","description":"The BIC of the SEPA account."},"country":{"type":"string","description":"The origination country of the bank transfer."},"iban":{"type":"string","description":"The IBAN that originated the transfer."},"network":{"type":"string","description":"The money transmission network used to send funds for this ReceivedCredit.","enum":["sepa_credit_transfer"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds received via SEPA network.","value":"sepa_credit_transfer"}]}}},"description":"Deprecated. Use `originating_bank_account.iban` instead."},"statement_descriptor":{"type":"string","description":"Freeform string set by originator of the external ReceivedCredit."},"us_bank_account":{"required":["network"],"type":"object","properties":{"account_holder_name":{"type":"string","description":"The name of the account holder that sent the payment."},"bank_name":{"type":"string","description":"The bank name the transfer was received from."},"last4":{"type":"string","description":"The last 4 digits of the account number that originated the transfer."},"network":{"type":"string","description":"Open Enum. The money transmission network used to send funds for this ReceivedCredit.","enum":["ach","rtp","us_domestic_wire"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds received via ACH (Automated Clearing House) network.","value":"ach"},{"description":"Funds received via the RTP (Real Time Payments) network.","value":"rtp"},{"description":"Funds received via the Fedwire domestic US network.","value":"us_domestic_wire"}]}},"routing_number":{"type":"string","description":"The routing number of the account that originated the transfer."}},"description":"Deprecated. Use `originating_bank_account.aba` instead."}},"description":"This object stores details about the originating banking transaction that resulted in the ReceivedCredit. Present if `type` field value is `bank_transfer`."},"created":{"type":"string","description":"Time at which the ReceivedCredit was created.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"description":{"type":"string","description":"Freeform string set by originator of the ReceivedCredit."},"financial_account":{"type":"string","description":"Financial Account ID on which funds for ReceivedCredit were received.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}},"id":{"type":"string","description":"Unique identifier for the ReceivedCredit."},"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.money_management.received_credit"]},"receipt_url":{"type":"string","description":"A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe’s money transmission licenses."},"status":{"type":"string","description":"Open Enum. The status of the ReceivedCredit.","enum":["failed","pending","returned","succeeded"],"x-stripeEnum":{"kind":"open","values":[{"description":"The ReceivedCredit was rejected by Stripe and funds don't change existing balance. More details why it failed can be obtained from `status_details` field.","value":"failed"},{"description":"The ReceivedCredit is still being processed. More details why it is pending can be obtained from `status_details` field.","value":"pending"},{"description":"The ReceivedCredit was returned to the originator bank and the balance has been adjusted by deducting the original ReceivedCredit amount. More details why it was returned can be obtained from `status_details` field.","value":"returned"},{"description":"The ReceivedCredit was successfully processed and balance reflects the received funds. Funds might not yet be available if the ReceivedCredit has delayed availability.","value":"succeeded"}]}},"status_details":{"type":"object","properties":{"failed":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Open Enum. The `failed` status reason.","enum":["capability_inactive","currency_unsupported_on_financial_address","financial_address_inactive","stripe_rejected"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds rejected because the Financial Address feature on the associated Financial Account is inactive. Contact Stripe to re-enable the capability.","value":"capability_inactive"},{"description":"Funds were rejected due to a discrepancy between the currency of the funds and the supported currencies of the Financial Address.","value":"currency_unsupported_on_financial_address"},{"description":"Funds rejected because associated Financial Address that has been archived.","value":"financial_address_inactive"},{"description":"Funds rejected by internal Stripe rules.","value":"stripe_rejected"}]}}},"description":"Hash that provides additional information regarding the reason behind a `failed` ReceivedCredit status. It is only present when the ReceivedCredit status is `failed`."},"returned":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Open Enum. The `returned` status reason.","enum":["originator_initiated_reversal"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds were returned due to a request for reversal by the originating bank.","value":"originator_initiated_reversal"}]}}},"description":"Hash that provides additional information regarding the reason behind a `returned` ReceivedCredit status. It is only present when the ReceivedCredit status is `returned`."}},"description":"This hash contains detailed information that elaborates on the specific status of the ReceivedCredit. e.g the reason behind a failure if the status is marked as `failed`."},"status_transitions":{"type":"object","properties":{"failed_at":{"type":"string","description":"Timestamp describing when the ReceivedCredit was marked as `failed`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"returned_at":{"type":"string","description":"Timestamp describing when the ReceivedCredit changed status to `returned`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"succeeded_at":{"type":"string","description":"Timestamp describing when the ReceivedCredit was marked as `succeeded`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"}},"description":"Hash containing timestamps of when the object transitioned to a particular status."},"type":{"type":"string","description":"Open Enum. The type of flow that caused the ReceivedCredit.","enum":["balance_transfer","bank_transfer","external_credit"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds received via internal Stripe balance transfer.","value":"balance_transfer"},{"description":"Funds received as a bank transfer from external rails, such as ACH, Wire, RTP, etc.","value":"bank_transfer"},{"description":"Replaced by bank_transfer, kept for backwards compatibility.","value":"external_credit"}]}}},"description":"Use ReceivedCredits API to retrieve information on when, where, and how funds are sent into your FinancialAccount.","example":{"id":"rc_61O18kMR4G9BiyFkn16NsjVW2gfQu2lIgkGQVy6ueCx6","object":"v2.money_management.received_credit","financial_account":"fa_65NvHabRWMmVKVjernQ16NsjgsfdSQu2lIgkGQVy6ueDtY","amount":{"value":100,"currency":"usd"},"description":"Weekly transfer 1","type":"bank_transfer","bank_transfer":{"origin_type":"us_bank_account","statement_descriptor":"Fund Stripe account 05/12","us_bank_account":{"last4":"4557","routing_number":"011000022","bank_name":"Goldman Sachs","network":"ach"},"financial_address":"finaddr_61NvHgGH9ksEFkYqj16NsjVW4dSQu2lIgkGQVy6ueWsx"},"status":"succeeded","status_details":null,"created":"2023-05-12T16:27:02.086Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk8wTVlLWjBTUURuM3A5OG9tZkQwWEEowNT4ogYyBvspfuDuEjpFlCZjXpjpVKRcHPK43kfFldwrwOO8ZPmRHjQmXL1jPf1GWWgoFxtL61dBWz-W2mEzwRgIgC0wPJi7M3HCUIOkSlwyfvHi","status_transitions":{"succeeded_at":"2023-05-12T16:27:02.086Z","failed_at":null,"returned_at":null}},"x-resourceId":"v2.money_management.received_credit","x-stableId":"v2_resource_received_credit","x-stripeDocsSamples":[{"response":{"id":"rc_61O18kMR4G9BiyFkn16NsjVW2gfQu2lIgkGQVy6ueCx6","object":"v2.money_management.received_credit","financial_account":"fa_65NvHabRWMmVKVjernQ16NsjgsfdSQu2lIgkGQVy6ueDtY","amount":{"value":100,"currency":"usd"},"description":"Weekly transfer 1","type":"bank_transfer","bank_transfer":{"origin_type":"us_bank_account","statement_descriptor":"Fund Stripe account 05/12","us_bank_account":{"last4":"4557","routing_number":"011000022","bank_name":"Goldman Sachs","network":"ach"},"financial_address":"finaddr_61NvHgGH9ksEFkYqj16NsjVW4dSQu2lIgkGQVy6ueWsx"},"status":"succeeded","status_details":null,"created":"2023-05-12T16:27:02.086Z","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNk8wTVlLWjBTUURuM3A5OG9tZkQwWEEowNT4ogYyBvspfuDuEjpFlCZjXpjpVKRcHPK43kfFldwrwOO8ZPmRHjQmXL1jPf1GWWgoFxtL61dBWz-W2mEzwRgIgC0wPJi7M3HCUIOkSlwyfvHi","status_transitions":{"succeeded_at":"2023-05-12T16:27:02.086Z","failed_at":null,"returned_at":null}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/received_credits"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/received_credits/{id}"}],"x-stripeResource":{"class_name":"ReceivedCredit","in_package":"v2.money_management"}},"v2.money_management.received_credit.available":{"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":["transaction_id"],"type":"object","properties":{"transaction_id":{"type":"string","description":"The transaction ID of the received credit."}},"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":{"kind":"open","values":[{"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.money_management.received_credit"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.received_credit.available"]}},"description":"Occurs when a ReceivedCredit's funds are received and are available in your balance.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.available","changes":{},"data":{"transaction_id":"trxn_65SIg2l4L4cgf1QMQle13Ns7tI51SQD5CcHYMPnDCEaBfE"}},"x-stableId":"v2.money_management.received_credit.available","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.available"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.available","changes":{},"data":{"transaction_id":"trxn_65SIg2l4L4cgf1QMQle13Ns7tI51SQD5CcHYMPnDCEaBfE"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.received_credit.available"},"x-stripeNotPublic":true},"v2.money_management.received_credit.failed":{"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":{"kind":"open","values":[{"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.money_management.received_credit"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.received_credit.failed"]}},"description":"Occurs when a ReceivedCredit is attempted to your balance and fails. See the status_details for more information.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.failed","changes":{},"data":{}},"x-stableId":"v2.money_management.received_credit.failed","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.failed"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.failed","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.received_credit.failed"},"x-stripeNotPublic":true},"v2.money_management.received_credit.returned":{"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":{"kind":"open","values":[{"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.money_management.received_credit"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.received_credit.returned"]}},"description":"Occurs when a ReceivedCredit is reversed, returned to the originator, and deducted from your balance.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.returned","changes":{},"data":{}},"x-stableId":"v2.money_management.received_credit.returned","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.returned"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.returned","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.received_credit.returned"},"x-stripeNotPublic":true},"v2.money_management.received_credit.succeeded":{"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":{"kind":"open","values":[{"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.money_management.received_credit"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.received_credit.succeeded"]}},"description":"Occurs when a ReceivedCredit succeeds.","example":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.succeeded","changes":{},"data":{}},"x-stableId":"v2.money_management.received_credit.succeeded","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.succeeded"},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.money_management.received_credit","url":"/v2/money_management/received_credits/rc_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.money_management.received_credit.succeeded","changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.received_credit.succeeded"},"x-stripeNotPublic":true},"v2.money_management.received_debit":{"title":"Received Debit","required":["amount","created","financial_account","id","livemode","object","status","type"],"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":"Amount and currency of the ReceivedDebit."},"bank_transfer":{"required":["financial_address","payment_method_type"],"type":"object","properties":{"financial_address":{"type":"string","description":"The Financial Address that was debited.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_address"}}},"payment_method_type":{"type":"string","description":"Open Enum. The type of the payment method used to originate the debit.","enum":["us_bank_account"],"x-stripeEnum":{"kind":"open","values":[{"description":"The debit was originated from a US Bank Account.","value":"us_bank_account"}]}},"statement_descriptor":{"type":"string","description":"The statement descriptor set by the originator of the debit."},"us_bank_account":{"required":["network"],"type":"object","properties":{"bank_name":{"type":"string","description":"The name of the bank the debit originated from."},"network":{"type":"string","description":"Open Enum. The bank network the debit was originated on.","enum":["ach"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds received via ACH (Automated Clearing House) network.","value":"ach"}]}},"routing_number":{"type":"string","description":"The routing number of the bank that originated the debit."}},"description":"Object containing details of the US Bank Account that originated the debit.\nPresent when the debit was originated via ACH."}},"description":"This object stores details about the originating banking transaction that resulted in the ReceivedDebit. Present if `type` field value is `bank_transfer`."},"created":{"type":"string","description":"The time at which the ReceivedDebit was created.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.","format":"date-time"},"description":{"type":"string","description":"Freeform string sent by the originator of the ReceivedDebit."},"financial_account":{"type":"string","description":"Financial Account on which funds for ReceivedDebit were debited.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.money_management.financial_account"}}},"id":{"type":"string","description":"Unique identifier for the ReceivedDebit."},"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.money_management.received_debit"]},"receipt_url":{"type":"string","description":"A link to the Stripe-hosted receipt for this ReceivedDebit."},"status":{"type":"string","description":"Open Enum. The status of the ReceivedDebit.","enum":["canceled","failed","pending","returned","succeeded"],"x-stripeEnum":{"kind":"open","values":[{"description":"The ReceivedDebit was canceled and the balance has been adjusted.","value":"canceled"},{"description":"The ReceivedDebit was rejected by Stripe and funds don't change existing balance.\nMore details why it failed can be obtained from `status_details`.","value":"failed"},{"description":"The ReceivedDebit is still being processed.","value":"pending"},{"description":"The ReceivedDebit was returned from the originator bank and the balance has been adjusted accordingly.","value":"returned"},{"description":"The ReceivedDebit was successfully processed and balance reflects the withdrawn funds.\nNote that this is not a terminal state. The ReceivedDebit status may transition to `returned` even after `succeeded`.","value":"succeeded"}]}},"status_details":{"required":["failed"],"type":"object","properties":{"failed":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Open Enum. The reason for the failure of the ReceivedDebit.","enum":["capability_inactive","financial_address_inactive","insufficient_funds","stripe_rejected"],"x-stripeEnum":{"kind":"open","values":[{"description":"Funds rejected because of inactive financial account capability.","value":"capability_inactive"},{"description":"Funds rejected because the associated Financial Address has been archived.","value":"financial_address_inactive"},{"description":"Funds rejected due to insufficient funds on balance.","value":"insufficient_funds"},{"description":"Funds were rejected Stripe.","value":"stripe_rejected"}]}}},"description":"Information that elaborates on the `failed` status of a ReceivedDebit.\nIt is only present when the ReceivedDebit status is `failed`."}},"description":"Detailed information about the status of the ReceivedDebit."},"status_transitions":{"type":"object","properties":{"canceled_at":{"type":"string","description":"The time when the ReceivedDebit was marked as `canceled`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.","format":"date-time"},"failed_at":{"type":"string","description":"The time when the ReceivedDebit was marked as `failed`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.","format":"date-time"},"succeeded_at":{"type":"string","description":"The time when the ReceivedDebit was marked as `succeeded`.\nRepresented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.","format":"date-time"}},"description":"The time at which the ReceivedDebit transitioned to a particular status."},"type":{"type":"string","description":"Open Enum. The type of the ReceivedDebit.","enum":["bank_transfer","external_debit"],"x-stripeEnum":{"kind":"open","values":[{"description":"The ReceivedDebit is the result of an bank transfer.","value":"bank_transfer"},{"description":"Replaced by BANK_TRANSFER, kept for backwards compatibility.","value":"external_debit"}]}}},"description":"ReceivedDebit resource","example":{"id":"rd_test_61PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWDo","object":"v2.money_management.received_debit","amount":{"value":55,"currency":"usd"},"created":"2023-11-06T11:01:26.155Z","description":"ACCTVERIFY","bank_transfer":{"financial_address":"finaddr_test_61PIoViC3mXdq1lAw16PITSVZ3SQ2qpWK2k4kS9loTj6","payment_method_type":"us_bank_account","statement_descriptor":"ACCTVERIFY","us_bank_account":{"bank_name":"","network":"ach","routing_number":"111000123"}},"financial_account":"fa_test_65PIoVY8QWjXEgwaibT16PITSVZ3SQ2qpWK2k4kS9loJCK","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNlBJVFNWWjNTUTJxcFdLMms0a1M5bG8osJGjqgYyBlCBssNJPDpFlMRJIX8eJhbfPGVgqFw4oOmpp3COHbLKGzjRWAayQfKXUHSmoeS_VZTkCI9thg4KQHQUKGXSq5XRO06x44xrmFQCcRT6","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"succeeded_at":"2023-11-06T11:01:26.155Z"},"type":"bank_transfer"},"x-resourceId":"v2.money_management.received_debit","x-stableId":"v2_resource_received_debit","x-stripeDocsSamples":[{"response":{"id":"rd_test_61PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWDo","object":"v2.money_management.received_debit","amount":{"value":55,"currency":"usd"},"created":"2023-11-06T11:01:26.155Z","description":"ACCTVERIFY","bank_transfer":{"financial_address":"finaddr_test_61PIoViC3mXdq1lAw16PITSVZ3SQ2qpWK2k4kS9loTj6","payment_method_type":"us_bank_account","statement_descriptor":"ACCTVERIFY","us_bank_account":{"bank_name":"","network":"ach","routing_number":"111000123"}},"financial_account":"fa_test_65PIoVY8QWjXEgwaibT16PITSVZ3SQ2qpWK2k4kS9loJCK","receipt_url":"https://payments.stripe.com/transaction_receipt/CCMQARojCiF3a3NwX3Rlc3RfNlBJVFNWWjNTUTJxcFdLMms0a1M5bG8osJGjqgYyBlCBssNJPDpFlMRJIX8eJhbfPGVgqFw4oOmpp3COHbLKGzjRWAayQfKXUHSmoeS_VZTkCI9thg4KQHQUKGXSq5XRO06x44xrmFQCcRT6","status":"succeeded","status_details":null,"status_transitions":{"failed_at":null,"succeeded_at":"2023-11-06T11:01:26.155Z"},"type":"bank_transfer"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/received_debits"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/received_debits/{id}"}],"x-stripeResource":{"class_name":"ReceivedDebit","in_package":"v2.money_management"}},"v2.money_management.received_debit.canceled":{"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 [Received Debit](https://docs.stripe.com/api/v2/money-management/received-debits/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":{"kind":"open","values":[{"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.money_management.received_debit"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.received_debit.canceled"]}},"description":"Occurs when a ReceivedDebit is canceled.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKe","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKf","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKg"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKh","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKh"},"type":"v2.money_management.received_debit.canceled","livemode":true,"changes":{},"data":{}},"x-stableId":"v2.money_management.received_debit.canceled","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKe","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKf","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKg"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKh","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKh"},"type":"v2.money_management.received_debit.canceled","livemode":true},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKe","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKf","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKg"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKh","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWKh"},"type":"v2.money_management.received_debit.canceled","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.received_debit.canceled"},"x-stripeNotPublic":true},"v2.money_management.received_debit.failed":{"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 [Received Debit](https://docs.stripe.com/api/v2/money-management/received-debits/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":{"kind":"open","values":[{"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.money_management.received_debit"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.received_debit.failed"]}},"description":"Occurs when a ReceivedDebit fails.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLi","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLj","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLk"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLl","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLl"},"type":"v2.money_management.received_debit.failed","livemode":true,"changes":{},"data":{}},"x-stableId":"v2.money_management.received_debit.failed","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLi","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLj","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLk"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLl","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLl"},"type":"v2.money_management.received_debit.failed","livemode":true},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLi","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLj","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLk"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLl","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWLl"},"type":"v2.money_management.received_debit.failed","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.received_debit.failed"},"x-stripeNotPublic":true},"v2.money_management.received_debit.pending":{"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 [Received Debit](https://docs.stripe.com/api/v2/money-management/received-debits/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":{"kind":"open","values":[{"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.money_management.received_debit"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.received_debit.pending"]}},"description":"Occurs when a ReceivedDebit is set to pending.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMm","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMn","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMo"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMp","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMp"},"type":"v2.money_management.received_debit.pending","livemode":true,"changes":{},"data":{}},"x-stableId":"v2.money_management.received_debit.pending","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMm","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMn","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMo"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMp","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMp"},"type":"v2.money_management.received_debit.pending","livemode":true},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMm","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMn","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMo"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMp","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWMp"},"type":"v2.money_management.received_debit.pending","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.received_debit.pending"},"x-stripeNotPublic":true},"v2.money_management.received_debit.succeeded":{"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 [Received Debit](https://docs.stripe.com/api/v2/money-management/received-debits/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":{"kind":"open","values":[{"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.money_management.received_debit"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.received_debit.succeeded"]}},"description":"Occurs when a ReceivedDebit succeeds.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNq","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNr","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNs"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNt","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNt"},"type":"v2.money_management.received_debit.succeeded","livemode":true,"changes":{},"data":{}},"x-stableId":"v2.money_management.received_debit.succeeded","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNq","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNr","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNs"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNt","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNt"},"type":"v2.money_management.received_debit.succeeded","livemode":true},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNq","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNr","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNs"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNt","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWNt"},"type":"v2.money_management.received_debit.succeeded","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.received_debit.succeeded"},"x-stripeNotPublic":true},"v2.money_management.received_debit.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 [Received Debit](https://docs.stripe.com/api/v2/money-management/received-debits/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":{"kind":"open","values":[{"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.money_management.received_debit"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.received_debit.updated"]}},"description":"Occurs when a ReceivedDebit is updated.","example":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOu","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOv","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOw"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOx","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOx"},"type":"v2.money_management.received_debit.updated","livemode":true,"changes":{},"data":{}},"x-stableId":"v2.money_management.received_debit.updated","x-stripeDocsSamples":[{"payload":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOu","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOv","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOw"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOx","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOx"},"type":"v2.money_management.received_debit.updated","livemode":true},"response":{"created":"2025-01-01T00:00:00.000Z","id":"evt_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOu","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOv","idempotency_key":"idem_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOw"}},"related_object":{"id":"rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOx","type":"v2.money_management.received_debit","url":"/v2/money_management/received_debits/rd_65PIoVqwBhv9ka9wC16PITSVZ3SQ2qpWK2k4kS9loWOx"},"type":"v2.money_management.received_debit.updated","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.received_debit.updated"},"x-stripeNotPublic":true},"v2.money_management.transaction":{"title":"Transaction","required":["amount","balance_impact","category","created","financial_account","id","livemode","object","status","status_transitions"],"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":"The amount of the Transaction."},"balance_impact":{"required":["available","inbound_pending","outbound_pending"],"type":"object","properties":{"available":{"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":"Impact to the available balance."},"inbound_pending":{"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":"Impact to the inbound_pending balance."},"outbound_pending":{"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":"Impact to the outbound_pending balance."}},"description":"The delta to the FinancialAccount's balance. The balance_impact for the Transaction is equal to sum of its\nTransactionEntries that have `effective_at`s in the past."},"category":{"type":"string","description":"Open Enum. A descriptive category used to classify the Transaction.","enum":["adjustment","currency_conversion","inbound_transfer","inbound_transfer_reversal","outbound_payment","outbound_payment_reversal","outbound_transfer","outbound_transfer_reversal","received_credit","received_credit_reversal","received_debit","received_debit_reversal","stripe_fee","stripe_fee_tax"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Transaction is the main Transaction for an Adjustment.","value":"adjustment"},{"description":"This Transaction is for a currency conversion. There will be two Transactions per conversion (one per currency).","value":"currency_conversion"},{"description":"This Transaction is the main Transaction for an InboundTransfer.","value":"inbound_transfer"},{"description":"Funds deducted when an InboundTransfer fails after the initial transaction already posted.","value":"inbound_transfer_reversal"},{"description":"This Transaction is the main Transaction for an OutboundPayment.","value":"outbound_payment"},{"description":"Funds returned to the balance when an OutboundPayment is returned or reversed.","value":"outbound_payment_reversal"},{"description":"This Transaction is the main Transaction for an OutboundTransfer.","value":"outbound_transfer"},{"description":"Funds returned to the balance when an OutboundTransfer is returned or reversed.","value":"outbound_transfer_reversal"},{"description":"This Transaction is the main Transaction for a ReceivedCredit.","value":"received_credit"},{"description":"Funds deducted when a ReceivedCredit is reversed.","value":"received_credit_reversal"},{"description":"This Transaction is the main Transaction for a ReceivedDebit.","value":"received_debit"},{"description":"Funds returned to the balance when a ReceivedDebit is reversed.","value":"received_debit_reversal"},{"description":"This Transaction is for a fee assessed by Stripe.","value":"stripe_fee"},{"description":"This Transaction is for Stripe fee tax.","value":"stripe_fee_tax"}]}},"counterparty":{"type":"object","properties":{"name":{"type":"string","description":"Name of the counterparty."}},"description":"Counterparty to this Transaction."},"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"},"description":{"type":"string","description":"Description of this Transaction. When applicable, the description is copied from the Flow object at the time\nof transaction creation."},"financial_account":{"type":"string","description":"Indicates the FinancialAccount affected by this Transaction."},"flow":{"required":["type"],"type":"object","properties":{"adjustment":{"type":"string","description":"If applicable, the ID of the Adjustment that created this Transaction."},"currency_conversion":{"type":"string","description":"In the future, this will be the ID of the currency conversion that created this Transaction. For now, this field is always null."},"fee_transaction":{"type":"string","description":"If applicable, the ID of the FeeTransaction that created this Transaction."},"inbound_transfer":{"type":"string","description":"If applicable, the ID of the InboundTransfer that created this Transaction."},"outbound_payment":{"type":"string","description":"If applicable, the ID of the OutboundPayment that created this Transaction."},"outbound_transfer":{"type":"string","description":"If applicable, the ID of the OutboundTransfer that created this Transaction."},"received_credit":{"type":"string","description":"If applicable, the ID of the ReceivedCredit that created this Transaction."},"received_debit":{"type":"string","description":"If applicable, the ID of the ReceivedDebit that created this Transaction."},"type":{"type":"string","description":"Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow.","enum":["adjustment","currency_conversion","fee_transaction","inbound_transfer","outbound_payment","outbound_transfer","received_credit","received_debit"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Transaction was created by an Adjustment.","value":"adjustment"},{"description":"This Transaction was created by a currency conversion.","value":"currency_conversion"},{"description":"This Transaction was created by a FeeTransaction.","value":"fee_transaction"},{"description":"This Transaction was created by an InboundTransfer.","value":"inbound_transfer"},{"description":"This Transaction was created by an OutboundPayment.","value":"outbound_payment"},{"description":"This Transaction was created by an OutboundTransfer.","value":"outbound_transfer"},{"description":"This Transaction was created by a ReceivedCredit.","value":"received_credit"},{"description":"This Transaction was created by a ReceivedDebit.","value":"received_debit"}]}}},"description":"Details about the Flow object that created the Transaction."},"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."},"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.money_management.transaction"]},"status":{"type":"string","description":"Closed Enum. Current status of the Transaction.\nA Transaction is `pending` if either `balance_impact.inbound_pending` or `balance_impact.outbound_pending` is non-zero.\nA Transaction is `posted` if only `balance_impact.available` is non-zero.\nA Transaction is `void` if there is no balance impact.\n`posted` and `void` are terminal states, and no additional entries will be added to the Transaction.","enum":["pending","posted","void"],"x-stripeEnum":{"kind":"closed","values":[{"description":"This Transaction's balance impact is still pending (non-zero impact to either `inbound_pending` or `outbound_pending`). Further entries may still be added that move funds between availability states.","value":"pending"},{"description":"This Transaction's balance impact is fully posted (only `available` will be non-zero). This status is final and no further entries will be added.","value":"posted"},{"description":"This Transaction's balance impact has been voided (all values are zero). This status is final and no further entries will be added.","value":"void"}]}},"status_transitions":{"type":"object","properties":{"posted_at":{"type":"string","description":"The time at which the Transaction became posted. Only present if status == posted.","format":"date-time"},"void_at":{"type":"string","description":"The time at which the Transaction became void. Only present if status == void.","format":"date-time"}},"description":"Timestamps for when the Transaction transitioned to a particular status."}},"description":"Use Transactions to view changes to your FinancialAccount balance over time. Every flow that moves money, such as OutboundPayments or ReceivedCredits, will have one or more Transactions that describes how the flow impacted your balance. Note that while the FinancialAccount balance will always be up to date, be aware that Transactions and TransactionEntries are created shortly after to reflect changes.","example":{"id":"trxn_65NygiBHKcUPGUI8A5Q16NoTesLDSQ1IgNPigisRKq0GAq","object":"v2.money_management.transaction","amount":{"value":-1000,"currency":"usd"},"balance_impact":{"available":{"value":-1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":0,"currency":"usd"}},"category":"outbound_transfer","created":"2023-03-24T22:06:37.343Z","financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","flow":{"outbound_transfer":"obt_65NygiAXfaPmQ5ev3oz16NoTesLDSQ1IgNPigisRKq07Fg","type":"outbound_transfer"},"livemode":true,"status":"posted","status_transitions":{"posted_at":"2023-03-24T22:06:35.409Z","void_at":null}},"x-resourceId":"v2.money_management.transaction","x-stableId":"v2_resource_transaction","x-stripeDocsSamples":[{"title":"Outbound transfer","response":{"id":"trxn_65NygiBHKcUPGUI8A5Q16NoTesLDSQ1IgNPigisRKq0GAq","object":"v2.money_management.transaction","amount":{"value":-1000,"currency":"usd"},"balance_impact":{"available":{"value":-1000,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":0,"currency":"usd"}},"category":"outbound_transfer","created":"2023-03-24T22:06:37.343Z","financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","flow":{"outbound_transfer":"obt_65NygiAXfaPmQ5ev3oz16NoTesLDSQ1IgNPigisRKq07Fg","type":"outbound_transfer"},"livemode":true,"status":"posted","status_transitions":{"posted_at":"2023-03-24T22:06:35.409Z","void_at":null}}},{"title":"Crypto wallet export","response":{"id":"trxn_wallet_export_example","object":"v2.money_management.transaction","amount":{"value":-1000,"currency":"usdc"},"balance_impact":{"available":{"value":-1000,"currency":"usdc"},"inbound_pending":{"value":0,"currency":"usdc"},"outbound_pending":{"value":0,"currency":"usdc"}},"category":"crypto_wallet_export","created":"2026-09-30T15:00:00Z","financial_account":"fa_wallet_export_example","flow":null,"livemode":true,"status":"posted","status_transitions":{"posted_at":"2026-09-30T15:00:00Z","void_at":null}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/transactions"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/transactions/{id}"}],"x-stripeResource":{"class_name":"Transaction","in_package":"v2.money_management"}},"v2.money_management.transaction.created":{"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":{"treasury_transaction":{"type":"string","description":"Id of the v1 Treasury Transaction corresponding to this Transaction."},"v1_id":{"type":"string","description":"Id of the v1 Transaction corresponding to this Transaction."}},"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":{"kind":"open","values":[{"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.money_management.transaction"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.transaction.created"]}},"description":"Occurs when a Transaction is created.","example":{"created":"2025-07-29T21:54:27.929Z","id":"evt_1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z","object":"v2.core.event","type":"v2.money_management.transaction.created","data":{},"livemode":true,"reason":null,"related_object":{"id":"trxn_1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z","type":"v2.money_management.transaction","url":"/v2/money_management/transactions/trxn_1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z"}},"x-stableId":"v2.money_management.transaction.created","x-stripeDocsSamples":[{"payload":{"created":"2025-07-29T21:54:27.929Z","id":"evt_1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z","object":"v2.core.event","type":"v2.money_management.transaction.created","data":{},"livemode":true,"reason":null,"related_object":{"id":"trxn_1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z","type":"v2.money_management.transaction","url":"/v2/money_management/transactions/trxn_1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z"}},"response":{"created":"2025-07-29T21:54:27.929Z","id":"evt_1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z","object":"v2.core.event","type":"v2.money_management.transaction.created","data":{},"livemode":true,"reason":null,"related_object":{"id":"trxn_1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z","type":"v2.money_management.transaction","url":"/v2/money_management/transactions/trxn_1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.transaction.created"},"x-stripeNotPublic":true},"v2.money_management.transaction.updated":{"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":{"treasury_transaction":{"type":"string","description":"Id of the v1 Treasury Transaction corresponding to this Transaction."}},"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":{"kind":"open","values":[{"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.money_management.transaction"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.money_management.transaction.updated"]}},"description":"Occurs when a Transaction is updated.","example":{"created":"2025-07-29T21:55:15.482Z","id":"evt_2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z7A","object":"v2.core.event","type":"v2.money_management.transaction.updated","data":{},"livemode":true,"reason":null,"related_object":{"id":"trxn_2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z7A","type":"v2.money_management.transaction","url":"/v2/money_management/transactions/trxn_2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z7A"},"changes":null},"x-stableId":"v2.money_management.transaction.updated","x-stripeDocsSamples":[{"payload":{"created":"2025-07-29T21:55:15.482Z","id":"evt_2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z7A","object":"v2.core.event","type":"v2.money_management.transaction.updated","data":{},"livemode":true,"reason":null,"related_object":{"id":"trxn_2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z7A","type":"v2.money_management.transaction","url":"/v2/money_management/transactions/trxn_2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z7A"},"changes":null},"response":{"created":"2025-07-29T21:55:15.482Z","id":"evt_2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z7A","object":"v2.core.event","type":"v2.money_management.transaction.updated","data":{},"livemode":true,"reason":null,"related_object":{"id":"trxn_2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z7A","type":"v2.money_management.transaction","url":"/v2/money_management/transactions/trxn_2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6Z7A"},"changes":null}}],"x-stripeEvent":{"kind":"thin","type":"v2.money_management.transaction.updated"},"x-stripeNotPublic":true},"v2.money_management.transaction_entry":{"title":"Transaction Entry","required":["balance_impact","created","effective_at","id","livemode","object","transaction","transaction_details"],"type":"object","properties":{"balance_impact":{"required":["available","inbound_pending","outbound_pending"],"type":"object","properties":{"available":{"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":"Impact to the available balance."},"inbound_pending":{"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":"Impact to the inbound_pending balance."},"outbound_pending":{"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":"Impact to the outbound_pending balance."}},"description":"The delta to the FinancialAccount's balance."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"effective_at":{"type":"string","description":"Time at which the entry impacted (or will impact if it's in the future) the FinancialAccount balance.","format":"date-time"},"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."},"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.money_management.transaction_entry"]},"transaction":{"type":"string","description":"The Transaction that this TransactionEntry belongs to."},"transaction_details":{"required":["category","financial_account"],"type":"object","properties":{"category":{"type":"string","description":"Closed Enum for now, and will be turned into an Open Enum soon. A descriptive category used to classify the Transaction.","enum":["adjustment","currency_conversion","inbound_transfer","inbound_transfer_reversal","outbound_payment","outbound_payment_reversal","outbound_transfer","outbound_transfer_reversal","received_credit","received_credit_reversal","received_debit","received_debit_reversal","stripe_fee","stripe_fee_tax"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Transaction is the main Transaction for an Adjustment.","value":"adjustment"},{"description":"This Transaction is for a currency conversion. There will be two Transactions per conversion (one per currency).","value":"currency_conversion"},{"description":"This Transaction is the main Transaction for an InboundTransfer.","value":"inbound_transfer"},{"description":"Funds deducted when an InboundTransfer fails after the initial transaction already posted.","value":"inbound_transfer_reversal"},{"description":"This Transaction is the main Transaction for an OutboundPayment.","value":"outbound_payment"},{"description":"Funds returned to the balance when an OutboundPayment is returned or reversed.","value":"outbound_payment_reversal"},{"description":"This Transaction is the main Transaction for an OutboundTransfer.","value":"outbound_transfer"},{"description":"Funds returned to the balance when an OutboundTransfer is returned or reversed.","value":"outbound_transfer_reversal"},{"description":"This Transaction is the main Transaction for a ReceivedCredit.","value":"received_credit"},{"description":"Funds deducted when a ReceivedCredit is reversed.","value":"received_credit_reversal"},{"description":"This Transaction is the main Transaction for a ReceivedDebit.","value":"received_debit"},{"description":"Funds returned to the balance when a ReceivedDebit is reversed.","value":"received_debit_reversal"},{"description":"This Transaction is for a fee assessed by Stripe.","value":"stripe_fee"},{"description":"This Transaction is for Stripe fee tax.","value":"stripe_fee_tax"}]}},"financial_account":{"type":"string","description":"Indicates the FinancialAccount affected by this Transaction."},"flow":{"required":["type"],"type":"object","properties":{"adjustment":{"type":"string","description":"If applicable, the ID of the Adjustment that created this Transaction."},"currency_conversion":{"type":"string","description":"In the future, this will be the ID of the currency conversion that created this Transaction. For now, this field is always null."},"fee_transaction":{"type":"string","description":"If applicable, the ID of the FeeTransaction that created this Transaction."},"inbound_transfer":{"type":"string","description":"If applicable, the ID of the InboundTransfer that created this Transaction."},"outbound_payment":{"type":"string","description":"If applicable, the ID of the OutboundPayment that created this Transaction."},"outbound_transfer":{"type":"string","description":"If applicable, the ID of the OutboundTransfer that created this Transaction."},"received_credit":{"type":"string","description":"If applicable, the ID of the ReceivedCredit that created this Transaction."},"received_debit":{"type":"string","description":"If applicable, the ID of the ReceivedDebit that created this Transaction."},"type":{"type":"string","description":"Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow.","enum":["adjustment","currency_conversion","fee_transaction","inbound_transfer","outbound_payment","outbound_transfer","received_credit","received_debit"],"x-stripeEnum":{"kind":"open","values":[{"description":"This Transaction was created by an Adjustment.","value":"adjustment"},{"description":"This Transaction was created by a currency conversion.","value":"currency_conversion"},{"description":"This Transaction was created by a FeeTransaction.","value":"fee_transaction"},{"description":"This Transaction was created by an InboundTransfer.","value":"inbound_transfer"},{"description":"This Transaction was created by an OutboundPayment.","value":"outbound_payment"},{"description":"This Transaction was created by an OutboundTransfer.","value":"outbound_transfer"},{"description":"This Transaction was created by a ReceivedCredit.","value":"received_credit"},{"description":"This Transaction was created by a ReceivedDebit.","value":"received_debit"}]}}},"description":"Details about the Flow object that created the Transaction."}},"description":"Details copied from the transaction that this TransactionEntry belongs to."}},"description":"TransactionEntries represent individual money movements across different states within a Transaction.","example":{"id":"trxne_65O8p4MRdLlbQQi89Zy16NoTesLDSQ1IgNPigisRKq0N8y","object":"v2.money_management.transaction_entry","balance_impact":{"available":{"value":0,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":-100,"currency":"usd"}},"created":"2023-04-21T21:03:22.244Z","effective_at":"2023-04-21T21:03:19.873Z","livemode":true,"transaction":"trxn_65O8p4Ez7cWUhTaRLZy16NoTesLDSQ1IgNPigisRKq0Ino","transaction_details":{"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","category":"outbound_transfer","flow":{"outbound_transfer":"obt_5O8p4ExNCNlP9gLp4c16NoTesLDSQ1IgNPigisRKq0Nou","type":"outbound_transfer"}}},"x-resourceId":"v2.money_management.transaction_entry","x-stableId":"v2_resource_transaction_entry","x-stripeDocsSamples":[{"response":{"id":"trxne_65O8p4MRdLlbQQi89Zy16NoTesLDSQ1IgNPigisRKq0N8y","object":"v2.money_management.transaction_entry","balance_impact":{"available":{"value":0,"currency":"usd"},"inbound_pending":{"value":0,"currency":"usd"},"outbound_pending":{"value":-100,"currency":"usd"}},"created":"2023-04-21T21:03:22.244Z","effective_at":"2023-04-21T21:03:19.873Z","livemode":true,"transaction":"trxn_65O8p4Ez7cWUhTaRLZy16NoTesLDSQ1IgNPigisRKq0Ino","transaction_details":{"financial_account":"fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km","category":"outbound_transfer","flow":{"outbound_transfer":"obt_5O8p4ExNCNlP9gLp4c16NoTesLDSQ1IgNPigisRKq0Nou","type":"outbound_transfer"}}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/money_management/transaction_entries"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/money_management/transaction_entries/{id}"}],"x-stripeResource":{"class_name":"TransactionEntry","in_package":"v2.money_management"}},"v2.network.business_profile":{"title":"Business Profile","required":["display_name","id","livemode","object","username"],"type":"object","properties":{"branding":{"type":"object","properties":{"icon":{"required":["original"],"type":"object","properties":{"original":{"type":"string","description":"The URL of the image in its original size."}},"description":"URL of the icon for the business. The image will be square and at least 128px x 128px."},"logo":{"required":["original"],"type":"object","properties":{"original":{"type":"string","description":"The URL of the image in its original size."}},"description":"URL of the logo for the business. The image will be at least 128px x 128px."},"primary_color":{"type":"string","description":"A CSS hex color value representing the primary branding color for this business."},"secondary_color":{"type":"string","description":"A CSS hex color value representing the secondary branding color for this business."}},"description":"Branding data for the business."},"description":{"type":"string","description":"The description of the business."},"display_name":{"type":"string","description":"The display name of the Stripe business profile."},"id":{"type":"string","description":"The ID of the Stripe business profile; also known as the Network ID. This is the ID used to identify the business on the Stripe network."},"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.network.business_profile"]},"url":{"type":"string","description":"The URL of the business."},"username":{"type":"string","description":"The username of the Stripe business profile."}},"description":"The Stripe business profile represents a business' public identity on the Stripe network.","example":{"id":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk","object":"v2.network.business_profile","username":"furever","display_name":"Furever","description":"Premium pet supplies and grooming products.","url":"https://furever.com","branding":{"primary_color":"#635BFF","secondary_color":"#0A2540"}},"x-resourceId":"v2.network.business_profile","x-stableId":"v2_resource_business_profile","x-stripeDocsSamples":[{"response":{"id":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk","object":"v2.network.business_profile","username":"furever","display_name":"Furever","description":"Premium pet supplies and grooming products.","url":"https://furever.com","branding":{"primary_color":"#635BFF","secondary_color":"#0A2540"}}}],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/network/business_profiles/{id}"},{"method_name":"me","method_on":"service","method_type":"custom","operation":"get","path":"/v2/network/business_profiles/me"}],"x-stripeResource":{"class_name":"BusinessProfile","in_package":"v2.network"}},"v2.orchestrated_commerce.agreement":{"title":"Agreement","required":["created","id","initiated_by","livemode","object","orchestrator_details","seller_details","status","status_transitions"],"type":"object","properties":{"created":{"type":"string","description":"The time at which the agreement was created.","format":"date-time"},"id":{"type":"string","description":"The unique identifier for the agreement.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.orchestrated_commerce.agreement"}}},"initiated_by":{"type":"string","description":"The party that initiated the agreement.","enum":["orchestrator","seller"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The orchestrator/agent.","value":"orchestrator"},{"description":"The seller/merchant.","value":"seller"}]}},"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.orchestrated_commerce.agreement"]},"orchestrator_details":{"required":["name","network_business_profile"],"type":"object","properties":{"name":{"type":"string","description":"The name of the orchestrator. This can be the name of the agent or the name of the business."},"network_business_profile":{"type":"string","description":"The Network ID of the orchestrator."}},"description":"Details about the orchestrator."},"seller_details":{"required":["network_business_profile"],"type":"object","properties":{"network_business_profile":{"type":"string","description":"The Network ID of the seller."}},"description":"Details about the seller."},"status":{"type":"string","description":"The current status of the agreement.","enum":["confirmed","initiated","partially_confirmed","terminated"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Both parties have confirmed the agreement.","value":"confirmed"},{"description":"The agreement has been created and is awaiting confirmation from both parties.","value":"initiated"},{"description":"One party has confirmed the agreement and the other has not yet confirmed.","value":"partially_confirmed"},{"description":"The agreement has been terminated by one of the parties.","value":"terminated"}]}},"status_transitions":{"type":"object","properties":{"orchestrator_confirmed_at":{"type":"string","description":"The time at which the orchestrator confirmed the agreement.","format":"date-time"},"seller_confirmed_at":{"type":"string","description":"The time at which the seller confirmed the agreement.","format":"date-time"},"terminated_at":{"type":"string","description":"The time at which the agreement was terminated.","format":"date-time"}},"description":"Timestamps of key status transitions for the agreement."},"terminated_by":{"type":"string","description":"The party that terminated the agreement, if applicable.","enum":["orchestrator","seller"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The orchestrator/agent.","value":"orchestrator"},{"description":"The seller/merchant.","value":"seller"}]}}},"description":"An Orchestrated Commerce Agreement represents a mutual agreement between a seller and an orchestrator/agent on the Stripe network.","example":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"confirmed","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":"2026-04-06T10:05:00Z","terminated_at":null},"terminated_by":null},"x-resourceId":"v2.orchestrated_commerce.agreement","x-stableId":"v2_resource_orchestrated_commerce_agreement","x-stripeDocsSamples":[{"response":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","object":"v2.orchestrated_commerce.agreement","created":"2026-04-06T10:00:00Z","initiated_by":"seller","orchestrator_details":{"network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey","name":"Test Agent"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"status":"confirmed","status_transitions":{"seller_confirmed_at":"2026-04-06T10:00:00Z","orchestrator_confirmed_at":"2026-04-06T10:05:00Z","terminated_at":null},"terminated_by":null}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/orchestrated_commerce/agreements"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/orchestrated_commerce/agreements"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/orchestrated_commerce/agreements/{id}"},{"method_name":"confirm","method_on":"service","method_type":"custom","operation":"post","path":"/v2/orchestrated_commerce/agreements/{id}/confirm"},{"method_name":"terminate","method_on":"service","method_type":"custom","operation":"post","path":"/v2/orchestrated_commerce/agreements/{id}/terminate"}],"x-stripeResource":{"class_name":"Agreement","in_package":"v2.orchestrated_commerce"}},"v2.orchestrated_commerce.agreement.confirmed":{"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 [Agreement](https://docs.stripe.com/api/v2/orchestrated-commerce/agreements/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":["orchestrator_confirmed_at","orchestrator_details","seller_confirmed_at","seller_details"],"type":"object","properties":{"orchestrator_confirmed_at":{"type":"string","description":"The time at which the orchestrator confirmed the agreement.","format":"date-time"},"orchestrator_details":{"required":["name","network_business_profile"],"type":"object","properties":{"name":{"type":"string","description":"The name of the orchestrator. This can be the name of the agent or the name of the business."},"network_business_profile":{"type":"string","description":"The Network ID of the orchestrator."}},"description":"Details about the orchestrator."},"seller_confirmed_at":{"type":"string","description":"The time at which the seller confirmed the agreement.","format":"date-time"},"seller_details":{"required":["network_business_profile"],"type":"object","properties":{"network_business_profile":{"type":"string","description":"The Network ID of the seller."}},"description":"Details about the seller."}},"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":{"kind":"open","values":[{"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.orchestrated_commerce.agreement"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.orchestrated_commerce.agreement.confirmed"]}},"description":"Occurs when an Agreement is confirmed by one party.","example":{"created":"2026-04-06T10:05:00.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40v","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.confirmed","changes":{},"data":{"orchestrator_confirmed_at":"2026-04-06T10:05:00.000Z","orchestrator_details":{"name":"Test Agent","network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"},"seller_confirmed_at":"2026-04-06T10:00:00.000Z","seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"}}},"x-stableId":"v2.orchestrated_commerce.agreement.confirmed","x-stripeDocsSamples":[{"payload":{"created":"2026-04-06T10:05:00.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40v","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.confirmed"},"response":{"created":"2026-04-06T10:05:00.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40v","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.confirmed","changes":{},"data":{"orchestrator_confirmed_at":"2026-04-06T10:05:00.000Z","orchestrator_details":{"name":"Test Agent","network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"},"seller_confirmed_at":"2026-04-06T10:00:00.000Z","seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"}}}}],"x-stripeEvent":{"kind":"thin","type":"v2.orchestrated_commerce.agreement.confirmed"},"x-stripeNotPublic":true},"v2.orchestrated_commerce.agreement.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 [Agreement](https://docs.stripe.com/api/v2/orchestrated-commerce/agreements/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":["created","initiated_by","orchestrator_details","seller_details"],"type":"object","properties":{"created":{"type":"string","description":"The time at which the agreement was created.","format":"date-time"},"initiated_by":{"type":"string","description":"The party that initiated the agreement.","enum":["orchestrator","seller"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The orchestrator/agent.","value":"orchestrator"},{"description":"The seller/merchant.","value":"seller"}]}},"orchestrator_details":{"required":["name","network_business_profile"],"type":"object","properties":{"name":{"type":"string","description":"The name of the orchestrator. This can be the name of the agent or the name of the business."},"network_business_profile":{"type":"string","description":"The Network ID of the orchestrator."}},"description":"Details about the orchestrator."},"seller_details":{"required":["network_business_profile"],"type":"object","properties":{"network_business_profile":{"type":"string","description":"The Network ID of the seller."}},"description":"Details about the seller."}},"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":{"kind":"open","values":[{"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.orchestrated_commerce.agreement"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.orchestrated_commerce.agreement.created"]}},"description":"Occurs when an Agreement is created.","example":{"created":"2026-04-06T10:00:00.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.created","changes":{},"data":{"created":"2026-04-06T10:00:00.000Z","initiated_by":"seller","orchestrator_details":{"name":"Test Agent","network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"}}},"x-stableId":"v2.orchestrated_commerce.agreement.created","x-stripeDocsSamples":[{"payload":{"created":"2026-04-06T10:00:00.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.created"},"response":{"created":"2026-04-06T10:00:00.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.created","changes":{},"data":{"created":"2026-04-06T10:00:00.000Z","initiated_by":"seller","orchestrator_details":{"name":"Test Agent","network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"}}}}],"x-stripeEvent":{"kind":"thin","type":"v2.orchestrated_commerce.agreement.created"},"x-stripeNotPublic":true},"v2.orchestrated_commerce.agreement.partially_confirmed":{"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 [Agreement](https://docs.stripe.com/api/v2/orchestrated-commerce/agreements/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":["orchestrator_confirmed_at","orchestrator_details","seller_confirmed_at","seller_details"],"type":"object","properties":{"orchestrator_confirmed_at":{"type":"string","description":"The time at which the orchestrator confirmed the agreement.","format":"date-time"},"orchestrator_details":{"required":["name","network_business_profile"],"type":"object","properties":{"name":{"type":"string","description":"The name of the orchestrator. This can be the name of the agent or the name of the business."},"network_business_profile":{"type":"string","description":"The Network ID of the orchestrator."}},"description":"Details about the orchestrator."},"seller_confirmed_at":{"type":"string","description":"The time at which the seller confirmed the agreement.","format":"date-time"},"seller_details":{"required":["network_business_profile"],"type":"object","properties":{"network_business_profile":{"type":"string","description":"The Network ID of the seller."}},"description":"Details about the seller."}},"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":{"kind":"open","values":[{"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.orchestrated_commerce.agreement"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.orchestrated_commerce.agreement.partially_confirmed"]}},"description":"Occurs when an Agreement is partially confirmed (confirmed by one party but not both).","example":{"created":"2026-04-06T10:00:30.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40w","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.partially_confirmed","changes":{},"data":{"orchestrator_confirmed_at":null,"orchestrator_details":{"name":"Test Agent","network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"},"seller_confirmed_at":"2026-04-06T10:00:00.000Z","seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"}}},"x-stableId":"v2.orchestrated_commerce.agreement.partially_confirmed","x-stripeDocsSamples":[{"payload":{"created":"2026-04-06T10:00:30.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40w","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.partially_confirmed"},"response":{"created":"2026-04-06T10:00:30.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40w","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.partially_confirmed","changes":{},"data":{"orchestrator_confirmed_at":null,"orchestrator_details":{"name":"Test Agent","network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"},"seller_confirmed_at":"2026-04-06T10:00:00.000Z","seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"}}}}],"x-stripeEvent":{"kind":"thin","type":"v2.orchestrated_commerce.agreement.partially_confirmed"},"x-stripeNotPublic":true},"v2.orchestrated_commerce.agreement.terminated":{"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 [Agreement](https://docs.stripe.com/api/v2/orchestrated-commerce/agreements/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":["orchestrator_details","seller_details","terminated_at","terminated_by"],"type":"object","properties":{"orchestrator_details":{"required":["name","network_business_profile"],"type":"object","properties":{"name":{"type":"string","description":"The name of the orchestrator. This can be the name of the agent or the name of the business."},"network_business_profile":{"type":"string","description":"The Network ID of the orchestrator."}},"description":"Details about the orchestrator."},"seller_details":{"required":["network_business_profile"],"type":"object","properties":{"network_business_profile":{"type":"string","description":"The Network ID of the seller."}},"description":"Details about the seller."},"terminated_at":{"type":"string","description":"The time at which the agreement was terminated.","format":"date-time"},"terminated_by":{"type":"string","description":"The party that terminated the agreement.","enum":["orchestrator","seller"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The orchestrator/agent.","value":"orchestrator"},{"description":"The seller/merchant.","value":"seller"}]}}},"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":{"kind":"open","values":[{"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.orchestrated_commerce.agreement"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.orchestrated_commerce.agreement.terminated"]}},"description":"Occurs when an Agreement is terminated.","example":{"created":"2026-04-06T11:00:00.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40x","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.terminated","changes":{},"data":{"orchestrator_details":{"name":"Test Agent","network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"terminated_at":"2026-04-06T11:00:00.000Z","terminated_by":"seller"}},"x-stableId":"v2.orchestrated_commerce.agreement.terminated","x-stripeDocsSamples":[{"payload":{"created":"2026-04-06T11:00:00.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40x","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.terminated"},"response":{"created":"2026-04-06T11:00:00.000Z","id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40x","livemode":false,"object":"v2.core.event","related_object":{"id":"orca_test_1gkgAw3x8N9UarRebDtOBtdk","type":"v2.orchestrated_commerce.agreement","url":"/v2/orchestrated_commerce/agreements/orca_test_1gkgAw3x8N9UarRebDtOBtdk"},"type":"v2.orchestrated_commerce.agreement.terminated","changes":{},"data":{"orchestrator_details":{"name":"Test Agent","network_business_profile":"profile_test_61U92KWAstyE3VYhXA6U91t01FSQ3ByrZzKJOCR0y5ey"},"seller_details":{"network_business_profile":"profile_test_61UQtAVw2yEA80y4mA6UQtAVBKSQt4084jw8nwJXUUdk"},"terminated_at":"2026-04-06T11:00:00.000Z","terminated_by":"seller"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.orchestrated_commerce.agreement.terminated"},"x-stripeNotPublic":true},"v2.signals.account_activity":{"title":"Account Activity","required":["created","id","livemode","object","occurred_at","type"],"type":"object","properties":{"account_details":{"type":"object","properties":{"account":{"type":"string","description":"The v2 account ID of the account."},"customer":{"type":"string","description":"The v1 customer ID of the account, for users not yet migrated to v2/accounts."},"data":{"type":"object","properties":{"defaults":{"required":["profile"],"type":"object","properties":{"profile":{"required":["business_url"],"type":"object","properties":{"business_url":{"type":"string","description":"The business URL."},"doing_business_as":{"type":"string","description":"Doing business as (DBA) name."},"product_description":{"type":"string","description":"Description of the account's product or service."}},"description":"Account profile data."}},"description":"Default account settings."},"identity":{"required":["business_details"],"type":"object","properties":{"business_details":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered business name."}},"description":"Business details for identity data."}},"description":"Identity data."}},"description":"Inline account data to evaluate without creating a v2 account."}},"description":"The account, customer, or inline account data associated with the activity."},"account_evaluation":{"type":"string","description":"The account evaluation this activity is associated with, when applicable.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.signals.account_evaluation"}}},"created":{"type":"string","description":"Timestamp at which the account activity was created.","format":"date-time"},"id":{"type":"string","description":"Unique identifier for the account activity."},"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."},"login_attempt":{"required":["client_details"],"type":"object","properties":{"client_details":{"type":"object","properties":{"data":{"required":["ip"],"type":"object","properties":{"ip":{"type":"string","description":"The IP address associated with the activity."},"referrer":{"type":"string","description":"The referrer associated with the activity."},"user_agent":{"type":"string","description":"The user agent associated with the activity."}},"description":"Raw client details for the activity, when a Radar session is not available."},"radar_session":{"type":"string","description":"The Radar session ID capturing client details for the activity."}},"description":"Client details captured for the attempt."}},"description":"Details for the login attempt. Present only when type is login_attempt."},"login_decision":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The action the merchant took following the evaluation.","enum":["allowed","blocked","restricted"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The merchant allowed the registration or login.","value":"allowed"},{"description":"The merchant blocked the registration or login.","value":"blocked"},{"description":"The merchant restricted the registration or login.","value":"restricted"}]}}},"description":"Details for the login decision. Present only when type is login_decision."},"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.signals.account_activity"]},"occurred_at":{"type":"string","description":"Timestamp at which the activity occurred. Defaults to the created time if not provided.","format":"date-time"},"registration_attempt":{"required":["client_details"],"type":"object","properties":{"client_details":{"type":"object","properties":{"data":{"required":["ip"],"type":"object","properties":{"ip":{"type":"string","description":"The IP address associated with the activity."},"referrer":{"type":"string","description":"The referrer associated with the activity."},"user_agent":{"type":"string","description":"The user agent associated with the activity."}},"description":"Raw client details for the activity, when a Radar session is not available."},"radar_session":{"type":"string","description":"The Radar session ID capturing client details for the activity."}},"description":"Client details captured for the attempt."}},"description":"Details for the registration attempt. Present only when type is registration_attempt."},"registration_decision":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The action the merchant took following the evaluation.","enum":["allowed","blocked","restricted"],"x-stripeEnum":{"kind":"closed","values":[{"description":"The merchant allowed the registration or login.","value":"allowed"},{"description":"The merchant blocked the registration or login.","value":"blocked"},{"description":"The merchant restricted the registration or login.","value":"restricted"}]}}},"description":"Details for the registration decision. Present only when type is registration_decision."},"type":{"type":"string","description":"The type of activity.","enum":["login_attempt","login_decision","registration_attempt","registration_decision"],"x-stripeEnum":{"kind":"open","values":[{"description":"A reported account login attempt.","value":"login_attempt"},{"description":"A reported decision following a login evaluation.","value":"login_decision"},{"description":"A reported account registration attempt.","value":"registration_attempt"},{"description":"A reported decision following a registration evaluation.","value":"registration_decision"}]}}},"description":"Account Activity resource for the Signals API.","example":{"id":"accact_123","object":"v2.signals.account_activity","created":"2026-06-12T00:00:00.000Z","occurred_at":"2026-06-12T00:00:00.000Z","account_details":{"account":"acct_123"},"type":"registration_attempt","registration_attempt":{"client_details":{"radar_session":"rse_123"}}},"x-resourceId":"v2.signals.account_activity","x-stableId":"v2_resource_signals_account_activity","x-stripeDocsSamples":[{"response":{"id":"accact_123","object":"v2.signals.account_activity","created":"2026-06-12T00:00:00.000Z","occurred_at":"2026-06-12T00:00:00.000Z","account_details":{"account":"acct_123"},"type":"registration_attempt","registration_attempt":{"client_details":{"radar_session":"rse_123"}}}}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/signals/account_activities"},{"method_name":"delete","method_on":"service","method_type":"delete","operation":"delete","path":"/v2/signals/account_activities/{id}"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/signals/account_activities/{id}"}],"x-stripeResource":{"class_name":"AccountActivity","in_package":"v2.signals"}},"v2.signals.account_evaluation":{"title":"Account Evaluation","required":["account_details","created","id","livemode","object","pending_signals","requested_signals"],"type":"object","properties":{"account_activity_details":{"type":"object","properties":{"account_activity":{"type":"string","description":"The ID of the account activity created or associated with the evaluation.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.signals.account_activity"}}}},"description":"Account activity recorded alongside this evaluation, when applicable."},"account_details":{"type":"object","properties":{"account":{"type":"string","description":"The v2 account ID of the account."},"customer":{"type":"string","description":"The v1 customer ID of the account, for users not yet migrated to v2/accounts."},"data":{"type":"object","properties":{"defaults":{"required":["profile"],"type":"object","properties":{"profile":{"required":["business_url"],"type":"object","properties":{"business_url":{"type":"string","description":"The business URL."},"doing_business_as":{"type":"string","description":"Doing business as (DBA) name."},"product_description":{"type":"string","description":"Description of the account's product or service."}},"description":"Account profile data."}},"description":"Default account settings."},"identity":{"required":["business_details"],"type":"object","properties":{"business_details":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered business name."}},"description":"Business details for identity data."}},"description":"Identity data."}},"description":"Inline account data to evaluate without creating a v2 account."}},"description":"The account, customer, or inline account data being evaluated."},"created":{"type":"string","description":"Timestamp at which the evaluation was created.","format":"date-time"},"evaluated_signals":{"type":"object","properties":{"fraudulent_website":{"required":["risk_level"],"type":"object","properties":{"details":{"type":"string","description":"Human-readable details about the fraudulent website evaluation, when available."},"evaluated_at":{"type":"string","description":"Timestamp at which the signal was evaluated.","format":"date-time"},"risk_level":{"type":"string","description":"Categorical assessment of the fraudulent website risk.","enum":["elevated","highest","low","normal","unknown"],"x-stripeEnum":{"kind":"closed","values":[{"description":"An elevated risk level.","value":"elevated"},{"description":"The highest risk level.","value":"highest"},{"description":"A low risk level.","value":"low"},{"description":"A normal risk level.","value":"normal"},{"description":"The risk level could not be determined.","value":"unknown"}]}},"signal":{"type":"string","description":"The account signal ID containing the full fraudulent website signal result."}},"description":"Fraudulent website result for the evaluation, when available."},"user_account_sharing":{"required":["risk_level"],"type":"object","properties":{"evaluated_at":{"type":"string","description":"Timestamp at which the signal was evaluated.","format":"date-time"},"risk_level":{"type":"string","description":"Categorical assessment of the account-sharing risk.","enum":["elevated","highest","low","normal","unknown"],"x-stripeEnum":{"kind":"closed","values":[{"description":"An elevated risk level.","value":"elevated"},{"description":"The highest risk level.","value":"highest"},{"description":"A low risk level.","value":"low"},{"description":"A normal risk level.","value":"normal"},{"description":"The risk level could not be determined.","value":"unknown"}]}},"score":{"type":"string","description":"The specific risk score for the account, between 0.00 and 100.00, when available.","format":"decimal"},"signal":{"type":"string","description":"The account signal ID containing the full user account-sharing signal result."}},"description":"User account-sharing result for the evaluation, when available."},"user_multi_accounting":{"required":["risk_level"],"type":"object","properties":{"evaluated_at":{"type":"string","description":"Timestamp at which the signal was evaluated.","format":"date-time"},"risk_level":{"type":"string","description":"Categorical assessment of the multi-accounting risk.","enum":["elevated","highest","low","normal","unknown"],"x-stripeEnum":{"kind":"closed","values":[{"description":"An elevated risk level.","value":"elevated"},{"description":"The highest risk level.","value":"highest"},{"description":"A low risk level.","value":"low"},{"description":"A normal risk level.","value":"normal"},{"description":"The risk level could not be determined.","value":"unknown"}]}},"score":{"type":"string","description":"The specific risk score for the account, between 0.00 and 100.00, when available.","format":"decimal"},"signal":{"type":"string","description":"The account signal ID containing the full user multi-accounting signal result."}},"description":"User multi-accounting result for the evaluation, when available."}},"description":"Signal results that are available for the evaluation."},"id":{"type":"string","description":"Unique identifier for the account evaluation."},"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.signals.account_evaluation"]},"pending_signals":{"type":"array","description":"List of signals still pending evaluation.","items":{"type":"string","enum":["fraudulent_website","user_account_sharing","user_multi_accounting"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fraudulent website signal evaluating website risk.","value":"fraudulent_website"},{"description":"User account-sharing signal.","value":"user_account_sharing"},{"description":"User multi-accounting signal.","value":"user_multi_accounting"}]}}},"requested_signals":{"type":"array","description":"List of signals requested for evaluation.","items":{"type":"string","enum":["fraudulent_website","user_account_sharing","user_multi_accounting"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fraudulent website signal evaluating website risk.","value":"fraudulent_website"},{"description":"User account-sharing signal.","value":"user_account_sharing"},{"description":"User multi-accounting signal.","value":"user_multi_accounting"}]}}}},"description":"Account Evaluation resource for the Signals API.","example":{"id":"acctevl_123","object":"v2.signals.account_evaluation","created":"2026-06-12T00:00:00.000Z","account_details":{"account":"acct_123"},"requested_signals":["user_multi_accounting"],"pending_signals":["user_multi_accounting"]},"x-resourceId":"v2.signals.account_evaluation","x-stableId":"v2_resource_signals_account_evaluation","x-stripeDocsSamples":[{"response":{"id":"acctevl_123","object":"v2.signals.account_evaluation","created":"2026-06-12T00:00:00.000Z","account_details":{"account":"acct_123"},"requested_signals":["user_multi_accounting"],"pending_signals":["user_multi_accounting"]}}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/signals/account_evaluations"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/signals/account_evaluations/{id}"}],"x-stripeResource":{"class_name":"AccountEvaluation","in_package":"v2.signals"}},"v2.signals.account_evaluation.complete":{"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 Evaluation](https://docs.stripe.com/api/v2/signals/account-evaluations/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":{"kind":"open","values":[{"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.signals.account_evaluation"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.signals.account_evaluation.complete"]}},"description":"Occurs when all requested signals for an account evaluation are complete.","example":{"created":"2026-06-12T00:01:00.000Z","id":"evt_xxx","object":"v2.core.event","type":"v2.signals.account_evaluation.complete","data":{},"livemode":true,"reason":{"type":"request","request":{"id":"req_v2BdkCClyhoPITf8e","idempotency_key":"accteval-kuzco-123"}},"related_object":{"id":"acctevl_123","type":"v2.signals.account_evaluation","url":"/v2/signals/account_evaluations/acctevl_123"}},"x-stableId":"v2.signals.account_evaluation.complete","x-stripeDocsSamples":[{"payload":{"created":"2026-06-12T00:01:00.000Z","id":"evt_xxx","object":"v2.core.event","type":"v2.signals.account_evaluation.complete","livemode":true,"reason":{"type":"request","request":{"id":"req_v2BdkCClyhoPITf8e","idempotency_key":"accteval-kuzco-123"}},"related_object":{"id":"acctevl_123","type":"v2.signals.account_evaluation","url":"/v2/signals/account_evaluations/acctevl_123"}},"response":{"created":"2026-06-12T00:01:00.000Z","id":"evt_xxx","object":"v2.core.event","type":"v2.signals.account_evaluation.complete","data":{},"livemode":true,"reason":{"type":"request","request":{"id":"req_v2BdkCClyhoPITf8e","idempotency_key":"accteval-kuzco-123"}},"related_object":{"id":"acctevl_123","type":"v2.signals.account_evaluation","url":"/v2/signals/account_evaluations/acctevl_123"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.signals.account_evaluation.complete"}},"v2.signals.account_signal":{"title":"Account Signal","required":["created","id","livemode","object","type"],"type":"object","properties":{"account_details":{"type":"object","properties":{"account":{"type":"string","description":"The v2 account ID of the account."},"customer":{"type":"string","description":"The v1 customer ID of the account, for users not yet migrated to v2/accounts."}},"description":"The account or customer this signal is associated with."},"account_evaluation":{"type":"string","description":"The account evaluation that produced this signal, if applicable.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.signals.account_evaluation"}}},"created":{"type":"string","description":"Timestamp at which the signal was created.","format":"date-time"},"fraudulent_merchant":{"required":["risk_level"],"type":"object","properties":{"additional_details":{"required":["indicators"],"type":"object","properties":{"indicators":{"type":"array","description":"Array of objects representing individual factors that contributed to the calculated probability. Absent when risk level is unknown,\nor when the user is not on a product tier that includes indicators.","items":{"required":["explanation","impact","indicator"],"type":"object","properties":{"explanation":{"type":"string","description":"A brief explanation of how this indicator contributed to the fraudulent merchant probability."},"impact":{"type":"string","description":"The effect this indicator had on the overall risk level.","enum":["decrease","neutral","slight_increase","strong_increase"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Indicator decreases the risk level.","value":"decrease"},{"description":"Indicator has a neutral effect on risk level.","value":"neutral"},{"description":"Indicator slightly increases the risk level.","value":"slight_increase"},{"description":"Indicator strongly increases the risk level.","value":"strong_increase"}]}},"indicator":{"type":"string","description":"The name of the specific indicator used in the risk assessment.","enum":["bank_account","business_information_and_account_activity","disputes","failures","geolocation","other","other_related_accounts","other_transaction_activity","owner_email"],"x-stripeEnum":{"kind":"closed","values":[{"description":"Bank account indicator. Examples may include: the routing number or account number matches a previously detected fraudulent account.","value":"bank_account"},{"description":"Business information and account activity indicator. Examples may include: spikes in average order value or payment volume.","value":"business_information_and_account_activity"},{"description":"Disputes indicator. Examples may include: spikes in disputes.","value":"disputes"},{"description":"Failures indicator. Examples may include: spikes in failures.","value":"failures"},{"description":"Geolocation indicator. Examples may include: account activity occurs in a country that differs from the business location or in a region associated with heightened risk.","value":"geolocation"},{"description":"Other indicator. Returned when an indicator type is not supported in the current API version.","value":"other"},{"description":"Account relation indicator. Examples may include: the account links to a previously detected fraudulent account.","value":"other_related_accounts"},{"description":"Transaction pattern indicator. Examples may include: spikes in average order value or payment volume.","value":"other_transaction_activity"},{"description":"Email indicator. Examples may include: the email uses a suspicious domain or doesn't match the URL.","value":"owner_email"}]}}}}}},"description":"Supplementary contextual data for the signal, including indicators."},"probability":{"type":"string","description":"The probability of the merchant being fraudulent. Can be between 0.00 and 100.00. Absent when risk level is unknown,\nor when the user is not on a product tier that includes numeric scores.","format":"decimal"},"risk_level":{"type":"string","description":"Categorical assessment of the fraudulent merchant risk based on probability.","enum":["elevated","highest","low","normal","unknown"],"x-stripeEnum":{"kind":"closed","values":[{"description":"An elevated risk level.","value":"elevated"},{"description":"The highest risk level.","value":"highest"},{"description":"A low risk level.","value":"low"},{"description":"A normal risk level.","value":"normal"},{"description":"The risk level could not be determined.","value":"unknown"}]}}},"description":"Data for the fraudulent merchant signal. Present only when type is fraudulent_merchant."},"fraudulent_website":{"required":["risk_level"],"type":"object","properties":{"details":{"type":"string","description":"Human-readable details about the fraudulent website evaluation."},"risk_level":{"type":"string","description":"Categorical assessment of the fraudulent website risk.","enum":["elevated","highest","low","normal","unknown"],"x-stripeEnum":{"kind":"closed","values":[{"description":"An elevated risk level.","value":"elevated"},{"description":"The highest risk level.","value":"highest"},{"description":"A low risk level.","value":"low"},{"description":"A normal risk level.","value":"normal"},{"description":"The risk level could not be determined.","value":"unknown"}]}}},"description":"Data for the fraudulent website signal. Present only when type is fraudulent_website."},"id":{"type":"string","description":"Unique identifier for the account signal."},"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.signals.account_signal"]},"type":{"type":"string","description":"The type of signal.","enum":["fraudulent_merchant","fraudulent_website","user_account_sharing","user_multi_accounting"],"x-stripeEnum":{"kind":"open","values":[{"description":"Fraudulent merchant signal.","value":"fraudulent_merchant"},{"description":"Fraudulent website signal.","value":"fraudulent_website"},{"description":"User account-sharing signal.","value":"user_account_sharing"},{"description":"User multi-accounting signal.","value":"user_multi_accounting"}]}},"user_account_sharing":{"required":["risk_level"],"type":"object","properties":{"risk_level":{"type":"string","description":"Categorical assessment of the account-sharing risk.","enum":["elevated","highest","low","normal","unknown"],"x-stripeEnum":{"kind":"closed","values":[{"description":"An elevated risk level.","value":"elevated"},{"description":"The highest risk level.","value":"highest"},{"description":"A low risk level.","value":"low"},{"description":"A normal risk level.","value":"normal"},{"description":"The risk level could not be determined.","value":"unknown"}]}},"score":{"type":"string","description":"The specific risk score for the account, between 0.00 and 100.00. Absent when risk level is\nnot_assessed or unknown, or when the user is not on a product tier that includes numeric scores.","format":"decimal"}},"description":"Data for the user account-sharing signal. Present only when type is user_account_sharing."},"user_multi_accounting":{"required":["risk_level"],"type":"object","properties":{"risk_level":{"type":"string","description":"Categorical assessment of the multi-accounting risk.","enum":["elevated","highest","low","normal","unknown"],"x-stripeEnum":{"kind":"closed","values":[{"description":"An elevated risk level.","value":"elevated"},{"description":"The highest risk level.","value":"highest"},{"description":"A low risk level.","value":"low"},{"description":"A normal risk level.","value":"normal"},{"description":"The risk level could not be determined.","value":"unknown"}]}},"score":{"type":"string","description":"The specific risk score for the account, between 0.00 and 100.00. Absent when risk level is\nnot_assessed or unknown, or when the user is not on a product tier that includes numeric scores.","format":"decimal"}},"description":"Data for the user multi-accounting signal. Present only when type is user_multi_accounting."}},"description":"An automatically evaluated signal on an account. Each Account Signal object corresponds to\nexactly one signal type, indicated by type. Only the type-specific field is populated; other\ntype-specific payload fields are null. If an account has multiple signals, Stripe creates\nseparate account signal objects.","example":{"id":"acctsig_1234567890","object":"v2.signals.account_signal","created":"2025-01-01T00:00:00.000Z","type":"fraudulent_merchant","account_details":{"account":"acct_1234567890"},"fraudulent_merchant":{"risk_level":"elevated","probability":"53.75","indicators":[{"indicator":"owner_email","impact":"slight_increase","explanation":"This account shares a matching owner email with at least 1 suspicious account found in the Stripe network."},{"indicator":"geolocation","impact":"slight_increase","explanation":"There are mismatches between the merchant country (CA), bank country (CA), and login country (MA), as well as between bank country and login country."},{"indicator":"bank_account","impact":"slight_increase","explanation":"This account shares a matching bank account with at least 1 suspicious account found in the Stripe network."}]},"livemode":true},"x-resourceId":"v2.signals.account_signal","x-stableId":"v2_resource_account_signal","x-stripeDocsSamples":[{"response":{"id":"acctsig_1234567890","object":"v2.signals.account_signal","created":"2025-01-01T00:00:00.000Z","type":"fraudulent_merchant","account_details":{"account":"acct_1234567890"},"fraudulent_merchant":{"risk_level":"elevated","probability":"53.75","indicators":[{"indicator":"owner_email","impact":"slight_increase","explanation":"This account shares a matching owner email with at least 1 suspicious account found in the Stripe network."},{"indicator":"geolocation","impact":"slight_increase","explanation":"There are mismatches between the merchant country (CA), bank country (CA), and login country (MA), as well as between bank country and login country."},{"indicator":"bank_account","impact":"slight_increase","explanation":"This account shares a matching bank account with at least 1 suspicious account found in the Stripe network."}]},"livemode":true}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/signals/account_signals"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/signals/account_signals/{id}"}],"x-stripeResource":{"class_name":"AccountSignal","in_package":"v2.signals"}},"v2.signals.account_signal.fraudulent_merchant_ready":{"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 Signal](https://docs.stripe.com/api/v2/signals/account-signals/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":{"kind":"open","values":[{"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.signals.account_signal"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.signals.account_signal.fraudulent_merchant_ready"]}},"description":"Occurs when a fraudulent merchant signal is ready for an account.","example":{"created":"2026-03-17T18:00:00.000Z","id":"evt_xxx","object":"v2.core.event","type":"v2.signals.account_signal.fraudulent_merchant_ready","data":{},"livemode":true,"reason":null,"related_object":{"id":"acctsig_xxx","type":"v2.signals.account_signal","url":"/v2/signals/account_signals/acctsig_xxx"}},"x-stableId":"v2.signals.account_signal.fraudulent_merchant_ready","x-stripeDocsSamples":[{"payload":{"created":"2026-03-17T18:00:00.000Z","id":"evt_xxx","object":"v2.core.event","type":"v2.signals.account_signal.fraudulent_merchant_ready","livemode":true,"reason":null,"related_object":{"id":"acctsig_xxx","type":"v2.signals.account_signal","url":"/v2/signals/account_signals/acctsig_xxx"}},"response":{"created":"2026-03-17T18:00:00.000Z","id":"evt_xxx","object":"v2.core.event","type":"v2.signals.account_signal.fraudulent_merchant_ready","data":{},"livemode":true,"reason":null,"related_object":{"id":"acctsig_xxx","type":"v2.signals.account_signal","url":"/v2/signals/account_signals/acctsig_xxx"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.signals.account_signal.fraudulent_merchant_ready"}},"v2.signals.account_signal.fraudulent_website_ready":{"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 Signal](https://docs.stripe.com/api/v2/signals/account-signals/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":{"kind":"open","values":[{"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.signals.account_signal"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"snapshot_event":{"type":"string","description":"For interop events, this is the snapshot event ID."},"type":{"type":"string","description":"The type of the event.","enum":["v2.signals.account_signal.fraudulent_website_ready"]}},"description":"Occurs when a fraudulent website signal is ready for an account.","example":{"created":"2026-06-12T00:01:00.000Z","id":"evt_xxx","object":"v2.core.event","type":"v2.signals.account_signal.fraudulent_website_ready","data":{},"livemode":true,"reason":null,"related_object":{"id":"acctsig_123","type":"v2.signals.account_signal","url":"/v2/signals/account_signals/acctsig_123"}},"x-stableId":"v2.signals.account_signal.fraudulent_website_ready","x-stripeDocsSamples":[{"payload":{"created":"2026-06-12T00:01:00.000Z","id":"evt_xxx","object":"v2.core.event","type":"v2.signals.account_signal.fraudulent_website_ready","livemode":true,"reason":null,"related_object":{"id":"acctsig_123","type":"v2.signals.account_signal","url":"/v2/signals/account_signals/acctsig_123"}},"response":{"created":"2026-06-12T00:01:00.000Z","id":"evt_xxx","object":"v2.core.event","type":"v2.signals.account_signal.fraudulent_website_ready","data":{},"livemode":true,"reason":null,"related_object":{"id":"acctsig_123","type":"v2.signals.account_signal","url":"/v2/signals/account_signals/acctsig_123"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.signals.account_signal.fraudulent_website_ready"}},"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","validated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"webhook_endpoint":{"title":"Webhook Endpoint","required":["api_version","application","created","description","enabled_events","id","livemode","metadata","object","status","url"],"type":"object","properties":{"api_version":{"type":"string","description":"The API version that events are rendered as for this webhook endpoint. You can't change this value after you create the 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"}}}}