payment_method_pay_by_bank
{
"type": "object",
"title": "payment_method_pay_by_bank",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_payco
{
"type": "object",
"title": "payment_method_payco",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_paynow
{
"type": "object",
"title": "payment_method_paynow",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_paypal
{
"type": "object",
"title": "payment_method_paypal",
"properties": {
"country": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"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."
},
"payer_id": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "PayPal account PayerID. This identifier uniquely identifies the PayPal customer."
},
"payer_email": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"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."
}
},
"description": "",
"x-expandableFields": []
}
payment_method_payto
{
"type": "object",
"title": "payment_method_payto",
"properties": {
"last4": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Last four digits of the bank account number."
},
"pay_id": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The PayID alias for the bank account."
},
"bsb_number": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Bank-State-Branch number of the bank account."
}
},
"description": "",
"x-expandableFields": []
}
payment_method_pix
{
"type": "object",
"title": "payment_method_pix",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_promptpay
{
"type": "object",
"title": "payment_method_promptpay",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_revolut_pay
{
"type": "object",
"title": "payment_method_revolut_pay",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_samsung_pay
{
"type": "object",
"title": "payment_method_samsung_pay",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_satispay
{
"type": "object",
"title": "payment_method_satispay",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_sepa_debit
{
"type": "object",
"title": "payment_method_sepa_debit",
"properties": {
"last4": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Last four characters of the IBAN."
},
"country": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Two-letter ISO code representing the country the bank account is located in."
},
"bank_code": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Bank code of bank associated with the bank account."
},
"branch_code": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Branch code of bank associated with the bank account."
},
"fingerprint": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same."
},
"generated_from": {
"anyOf": [
{
"$ref": "#/components/schemas/sepa_debit_generated_from"
}
],
"nullable": true,
"description": "Information about the object that generated this PaymentMethod."
}
},
"description": "",
"x-expandableFields": [
"generated_from"
]
}
payment_method_sofort
{
"type": "object",
"title": "payment_method_sofort",
"properties": {
"country": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Two-letter ISO code representing the country the bank account is located in."
}
},
"description": "",
"x-expandableFields": []
}
payment_method_sunbit
{
"type": "object",
"title": "payment_method_sunbit",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_swish
{
"type": "object",
"title": "payment_method_swish",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_twint
{
"type": "object",
"title": "payment_method_twint",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_upi
{
"type": "object",
"title": "payment_method_upi",
"properties": {
"vpa": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Customer's unique Virtual Payment Address"
}
},
"description": "",
"x-expandableFields": []
}
payment_method_us_bank_account
{
"type": "object",
"title": "payment_method_us_bank_account",
"properties": {
"last4": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Last four digits of the bank account number."
},
"networks": {
"anyOf": [
{
"$ref": "#/components/schemas/us_bank_account_networks"
}
],
"nullable": true,
"description": "Contains information about US bank account networks that can be used."
},
"bank_name": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The name of the bank."
},
"fingerprint": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same."
},
"account_type": {
"enum": [
"checking",
"savings"
],
"type": "string",
"nullable": true,
"description": "Account type: checkings or savings. Defaults to checking if omitted."
},
"routing_number": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Routing number of the bank account."
},
"status_details": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_method_us_bank_account_status_details"
}
],
"nullable": true,
"description": "Contains information about the future reusability of this PaymentMethod."
},
"account_holder_type": {
"enum": [
"company",
"individual"
],
"type": "string",
"nullable": true,
"description": "Account holder type: individual or company."
},
"financial_connections_account": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The ID of the Financial Connections Account used to create the payment method."
}
},
"description": "",
"x-expandableFields": [
"networks",
"status_details"
]
}
payment_method_us_bank_account_blocked
{
"type": "object",
"title": "payment_method_us_bank_account_blocked",
"properties": {
"reason": {
"enum": [
"bank_account_closed",
"bank_account_frozen",
"bank_account_invalid_details",
"bank_account_restricted",
"bank_account_unusable",
"debit_not_authorized",
"tokenized_account_number_deactivated"
],
"type": "string",
"nullable": true,
"description": "The reason why this PaymentMethod's fingerprint has been blocked"
},
"network_code": {
"enum": [
"R02",
"R03",
"R04",
"R05",
"R07",
"R08",
"R10",
"R11",
"R16",
"R20",
"R29",
"R31"
],
"type": "string",
"nullable": true,
"description": "The ACH network code that resulted in this block."
}
},
"description": "",
"x-expandableFields": []
}
payment_method_us_bank_account_status_details
{
"type": "object",
"title": "payment_method_us_bank_account_status_details",
"properties": {
"blocked": {
"$ref": "#/components/schemas/payment_method_us_bank_account_blocked"
}
},
"description": "",
"x-expandableFields": [
"blocked"
]
}
payment_method_wechat_pay
{
"type": "object",
"title": "payment_method_wechat_pay",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_method_zip
{
"type": "object",
"title": "payment_method_zip",
"properties": {},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_adaptive_pricing
{
"type": "object",
"title": "PaymentPagesCheckoutSessionAdaptivePricing",
"required": [
"enabled"
],
"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": []
}
payment_pages_checkout_session_after_expiration
{
"type": "object",
"title": "PaymentPagesCheckoutSessionAfterExpiration",
"properties": {
"recovery": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_after_expiration_recovery"
}
],
"nullable": true,
"description": "When set, configuration used to recover the Checkout Session on expiry."
}
},
"description": "",
"x-expandableFields": [
"recovery"
]
}
payment_pages_checkout_session_after_expiration_recovery
{
"type": "object",
"title": "PaymentPagesCheckoutSessionAfterExpirationRecovery",
"required": [
"allow_promotion_codes",
"enabled"
],
"properties": {
"url": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session"
},
"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",
"format": "unix-time",
"nullable": true,
"description": "The timestamp at which the recovery URL will expire."
},
"allow_promotion_codes": {
"type": "boolean",
"description": "Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`"
}
},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_automatic_tax
{
"type": "object",
"title": "PaymentPagesCheckoutSessionAutomaticTax",
"required": [
"enabled"
],
"properties": {
"status": {
"enum": [
"complete",
"failed",
"requires_location_inputs"
],
"type": "string",
"nullable": true,
"description": "The status of the most recent automated tax calculation for this session."
},
"enabled": {
"type": "boolean",
"description": "Indicates whether automatic tax is enabled for the session"
},
"provider": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The tax provider powering automatic tax."
},
"liability": {
"anyOf": [
{
"$ref": "#/components/schemas/connect_account_reference"
}
],
"nullable": 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."
}
},
"description": "",
"x-expandableFields": [
"liability"
]
}
payment_pages_checkout_session_branding_settings
{
"type": "object",
"title": "PaymentPagesCheckoutSessionBrandingSettings",
"required": [
"background_color",
"border_style",
"button_color",
"display_name",
"font_family"
],
"properties": {
"icon": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_branding_settings_icon"
}
],
"nullable": true,
"description": "The icon for the Checkout Session. You cannot set both `logo` and `icon`."
},
"logo": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_branding_settings_logo"
}
],
"nullable": true,
"description": "The logo for the Checkout Session. You cannot set both `logo` and `icon`."
},
"font_family": {
"type": "string",
"maxLength": 5000,
"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)."
},
"border_style": {
"enum": [
"pill",
"rectangular",
"rounded"
],
"type": "string",
"description": "The border style for the Checkout Session. Must be one of `rounded`, `rectangular`, or `pill`."
},
"button_color": {
"type": "string",
"maxLength": 5000,
"description": "A hex color value starting with `#` representing the button color for the Checkout Session."
},
"display_name": {
"type": "string",
"maxLength": 5000,
"description": "The display name shown on the Checkout Session."
},
"background_color": {
"type": "string",
"maxLength": 5000,
"description": "A hex color value starting with `#` representing the background color for the Checkout Session."
}
},
"description": "",
"x-expandableFields": [
"icon",
"logo"
]
}
payment_pages_checkout_session_branding_settings_icon
{
"type": "object",
"title": "PaymentPagesCheckoutSessionBrandingSettingsIcon",
"required": [
"type"
],
"properties": {
"url": {
"type": "string",
"maxLength": 5000,
"description": "The URL of the image. Present when `type` is `url`."
},
"file": {
"type": "string",
"maxLength": 5000,
"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": {
"enum": [
"file",
"url"
],
"type": "string",
"description": "The type of image for the icon. Must be one of `file` or `url`."
}
},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_branding_settings_logo
{
"type": "object",
"title": "PaymentPagesCheckoutSessionBrandingSettingsLogo",
"required": [
"type"
],
"properties": {
"url": {
"type": "string",
"maxLength": 5000,
"description": "The URL of the image. Present when `type` is `url`."
},
"file": {
"type": "string",
"maxLength": 5000,
"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": {
"enum": [
"file",
"url"
],
"type": "string",
"description": "The type of image for the logo. Must be one of `file` or `url`."
}
},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_business_name
{
"type": "object",
"title": "PaymentPagesCheckoutSessionBusinessName",
"required": [
"enabled",
"optional"
],
"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": []
}
payment_pages_checkout_session_checkout_address_details
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCheckoutAddressDetails",
"required": [
"address",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 5000,
"description": "Customer name."
},
"address": {
"$ref": "#/components/schemas/address"
}
},
"description": "",
"x-expandableFields": [
"address"
]
}
payment_pages_checkout_session_collected_information
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCollectedInformation",
"properties": {
"business_name": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Customer’s business name for this Checkout Session"
},
"individual_name": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Customer’s individual name for this Checkout Session"
},
"shipping_details": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_checkout_address_details"
}
],
"nullable": true,
"description": "Shipping information for this Checkout Session."
}
},
"description": "",
"x-expandableFields": [
"shipping_details"
]
}
payment_pages_checkout_session_consent
{
"type": "object",
"title": "PaymentPagesCheckoutSessionConsent",
"properties": {
"promotions": {
"enum": [
"opt_in",
"opt_out"
],
"type": "string",
"nullable": true,
"description": "If `opt_in`, the customer consents to receiving promotional communications\nfrom the merchant about this Checkout Session."
},
"terms_of_service": {
"enum": [
"accepted"
],
"type": "string",
"nullable": true,
"description": "If `accepted`, the customer in this Checkout Session has agreed to the merchant's terms of service.",
"x-stripeBypassValidation": true
}
},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_consent_collection
{
"type": "object",
"title": "PaymentPagesCheckoutSessionConsentCollection",
"properties": {
"promotions": {
"enum": [
"auto",
"none"
],
"type": "string",
"nullable": true,
"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."
},
"terms_of_service": {
"enum": [
"none",
"required"
],
"type": "string",
"nullable": true,
"description": "If set to `required`, it requires customers to accept the terms of service before being able to pay."
},
"payment_method_reuse_agreement": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_payment_method_reuse_agreement"
}
],
"nullable": true,
"description": "If set to `hidden`, it will hide legal text related to the reuse of a payment method."
}
},
"description": "",
"x-expandableFields": [
"payment_method_reuse_agreement"
]
}
payment_pages_checkout_session_currency_conversion
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCurrencyConversion",
"required": [
"amount_subtotal",
"amount_total",
"fx_rate",
"source_currency"
],
"properties": {
"fx_rate": {
"type": "string",
"format": "decimal",
"description": "Exchange rate used to convert source currency amounts to customer currency amounts"
},
"amount_total": {
"type": "integer",
"description": "Total of all items in source currency after discounts and taxes are applied."
},
"amount_subtotal": {
"type": "integer",
"description": "Total of all items in source currency before discounts or taxes are applied."
},
"source_currency": {
"type": "string",
"maxLength": 5000,
"description": "Creation currency of the CheckoutSession before localization"
}
},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_custom_fields
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCustomFields",
"required": [
"key",
"label",
"optional",
"type"
],
"properties": {
"key": {
"type": "string",
"maxLength": 5000,
"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."
},
"text": {
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_text"
},
"type": {
"enum": [
"dropdown",
"numeric",
"text"
],
"type": "string",
"description": "The type of the field."
},
"label": {
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_label"
},
"numeric": {
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_numeric"
},
"dropdown": {
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_dropdown"
},
"optional": {
"type": "boolean",
"description": "Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`."
}
},
"description": "",
"x-expandableFields": [
"dropdown",
"label",
"numeric",
"text"
]
}
payment_pages_checkout_session_custom_fields_dropdown
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCustomFieldsDropdown",
"required": [
"options"
],
"properties": {
"value": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The option selected by the customer. This will be the `value` for the option."
},
"options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_option"
},
"description": "The options available for the customer to select. Up to 200 options allowed."
},
"default_value": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The value that pre-fills on the payment page."
}
},
"description": "",
"x-expandableFields": [
"options"
]
}
payment_pages_checkout_session_custom_fields_label
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCustomFieldsLabel",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"custom"
],
"type": "string",
"description": "The type of the label."
},
"custom": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Custom text for the label, displayed to the customer. Up to 50 characters."
}
},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_custom_fields_numeric
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCustomFieldsNumeric",
"properties": {
"value": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The value entered by the customer, containing only digits."
},
"default_value": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The value that pre-fills the field on the payment page."
},
"maximum_length": {
"type": "integer",
"nullable": true,
"description": "The maximum character length constraint for the customer's input."
},
"minimum_length": {
"type": "integer",
"nullable": true,
"description": "The minimum character length requirement for the customer's input."
}
},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_custom_fields_option
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCustomFieldsOption",
"required": [
"label",
"value"
],
"properties": {
"label": {
"type": "string",
"maxLength": 5000,
"description": "The label for the option, displayed to the customer. Up to 100 characters."
},
"value": {
"type": "string",
"maxLength": 5000,
"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": []
}
payment_pages_checkout_session_custom_fields_text
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCustomFieldsText",
"properties": {
"value": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The value entered by the customer."
},
"default_value": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The value that pre-fills the field on the payment page."
},
"maximum_length": {
"type": "integer",
"nullable": true,
"description": "The maximum character length constraint for the customer's input."
},
"minimum_length": {
"type": "integer",
"nullable": true,
"description": "The minimum character length requirement for the customer's input."
}
},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_custom_text
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCustomText",
"properties": {
"submit": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_text_position"
}
],
"nullable": true,
"description": "Custom text that should be displayed alongside the payment confirmation button."
},
"after_submit": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_text_position"
}
],
"nullable": true,
"description": "Custom text that should be displayed after the payment confirmation button."
},
"shipping_address": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_text_position"
}
],
"nullable": true,
"description": "Custom text that should be displayed alongside shipping address collection."
},
"terms_of_service_acceptance": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_text_position"
}
],
"nullable": true,
"description": "Custom text that should be displayed in place of the default terms of service agreement text."
}
},
"description": "",
"x-expandableFields": [
"after_submit",
"shipping_address",
"submit",
"terms_of_service_acceptance"
]
}
payment_pages_checkout_session_custom_text_position
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCustomTextPosition",
"required": [
"message"
],
"properties": {
"message": {
"type": "string",
"maxLength": 1200,
"description": "Text can be up to 1200 characters in length."
}
},
"description": "",
"x-expandableFields": []
}
payment_pages_checkout_session_customer_details
{
"type": "object",
"title": "PaymentPagesCheckoutSessionCustomerDetails",
"properties": {
"name": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022."
},
"email": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"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."
},
"phone": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "The customer's phone number after a completed Checkout Session."
},
"address": {
"anyOf": [
{
"$ref": "#/components/schemas/address"
}
],
"nullable": true,
"description": "The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022."
},
"tax_ids": {
"type": "array",
"items": {
"$ref": "#/components/schemas/payment_pages_checkout_session_tax_id"
},
"nullable": true,
"description": "The customer’s tax IDs after a completed Checkout Session."
},
"tax_exempt": {
"enum": [
"exempt",
"none",
"reverse"
],
"type": "string",
"nullable": true,
"description": "The customer’s tax exempt status after a completed Checkout Session."
},
"business_name": {
"type": "string",
"nullable": true,
"maxLength": 150,
"description": "The customer's business name after a completed Checkout Session."
},
"individual_name": {
"type": "string",
"nullable": true,
"maxLength": 150,
"description": "The customer's individual name after a completed Checkout Session."
}
},
"description": "",
"x-expandableFields": [
"address",
"tax_ids"
]
}
payment_pages_checkout_session_discount
{
"type": "object",
"title": "PaymentPagesCheckoutSessionDiscount",
"properties": {
"coupon": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"$ref": "#/components/schemas/coupon"
}
],
"nullable": true,
"description": "Coupon attached to the Checkout Session.",
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/coupon"
}
]
}
},
"promotion_code": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"$ref": "#/components/schemas/promotion_code"
}
],
"nullable": true,
"description": "Promotion code attached to the Checkout Session.",
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/promotion_code"
}
]
}
}
},
"description": "",
"x-expandableFields": [
"coupon",
"promotion_code"
]
}
payment_pages_checkout_session_individual_name
{
"type": "object",
"title": "PaymentPagesCheckoutSessionIndividualName",
"required": [
"enabled",
"optional"
],
"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": []
}
payment_pages_checkout_session_invoice_creation
{
"type": "object",
"title": "PaymentPagesCheckoutSessionInvoiceCreation",
"required": [
"enabled",
"invoice_data"
],
"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"
]
}
payment_pages_checkout_session_invoice_settings
{
"type": "object",
"title": "PaymentPagesCheckoutSessionInvoiceSettings",
"properties": {
"footer": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "Footer displayed on the invoice."
},
"issuer": {
"anyOf": [
{
"$ref": "#/components/schemas/connect_account_reference"
}
],
"nullable": true,
"description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account."
},
"metadata": {
"type": "object",
"nullable": true,
"description": "Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
"additionalProperties": {
"type": "string",
"maxLength": 500
}
},
"description": {
"type": "string",
"nullable": true,
"maxLength": 5000,
"description": "An arbitrary string attached to the object. Often useful for displaying to users."
},
"custom_fields": {
"type": "array",
"items": {
"$ref": "#/components/schemas/invoice_setting_custom_field"
},
"nullable": true,
"description": "Custom fields displayed on the invoice."
},
"account_tax_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"$ref": "#/components/schemas/tax_id"
},
{
"$ref": "#/components/schemas/deleted_tax_id"
}
],
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/tax_id"
},
{
"$ref": "#/components/schemas/deleted_tax_id"
}
]
}
},
"nullable": true,
"description": "The account tax IDs associated with the invoice."
},
"rendering_options": {
"anyOf": [
{
"$ref": "#/components/schemas/invoice_setting_checkout_rendering_options"
}
],
"nullable": true,
"description": "Options for invoice PDF rendering."
}
},
"description": "",
"x-expandableFields": [
"account_tax_ids",
"custom_fields",
"issuer",
"rendering_options"
]
}
payment_pages_checkout_session_managed_payments
{
"type": "object",
"title": "PaymentPagesCheckoutSessionManagedPayments",
"required": [
"enabled"
],
"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": []
}
payment_pages_checkout_session_name_collection
{
"type": "object",
"title": "PaymentPagesCheckoutSessionNameCollection",
"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"
]
}
payment_pages_checkout_session_optional_item
{
"type": "object",
"title": "PaymentPagesCheckoutSessionOptionalItem",
"required": [
"price",
"quantity"
],
"properties": {
"price": {
"type": "string",
"maxLength": 5000
},
"quantity": {
"type": "integer"
},
"adjustable_quantity": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_optional_item_adjustable_quantity"
}
],
"nullable": true
}
},
"description": "",
"x-expandableFields": [
"adjustable_quantity"
]
}