object payment_intent_payment_method_options_mandate_options_payto
{
  "type": "object",
  "title": "payment_intent_payment_method_options_mandate_options_payto",
  "properties": {
    "amount": {
      "type": "integer",
      "nullable": true,
      "description": "Amount that will be collected. It is required when `amount_type` is `fixed`."
    },
    "purpose": {
      "enum": [
        "dependant_support",
        "government",
        "loan",
        "mortgage",
        "other",
        "pension",
        "personal",
        "retail",
        "salary",
        "tax",
        "utility"
      ],
      "type": "string",
      "nullable": true,
      "description": "The purpose for which payments are made. Has a default value based on your merchant category code."
    },
    "end_date": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date."
    },
    "amount_type": {
      "enum": [
        "fixed",
        "maximum"
      ],
      "type": "string",
      "nullable": true,
      "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`."
    },
    "payment_schedule": {
      "enum": [
        "adhoc",
        "annual",
        "daily",
        "fortnightly",
        "monthly",
        "quarterly",
        "semi_annual",
        "weekly"
      ],
      "type": "string",
      "nullable": true,
      "description": "The periodicity at which payments will be collected. Defaults to `adhoc`."
    },
    "payments_per_period": {
      "type": "integer",
      "nullable": true,
      "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."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_intent_payment_method_options_mandate_options_sepa_debit
{
  "type": "object",
  "title": "payment_intent_payment_method_options_mandate_options_sepa_debit",
  "properties": {
    "reference_prefix": {
      "type": "string",
      "maxLength": 5000,
      "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": []
}
object payment_intent_payment_method_options_mobilepay
{
  "type": "object",
  "title": "payment_intent_payment_method_options_mobilepay",
  "properties": {
    "capture_method": {
      "enum": [
        "manual"
      ],
      "type": "string",
      "description": "Controls when the funds will be captured from the customer's account."
    },
    "setup_future_usage": {
      "enum": [
        "none"
      ],
      "type": "string",
      "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication)."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_intent_payment_method_options_nz_bank_account
{
  "type": "object",
  "title": "payment_intent_payment_method_options_nz_bank_account",
  "properties": {
    "target_date": {
      "type": "string",
      "maxLength": 5000,
      "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."
    },
    "setup_future_usage": {
      "enum": [
        "none",
        "off_session",
        "on_session"
      ],
      "type": "string",
      "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication)."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_intent_payment_method_options_payto
{
  "type": "object",
  "title": "payment_intent_payment_method_options_payto",
  "properties": {
    "mandate_options": {
      "$ref": "#/components/schemas/payment_intent_payment_method_options_mandate_options_payto"
    },
    "setup_future_usage": {
      "enum": [
        "none",
        "off_session"
      ],
      "type": "string",
      "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication)."
    }
  },
  "description": "",
  "x-expandableFields": [
    "mandate_options"
  ]
}
object payment_intent_payment_method_options_sepa_debit
{
  "type": "object",
  "title": "payment_intent_payment_method_options_sepa_debit",
  "properties": {
    "target_date": {
      "type": "string",
      "maxLength": 5000,
      "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."
    },
    "mandate_options": {
      "$ref": "#/components/schemas/payment_intent_payment_method_options_mandate_options_sepa_debit"
    },
    "setup_future_usage": {
      "enum": [
        "none",
        "off_session",
        "on_session"
      ],
      "type": "string",
      "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication)."
    }
  },
  "description": "",
  "x-expandableFields": [
    "mandate_options"
  ]
}
object payment_intent_payment_method_options_swish
{
  "type": "object",
  "title": "payment_intent_payment_method_options_swish",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 35,
      "description": "A reference for this payment to be displayed in the Swish app."
    },
    "setup_future_usage": {
      "enum": [
        "none"
      ],
      "type": "string",
      "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication)."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_intent_payment_method_options_us_bank_account
{
  "type": "object",
  "title": "payment_intent_payment_method_options_us_bank_account",
  "properties": {
    "target_date": {
      "type": "string",
      "maxLength": 5000,
      "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."
    },
    "mandate_options": {
      "$ref": "#/components/schemas/payment_method_options_us_bank_account_mandate_options"
    },
    "setup_future_usage": {
      "enum": [
        "none",
        "off_session",
        "on_session"
      ],
      "type": "string",
      "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication)."
    },
    "transaction_purpose": {
      "enum": [
        "goods",
        "other",
        "services",
        "unspecified"
      ],
      "type": "string",
      "description": "The purpose of the transaction."
    },
    "verification_method": {
      "enum": [
        "automatic",
        "instant",
        "microdeposits"
      ],
      "type": "string",
      "description": "Bank account verification method. The default value is `automatic`.",
      "x-stripeBypassValidation": true
    },
    "financial_connections": {
      "$ref": "#/components/schemas/linked_account_options_common"
    }
  },
  "description": "",
  "x-expandableFields": [
    "financial_connections",
    "mandate_options"
  ]
}
object payment_intent_processing
{
  "type": "object",
  "title": "PaymentIntentProcessing",
  "required": [
    "type"
  ],
  "properties": {
    "card": {
      "$ref": "#/components/schemas/payment_intent_card_processing"
    },
    "type": {
      "enum": [
        "card"
      ],
      "type": "string",
      "description": "Type of the payment method for which payment is in `processing` state, one of `card`."
    }
  },
  "description": "",
  "x-expandableFields": [
    "card"
  ]
}
object payment_intent_processing_customer_notification
{
  "type": "object",
  "title": "PaymentIntentProcessingCustomerNotification",
  "properties": {
    "completes_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "If customer approval is required, they need to provide approval before this time."
    },
    "approval_requested": {
      "type": "boolean",
      "nullable": true,
      "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."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_intent_type_specific_payment_method_options_client
{
  "type": "object",
  "title": "PaymentIntentTypeSpecificPaymentMethodOptionsClient",
  "properties": {
    "routing": {
      "$ref": "#/components/schemas/payment_method_options_card_present_routing"
    },
    "installments": {
      "$ref": "#/components/schemas/payment_flows_installment_options"
    },
    "capture_method": {
      "enum": [
        "automatic_delayed",
        "manual",
        "manual_preferred"
      ],
      "type": "string",
      "description": "Controls when the funds will be captured from the customer's account."
    },
    "mandate_options": {
      "$ref": "#/components/schemas/payment_intent_payment_method_options_mandate_options_payto"
    },
    "setup_future_usage": {
      "enum": [
        "none",
        "off_session",
        "on_session"
      ],
      "type": "string",
      "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication)."
    },
    "verification_method": {
      "enum": [
        "automatic",
        "instant",
        "microdeposits"
      ],
      "type": "string",
      "description": "Bank account verification method. The default value is `automatic`.",
      "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)."
    },
    "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."
    }
  },
  "description": "",
  "x-expandableFields": [
    "installments",
    "mandate_options",
    "routing"
  ]
}
object payment_link
{
  "type": "object",
  "title": "PaymentLink",
  "required": [
    "active",
    "after_completion",
    "allow_promotion_codes",
    "automatic_tax",
    "billing_address_collection",
    "currency",
    "custom_fields",
    "custom_text",
    "customer_creation",
    "id",
    "livemode",
    "metadata",
    "object",
    "payment_method_collection",
    "phone_number_collection",
    "shipping_options",
    "submit_type",
    "tax_id_collection",
    "url"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "url": {
      "type": "string",
      "maxLength": 5000,
      "description": "The public URL that can be shared with customers."
    },
    "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."
    },
    "object": {
      "enum": [
        "payment_link"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "currency": {
      "type": "string",
      "format": "currency",
      "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies)."
    },
    "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",
      "description": "Set of [key-value pairs](https://docs.stripe.com/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
      }
    },
    "line_items": {
      "type": "object",
      "title": "PaymentLinksResourceListLineItems",
      "required": [
        "data",
        "has_more",
        "object",
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 5000,
          "description": "The URL where this list can be accessed."
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/item"
          },
          "description": "Details about each object."
        },
        "object": {
          "enum": [
            "list"
          ],
          "type": "string",
          "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`."
        },
        "has_more": {
          "type": "boolean",
          "description": "True if this list has another page of items after this one that can be fetched."
        }
      },
      "description": "The line items representing what is being sold.",
      "x-expandableFields": [
        "data"
      ]
    },
    "application": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/application"
        },
        {
          "$ref": "#/components/schemas/deleted_application"
        }
      ],
      "nullable": true,
      "description": "The ID of the Connect application that created the Payment Link.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/application"
          },
          {
            "$ref": "#/components/schemas/deleted_application"
          }
        ]
      }
    },
    "custom_text": {
      "$ref": "#/components/schemas/payment_links_resource_custom_text"
    },
    "submit_type": {
      "enum": [
        "auto",
        "book",
        "donate",
        "pay",
        "subscribe"
      ],
      "type": "string",
      "description": "Indicates the type of transaction being performed which customizes relevant text on the page, such as the submit button."
    },
    "on_behalf_of": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/account"
        }
      ],
      "nullable": true,
      "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.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/account"
          }
        ]
      }
    },
    "restrictions": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_restrictions"
        }
      ],
      "nullable": true,
      "description": "Settings that restrict the usage of a payment link."
    },
    "automatic_tax": {
      "$ref": "#/components/schemas/payment_links_resource_automatic_tax"
    },
    "custom_fields": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/payment_links_resource_custom_fields"
      },
      "description": "Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`."
    },
    "transfer_data": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_transfer_data"
        }
      ],
      "nullable": true,
      "description": "The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to."
    },
    "optional_items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/payment_links_resource_optional_item"
      },
      "nullable": true,
      "description": "The optional items presented to the customer at checkout."
    },
    "name_collection": {
      "$ref": "#/components/schemas/payment_links_resource_name_collection"
    },
    "after_completion": {
      "$ref": "#/components/schemas/payment_links_resource_after_completion"
    },
    "inactive_message": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The custom message to be displayed to a customer when a payment link is no longer active."
    },
    "invoice_creation": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_invoice_creation"
        }
      ],
      "nullable": true,
      "description": "Configuration for creating invoice for payment mode payment links."
    },
    "managed_payments": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_pages_checkout_session_managed_payments"
        }
      ],
      "nullable": true,
      "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)."
    },
    "shipping_options": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/payment_links_resource_shipping_option"
      },
      "description": "The shipping rate options applied to the session."
    },
    "customer_creation": {
      "enum": [
        "always",
        "if_required"
      ],
      "type": "string",
      "description": "Configuration for Customer creation during checkout."
    },
    "subscription_data": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_subscription_data"
        }
      ],
      "nullable": true,
      "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`."
    },
    "tax_id_collection": {
      "$ref": "#/components/schemas/payment_links_resource_tax_id_collection"
    },
    "consent_collection": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_consent_collection"
        }
      ],
      "nullable": true,
      "description": "When set, provides configuration to gather active consent from customers."
    },
    "payment_intent_data": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_payment_intent_data"
        }
      ],
      "nullable": true,
      "description": "Indicates the parameters to be passed to PaymentIntent creation during checkout."
    },
    "payment_method_types": {
      "type": "array",
      "items": {
        "enum": [
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "billie",
          "blik",
          "boleto",
          "card",
          "cashapp",
          "eps",
          "fpx",
          "giropay",
          "grabpay",
          "ideal",
          "klarna",
          "konbini",
          "link",
          "mb_way",
          "mobilepay",
          "multibanco",
          "oxxo",
          "p24",
          "pay_by_bank",
          "paynow",
          "paypal",
          "payto",
          "pix",
          "promptpay",
          "satispay",
          "sepa_debit",
          "sofort",
          "sunbit",
          "swish",
          "twint",
          "upi",
          "us_bank_account",
          "wechat_pay",
          "zip"
        ],
        "type": "string",
        "x-stripeBypassValidation": true
      },
      "nullable": true,
      "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)."
    },
    "allow_promotion_codes": {
      "type": "boolean",
      "description": "Whether user redeemable promotion codes are enabled."
    },
    "application_fee_amount": {
      "type": "integer",
      "nullable": true,
      "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."
    },
    "application_fee_percent": {
      "type": "number",
      "nullable": true,
      "description": "This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account."
    },
    "phone_number_collection": {
      "$ref": "#/components/schemas/payment_links_resource_phone_number_collection"
    },
    "payment_method_collection": {
      "enum": [
        "always",
        "if_required"
      ],
      "type": "string",
      "description": "Configuration for collecting a payment method during checkout. Defaults to `always`."
    },
    "billing_address_collection": {
      "enum": [
        "auto",
        "required"
      ],
      "type": "string",
      "description": "Configuration for collecting the customer's billing address. Defaults to `auto`."
    },
    "shipping_address_collection": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_shipping_address_collection"
        }
      ],
      "nullable": true,
      "description": "Configuration for collecting the customer's shipping address."
    }
  },
  "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-resourceId": "payment_link",
  "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",
    "phone_number_collection",
    "restrictions",
    "shipping_address_collection",
    "shipping_options",
    "subscription_data",
    "tax_id_collection",
    "transfer_data"
  ]
}
object payment_links_resource_after_completion
{
  "type": "object",
  "title": "PaymentLinksResourceAfterCompletion",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "enum": [
        "hosted_confirmation",
        "redirect"
      ],
      "type": "string",
      "description": "The specified behavior after the purchase is complete."
    },
    "redirect": {
      "$ref": "#/components/schemas/payment_links_resource_completion_behavior_redirect"
    },
    "hosted_confirmation": {
      "$ref": "#/components/schemas/payment_links_resource_completion_behavior_confirmation_page"
    }
  },
  "description": "",
  "x-expandableFields": [
    "hosted_confirmation",
    "redirect"
  ]
}
object payment_links_resource_automatic_tax
{
  "type": "object",
  "title": "PaymentLinksResourceAutomaticTax",
  "required": [
    "enabled"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "If `true`, tax will be calculated automatically using the customer's location."
    },
    "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"
  ]
}
object payment_links_resource_business_name
{
  "type": "object",
  "title": "PaymentLinksResourceBusinessName",
  "required": [
    "enabled",
    "optional"
  ],
  "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": []
}
object payment_links_resource_completed_sessions
{
  "type": "object",
  "title": "PaymentLinksResourceCompletedSessions",
  "required": [
    "count",
    "limit"
  ],
  "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": []
}
object payment_links_resource_completion_behavior_confirmation_page
{
  "type": "object",
  "title": "PaymentLinksResourceCompletionBehaviorConfirmationPage",
  "properties": {
    "custom_message": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The custom message that is displayed to the customer after the purchase is complete."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_links_resource_completion_behavior_redirect
{
  "type": "object",
  "title": "PaymentLinksResourceCompletionBehaviorRedirect",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 5000,
      "description": "The URL the customer will be redirected to after the purchase is complete."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_links_resource_consent_collection
{
  "type": "object",
  "title": "PaymentLinksResourceConsentCollection",
  "properties": {
    "promotions": {
      "enum": [
        "auto",
        "none"
      ],
      "type": "string",
      "nullable": true,
      "description": "If set to `auto`, enables the collection of customer consent for promotional communications."
    },
    "terms_of_service": {
      "enum": [
        "none",
        "required"
      ],
      "type": "string",
      "nullable": true,
      "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."
    },
    "payment_method_reuse_agreement": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_payment_method_reuse_agreement"
        }
      ],
      "nullable": true,
      "description": "Settings related to the payment method reuse text shown in the Checkout UI."
    }
  },
  "description": "",
  "x-expandableFields": [
    "payment_method_reuse_agreement"
  ]
}
object payment_links_resource_custom_fields
{
  "type": "object",
  "title": "PaymentLinksResourceCustomFields",
  "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_links_resource_custom_fields_text"
    },
    "type": {
      "enum": [
        "dropdown",
        "numeric",
        "text"
      ],
      "type": "string",
      "description": "The type of the field."
    },
    "label": {
      "$ref": "#/components/schemas/payment_links_resource_custom_fields_label"
    },
    "numeric": {
      "$ref": "#/components/schemas/payment_links_resource_custom_fields_numeric"
    },
    "dropdown": {
      "$ref": "#/components/schemas/payment_links_resource_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"
  ]
}
object payment_links_resource_custom_fields_dropdown
{
  "type": "object",
  "title": "PaymentLinksResourceCustomFieldsDropdown",
  "required": [
    "options"
  ],
  "properties": {
    "options": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/payment_links_resource_custom_fields_dropdown_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"
  ]
}
object payment_links_resource_custom_fields_dropdown_option
{
  "type": "object",
  "title": "PaymentLinksResourceCustomFieldsDropdownOption",
  "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": []
}
object payment_links_resource_custom_fields_label
{
  "type": "object",
  "title": "PaymentLinksResourceCustomFieldsLabel",
  "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": []
}
object payment_links_resource_custom_fields_numeric
{
  "type": "object",
  "title": "PaymentLinksResourceCustomFieldsNumeric",
  "properties": {
    "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": []
}
object payment_links_resource_custom_fields_text
{
  "type": "object",
  "title": "PaymentLinksResourceCustomFieldsText",
  "properties": {
    "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": []
}
object payment_links_resource_custom_text
{
  "type": "object",
  "title": "PaymentLinksResourceCustomText",
  "properties": {
    "submit": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_custom_text_position"
        }
      ],
      "nullable": true,
      "description": "Custom text that should be displayed alongside the payment confirmation button."
    },
    "after_submit": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_custom_text_position"
        }
      ],
      "nullable": true,
      "description": "Custom text that should be displayed after the payment confirmation button."
    },
    "shipping_address": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_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_links_resource_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"
  ]
}
object payment_links_resource_custom_text_position
{
  "type": "object",
  "title": "PaymentLinksResourceCustomTextPosition",
  "required": [
    "message"
  ],
  "properties": {
    "message": {
      "type": "string",
      "maxLength": 1200,
      "description": "Text can be up to 1200 characters in length."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_links_resource_individual_name
{
  "type": "object",
  "title": "PaymentLinksResourceIndividualName",
  "required": [
    "enabled",
    "optional"
  ],
  "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": []
}
object payment_links_resource_invoice_creation
{
  "type": "object",
  "title": "PaymentLinksResourceInvoiceCreation",
  "required": [
    "enabled"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Enable creating an invoice on successful payment."
    },
    "invoice_data": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_invoice_settings"
        }
      ],
      "nullable": true,
      "description": "Configuration for the invoice. Default invoice values will be used if unspecified."
    }
  },
  "description": "",
  "x-expandableFields": [
    "invoice_data"
  ]
}
object payment_links_resource_invoice_settings
{
  "type": "object",
  "title": "PaymentLinksResourceInvoiceSettings",
  "properties": {
    "footer": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Footer to be 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": "A list of up to 4 custom fields to be 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"
  ]
}
object payment_links_resource_name_collection
{
  "type": "object",
  "title": "PaymentLinksResourceNameCollection",
  "properties": {
    "business": {
      "$ref": "#/components/schemas/payment_links_resource_business_name"
    },
    "individual": {
      "$ref": "#/components/schemas/payment_links_resource_individual_name"
    }
  },
  "description": "",
  "x-expandableFields": [
    "business",
    "individual"
  ]
}
object payment_links_resource_optional_item
{
  "type": "object",
  "title": "PaymentLinksResourceOptionalItem",
  "required": [
    "price",
    "quantity"
  ],
  "properties": {
    "price": {
      "type": "string",
      "maxLength": 5000
    },
    "quantity": {
      "type": "integer"
    },
    "adjustable_quantity": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_links_resource_optional_item_adjustable_quantity"
        }
      ],
      "nullable": true
    }
  },
  "description": "",
  "x-expandableFields": [
    "adjustable_quantity"
  ]
}
object payment_links_resource_optional_item_adjustable_quantity
{
  "type": "object",
  "title": "PaymentLinksResourceOptionalItemAdjustableQuantity",
  "required": [
    "enabled"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Set to true if the quantity can be adjusted to any non-negative integer."
    },
    "maximum": {
      "type": "integer",
      "nullable": true,
      "description": "The maximum quantity of this item the customer can purchase. By default this value is 99."
    },
    "minimum": {
      "type": "integer",
      "nullable": true,
      "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": "",
  "x-expandableFields": []
}
object payment_links_resource_payment_intent_data
{
  "type": "object",
  "title": "PaymentLinksResourcePaymentIntentData",
  "required": [
    "metadata"
  ],
  "properties": {
    "metadata": {
      "type": "object",
      "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.",
      "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."
    },
    "capture_method": {
      "enum": [
        "automatic",
        "automatic_async",
        "manual"
      ],
      "type": "string",
      "nullable": true,
      "description": "Indicates when the funds will be captured from the customer's account."
    },
    "transfer_group": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "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."
    },
    "setup_future_usage": {
      "enum": [
        "off_session",
        "on_session"
      ],
      "type": "string",
      "nullable": true,
      "description": "Indicates that you intend to make future payments with the payment method collected during checkout."
    },
    "statement_descriptor": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "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."
    },
    "statement_descriptor_suffix": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "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."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_links_resource_payment_method_reuse_agreement
{
  "type": "object",
  "title": "PaymentLinksResourcePaymentMethodReuseAgreement",
  "required": [
    "position"
  ],
  "properties": {
    "position": {
      "enum": [
        "auto",
        "hidden"
      ],
      "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."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_links_resource_phone_number_collection
{
  "type": "object",
  "title": "PaymentLinksResourcePhoneNumberCollection",
  "required": [
    "enabled"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "If `true`, a phone number will be collected during checkout."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_links_resource_restrictions
{
  "type": "object",
  "title": "PaymentLinksResourceRestrictions",
  "required": [
    "completed_sessions"
  ],
  "properties": {
    "completed_sessions": {
      "$ref": "#/components/schemas/payment_links_resource_completed_sessions"
    }
  },
  "description": "",
  "x-expandableFields": [
    "completed_sessions"
  ]
}
object payment_links_resource_shipping_address_collection
{
  "type": "object",
  "title": "PaymentLinksResourceShippingAddressCollection",
  "required": [
    "allowed_countries"
  ],
  "properties": {
    "allowed_countries": {
      "type": "array",
      "items": {
        "enum": [
          "AC",
          "AD",
          "AE",
          "AF",
          "AG",
          "AI",
          "AL",
          "AM",
          "AO",
          "AQ",
          "AR",
          "AT",
          "AU",
          "AW",
          "AX",
          "AZ",
          "BA",
          "BB",
          "BD",
          "BE",
          "BF",
          "BG",
          "BH",
          "BI",
          "BJ",
          "BL",
          "BM",
          "BN",
          "BO",
          "BQ",
          "BR",
          "BS",
          "BT",
          "BV",
          "BW",
          "BY",
          "BZ",
          "CA",
          "CD",
          "CF",
          "CG",
          "CH",
          "CI",
          "CK",
          "CL",
          "CM",
          "CN",
          "CO",
          "CR",
          "CV",
          "CW",
          "CY",
          "CZ",
          "DE",
          "DJ",
          "DK",
          "DM",
          "DO",
          "DZ",
          "EC",
          "EE",
          "EG",
          "EH",
          "ER",
          "ES",
          "ET",
          "FI",
          "FJ",
          "FK",
          "FO",
          "FR",
          "GA",
          "GB",
          "GD",
          "GE",
          "GF",
          "GG",
          "GH",
          "GI",
          "GL",
          "GM",
          "GN",
          "GP",
          "GQ",
          "GR",
          "GS",
          "GT",
          "GU",
          "GW",
          "GY",
          "HK",
          "HN",
          "HR",
          "HT",
          "HU",
          "ID",
          "IE",
          "IL",
          "IM",
          "IN",
          "IO",
          "IQ",
          "IS",
          "IT",
          "JE",
          "JM",
          "JO",
          "JP",
          "KE",
          "KG",
          "KH",
          "KI",
          "KM",
          "KN",
          "KR",
          "KW",
          "KY",
          "KZ",
          "LA",
          "LB",
          "LC",
          "LI",
          "LK",
          "LR",
          "LS",
          "LT",
          "LU",
          "LV",
          "LY",
          "MA",
          "MC",
          "MD",
          "ME",
          "MF",
          "MG",
          "MK",
          "ML",
          "MM",
          "MN",
          "MO",
          "MQ",
          "MR",
          "MS",
          "MT",
          "MU",
          "MV",
          "MW",
          "MX",
          "MY",
          "MZ",
          "NA",
          "NC",
          "NE",
          "NG",
          "NI",
          "NL",
          "NO",
          "NP",
          "NR",
          "NU",
          "NZ",
          "OM",
          "PA",
          "PE",
          "PF",
          "PG",
          "PH",
          "PK",
          "PL",
          "PM",
          "PN",
          "PR",
          "PS",
          "PT",
          "PY",
          "QA",
          "RE",
          "RO",
          "RS",
          "RU",
          "RW",
          "SA",
          "SB",
          "SC",
          "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"
        ],
        "type": "string"
      },
      "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`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_links_resource_shipping_option
{
  "type": "object",
  "title": "PaymentLinksResourceShippingOption",
  "required": [
    "shipping_amount",
    "shipping_rate"
  ],
  "properties": {
    "shipping_rate": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/shipping_rate"
        }
      ],
      "description": "The ID of the Shipping Rate to use for this shipping option.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/shipping_rate"
          }
        ]
      }
    },
    "shipping_amount": {
      "type": "integer",
      "description": "A non-negative integer in cents representing how much to charge."
    }
  },
  "description": "",
  "x-expandableFields": [
    "shipping_rate"
  ]
}
object payment_links_resource_subscription_data
{
  "type": "object",
  "title": "PaymentLinksResourceSubscriptionData",
  "required": [
    "invoice_settings",
    "metadata"
  ],
  "properties": {
    "metadata": {
      "type": "object",
      "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.",
      "additionalProperties": {
        "type": "string",
        "maxLength": 500
      }
    },
    "description": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "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."
    },
    "trial_settings": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/subscriptions_trials_resource_trial_settings"
        }
      ],
      "nullable": true,
      "description": "Settings related to subscription trials."
    },
    "invoice_settings": {
      "$ref": "#/components/schemas/payment_links_resource_subscription_data_invoice_settings"
    },
    "trial_period_days": {
      "type": "integer",
      "nullable": true,
      "description": "Integer representing the number of trial period days before the customer is charged for the first time."
    }
  },
  "description": "",
  "x-expandableFields": [
    "invoice_settings",
    "trial_settings"
  ]
}
object payment_links_resource_subscription_data_invoice_settings
{
  "type": "object",
  "title": "PaymentLinksResourceSubscriptionDataInvoiceSettings",
  "required": [
    "issuer"
  ],
  "properties": {
    "issuer": {
      "$ref": "#/components/schemas/connect_account_reference"
    }
  },
  "description": "",
  "x-expandableFields": [
    "issuer"
  ]
}
object payment_links_resource_tax_id_collection
{
  "type": "object",
  "title": "PaymentLinksResourceTaxIdCollection",
  "required": [
    "enabled",
    "required"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Indicates whether tax ID collection is enabled for the session."
    },
    "required": {
      "enum": [
        "if_supported",
        "never"
      ],
      "type": "string"
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_links_resource_transfer_data
{
  "type": "object",
  "title": "PaymentLinksResourceTransferData",
  "required": [
    "destination"
  ],
  "properties": {
    "amount": {
      "type": "integer",
      "nullable": true,
      "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."
    },
    "destination": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/account"
        }
      ],
      "description": "The connected account receiving the transfer.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/account"
          }
        ]
      }
    }
  },
  "description": "",
  "x-expandableFields": [
    "destination"
  ]
}
object payment_method
{
  "type": "object",
  "title": "PaymentMethod",
  "required": [
    "billing_details",
    "created",
    "id",
    "livemode",
    "object",
    "type"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "eps": {
      "$ref": "#/components/schemas/payment_method_eps"
    },
    "fpx": {
      "$ref": "#/components/schemas/payment_method_fpx"
    },
    "p24": {
      "$ref": "#/components/schemas/payment_method_p24"
    },
    "pix": {
      "$ref": "#/components/schemas/payment_method_pix"
    },
    "upi": {
      "$ref": "#/components/schemas/payment_method_upi"
    },
    "zip": {
      "$ref": "#/components/schemas/payment_method_zip"
    },
    "alma": {
      "$ref": "#/components/schemas/payment_method_alma"
    },
    "blik": {
      "$ref": "#/components/schemas/payment_method_blik"
    },
    "card": {
      "$ref": "#/components/schemas/payment_method_card"
    },
    "link": {
      "$ref": "#/components/schemas/payment_method_link"
    },
    "oxxo": {
      "$ref": "#/components/schemas/payment_method_oxxo"
    },
    "type": {
      "enum": [
        "acss_debit",
        "affirm",
        "afterpay_clearpay",
        "alipay",
        "alma",
        "amazon_pay",
        "au_becs_debit",
        "bacs_debit",
        "bancontact",
        "billie",
        "blik",
        "boleto",
        "card",
        "card_present",
        "cashapp",
        "crypto",
        "custom",
        "customer_balance",
        "eps",
        "fpx",
        "giropay",
        "grabpay",
        "ideal",
        "interac_present",
        "kakao_pay",
        "klarna",
        "konbini",
        "kr_card",
        "link",
        "mb_way",
        "mobilepay",
        "multibanco",
        "naver_pay",
        "nz_bank_account",
        "oxxo",
        "p24",
        "pay_by_bank",
        "payco",
        "paynow",
        "paypal",
        "payto",
        "pix",
        "promptpay",
        "revolut_pay",
        "samsung_pay",
        "satispay",
        "sepa_debit",
        "sofort",
        "sunbit",
        "swish",
        "twint",
        "upi",
        "us_bank_account",
        "wechat_pay",
        "zip"
      ],
      "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.",
      "x-stripeBypassValidation": true
    },
    "ideal": {
      "$ref": "#/components/schemas/payment_method_ideal"
    },
    "payco": {
      "$ref": "#/components/schemas/payment_method_payco"
    },
    "payto": {
      "$ref": "#/components/schemas/payment_method_payto"
    },
    "swish": {
      "$ref": "#/components/schemas/payment_method_swish"
    },
    "twint": {
      "$ref": "#/components/schemas/payment_method_twint"
    },
    "affirm": {
      "$ref": "#/components/schemas/payment_method_affirm"
    },
    "alipay": {
      "$ref": "#/components/schemas/payment_flows_private_payment_methods_alipay"
    },
    "billie": {
      "$ref": "#/components/schemas/payment_method_billie"
    },
    "boleto": {
      "$ref": "#/components/schemas/payment_method_boleto"
    },
    "crypto": {
      "$ref": "#/components/schemas/payment_method_crypto"
    },
    "custom": {
      "$ref": "#/components/schemas/payment_method_custom"
    },
    "klarna": {
      "$ref": "#/components/schemas/payment_method_klarna"
    },
    "mb_way": {
      "$ref": "#/components/schemas/payment_method_mb_way"
    },
    "object": {
      "enum": [
        "payment_method"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "paynow": {
      "$ref": "#/components/schemas/payment_method_paynow"
    },
    "paypal": {
      "$ref": "#/components/schemas/payment_method_paypal"
    },
    "sofort": {
      "$ref": "#/components/schemas/payment_method_sofort"
    },
    "sunbit": {
      "$ref": "#/components/schemas/payment_method_sunbit"
    },
    "cashapp": {
      "$ref": "#/components/schemas/payment_method_cashapp"
    },
    "created": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch."
    },
    "giropay": {
      "$ref": "#/components/schemas/payment_method_giropay"
    },
    "grabpay": {
      "$ref": "#/components/schemas/payment_method_grabpay"
    },
    "konbini": {
      "$ref": "#/components/schemas/payment_method_konbini"
    },
    "kr_card": {
      "$ref": "#/components/schemas/payment_method_kr_card"
    },
    "customer": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/customer"
        }
      ],
      "nullable": true,
      "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.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/customer"
          }
        ]
      }
    },
    "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",
      "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
      }
    },
    "satispay": {
      "$ref": "#/components/schemas/payment_method_satispay"
    },
    "kakao_pay": {
      "$ref": "#/components/schemas/payment_method_kakao_pay"
    },
    "mobilepay": {
      "$ref": "#/components/schemas/payment_method_mobilepay"
    },
    "naver_pay": {
      "$ref": "#/components/schemas/payment_method_naver_pay"
    },
    "promptpay": {
      "$ref": "#/components/schemas/payment_method_promptpay"
    },
    "acss_debit": {
      "$ref": "#/components/schemas/payment_method_acss_debit"
    },
    "amazon_pay": {
      "$ref": "#/components/schemas/payment_method_amazon_pay"
    },
    "bacs_debit": {
      "$ref": "#/components/schemas/payment_method_bacs_debit"
    },
    "bancontact": {
      "$ref": "#/components/schemas/payment_method_bancontact"
    },
    "multibanco": {
      "$ref": "#/components/schemas/payment_method_multibanco"
    },
    "sepa_debit": {
      "$ref": "#/components/schemas/payment_method_sepa_debit"
    },
    "wechat_pay": {
      "$ref": "#/components/schemas/payment_method_wechat_pay"
    },
    "pay_by_bank": {
      "$ref": "#/components/schemas/payment_method_pay_by_bank"
    },
    "revolut_pay": {
      "$ref": "#/components/schemas/payment_method_revolut_pay"
    },
    "samsung_pay": {
      "$ref": "#/components/schemas/payment_method_samsung_pay"
    },
    "card_present": {
      "$ref": "#/components/schemas/payment_method_card_present"
    },
    "au_becs_debit": {
      "$ref": "#/components/schemas/payment_method_au_becs_debit"
    },
    "radar_options": {
      "$ref": "#/components/schemas/radar_radar_options"
    },
    "allow_redisplay": {
      "enum": [
        "always",
        "limited",
        "unspecified"
      ],
      "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”."
    },
    "billing_details": {
      "$ref": "#/components/schemas/billing_details"
    },
    "interac_present": {
      "$ref": "#/components/schemas/payment_method_interac_present"
    },
    "nz_bank_account": {
      "$ref": "#/components/schemas/payment_method_nz_bank_account"
    },
    "us_bank_account": {
      "$ref": "#/components/schemas/payment_method_us_bank_account"
    },
    "customer_account": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000
    },
    "customer_balance": {
      "$ref": "#/components/schemas/payment_method_customer_balance"
    },
    "afterpay_clearpay": {
      "$ref": "#/components/schemas/payment_method_afterpay_clearpay"
    }
  },
  "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-resourceId": "payment_method",
  "x-expandableFields": [
    "acss_debit",
    "affirm",
    "afterpay_clearpay",
    "alipay",
    "alma",
    "amazon_pay",
    "au_becs_debit",
    "bacs_debit",
    "bancontact",
    "billie",
    "billing_details",
    "blik",
    "boleto",
    "card",
    "card_present",
    "cashapp",
    "crypto",
    "custom",
    "customer",
    "customer_balance",
    "eps",
    "fpx",
    "giropay",
    "grabpay",
    "ideal",
    "interac_present",
    "kakao_pay",
    "klarna",
    "konbini",
    "kr_card",
    "link",
    "mb_way",
    "mobilepay",
    "multibanco",
    "naver_pay",
    "nz_bank_account",
    "oxxo",
    "p24",
    "pay_by_bank",
    "payco",
    "paynow",
    "paypal",
    "payto",
    "pix",
    "promptpay",
    "radar_options",
    "revolut_pay",
    "samsung_pay",
    "satispay",
    "sepa_debit",
    "sofort",
    "sunbit",
    "swish",
    "twint",
    "upi",
    "us_bank_account",
    "wechat_pay",
    "zip"
  ]
}
object payment_method_acss_debit
{
  "type": "object",
  "title": "payment_method_acss_debit",
  "properties": {
    "last4": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Last four digits of the bank account number."
    },
    "bank_name": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Name of the 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."
    },
    "transit_number": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Transit number of the bank account."
    },
    "institution_number": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Institution number of the bank account."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object payment_method_affirm
{
  "type": "object",
  "title": "payment_method_affirm",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
object payment_method_afterpay_clearpay
{
  "type": "object",
  "title": "payment_method_afterpay_clearpay",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
object payment_method_alma
{
  "type": "object",
  "title": "payment_method_alma",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
object payment_method_amazon_pay
{
  "type": "object",
  "title": "payment_method_amazon_pay",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
object payment_method_au_becs_debit
{
  "type": "object",
  "title": "payment_method_au_becs_debit",
  "properties": {
    "last4": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Last four digits of the bank account number."
    },
    "bsb_number": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Six-digit number identifying bank and branch associated with this 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."
    }
  },
  "description": "",
  "x-expandableFields": []
}
Load more schemas