object radar.payment_evaluation
{
  "type": "object",
  "title": "InsightsResourcesPaymentEvaluation",
  "required": [
    "created_at",
    "events",
    "id",
    "livemode",
    "object",
    "recommended_action",
    "signals"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/insights_resources_payment_evaluation_event"
      },
      "description": "Event information associated with the payment evaluation, such as refunds, dispute, early fraud warnings, or user interventions."
    },
    "object": {
      "enum": [
        "radar.payment_evaluation"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "outcome": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/insights_resources_payment_evaluation_outcome"
        }
      ],
      "nullable": true,
      "description": "Indicates the final outcome for the payment evaluation."
    },
    "signals": {
      "$ref": "#/components/schemas/insights_resources_payment_evaluation_signals"
    },
    "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
      }
    },
    "created_at": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch."
    },
    "payment_details": {
      "$ref": "#/components/schemas/insights_resources_payment_evaluation_payment_details"
    },
    "customer_details": {
      "$ref": "#/components/schemas/insights_resources_payment_evaluation_customer_details"
    },
    "recommended_action": {
      "enum": [
        "block",
        "continue"
      ],
      "type": "string",
      "description": "Recommended action based on the score of the `fraudulent_payment` signal. Possible values are `block` and `continue`."
    },
    "client_device_metadata_details": {
      "$ref": "#/components/schemas/insights_resources_payment_evaluation_client_device_metadata"
    }
  },
  "description": "Payment Evaluations represent the risk lifecycle of an externally processed payment. It includes the Radar risk score from Stripe, payment outcome taken by the merchant or processor, and any post transaction events, such as refunds or disputes. See the [Radar API guide](/radar/multiprocessor) for integration steps.",
  "x-resourceId": "radar.payment_evaluation",
  "x-expandableFields": [
    "client_device_metadata_details",
    "customer_details",
    "events",
    "outcome",
    "payment_details",
    "signals"
  ]
}
object radar.value_list
{
  "type": "object",
  "title": "RadarListList",
  "required": [
    "alias",
    "created",
    "created_by",
    "id",
    "item_type",
    "list_items",
    "livemode",
    "metadata",
    "name",
    "object"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "name": {
      "type": "string",
      "maxLength": 5000,
      "description": "The name of the value list."
    },
    "alias": {
      "type": "string",
      "maxLength": 5000,
      "description": "The name of the value list for use in rules."
    },
    "object": {
      "enum": [
        "radar.value_list"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "created": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch."
    },
    "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
      }
    },
    "item_type": {
      "enum": [
        "account",
        "card_bin",
        "card_fingerprint",
        "case_sensitive_string",
        "country",
        "crypto_fingerprint",
        "customer_id",
        "email",
        "ip_address",
        "sepa_debit_fingerprint",
        "string",
        "us_bank_account_fingerprint"
      ],
      "type": "string",
      "description": "The type of items in the value list. One of `card_fingerprint`, `card_bin`, `crypto_fingerprint`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, `customer_id`, `account`, `sepa_debit_fingerprint`, or `us_bank_account_fingerprint`."
    },
    "created_by": {
      "type": "string",
      "maxLength": 5000,
      "description": "The name or email address of the user who created this value list."
    },
    "list_items": {
      "type": "object",
      "title": "RadarListListItemList",
      "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/radar.value_list_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": "List of items contained within this value list.",
      "x-expandableFields": [
        "data"
      ]
    }
  },
  "description": "Value lists allow you to group values together which can then be referenced in rules.\n\nRelated guide: [Default Stripe lists](https://docs.stripe.com/radar/lists#managing-list-items)",
  "x-resourceId": "radar.value_list",
  "x-expandableFields": [
    "list_items"
  ]
}
object radar.value_list_item
{
  "type": "object",
  "title": "RadarListListItem",
  "required": [
    "created",
    "created_by",
    "id",
    "livemode",
    "object",
    "value",
    "value_list"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "value": {
      "type": "string",
      "maxLength": 5000,
      "description": "The value of the item."
    },
    "object": {
      "enum": [
        "radar.value_list_item"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "created": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch."
    },
    "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`."
    },
    "created_by": {
      "type": "string",
      "maxLength": 5000,
      "description": "The name or email address of the user who added this item to the value list."
    },
    "value_list": {
      "type": "string",
      "maxLength": 5000,
      "description": "The identifier of the value list this item belongs to."
    }
  },
  "description": "Value list items allow you to add specific values to a given Radar value list, which can then be used in rules.\n\nRelated guide: [Managing list items](https://docs.stripe.com/radar/lists#managing-list-items)",
  "x-resourceId": "radar.value_list_item",
  "x-expandableFields": []
}
object radar_radar_options
{
  "type": "object",
  "title": "RadarRadarOptions",
  "properties": {
    "session": {
      "type": "string",
      "maxLength": 5000,
      "description": "A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."
    }
  },
  "description": "Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.",
  "x-expandableFields": []
}
object radar_review_resource_location
{
  "type": "object",
  "title": "RadarReviewResourceLocation",
  "properties": {
    "city": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The city where the payment originated."
    },
    "region": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The state/county/province/region where the payment originated."
    },
    "country": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Two-letter ISO code representing the country where the payment originated."
    },
    "latitude": {
      "type": "number",
      "nullable": true,
      "description": "The geographic latitude where the payment originated."
    },
    "longitude": {
      "type": "number",
      "nullable": true,
      "description": "The geographic longitude where the payment originated."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object radar_review_resource_session
{
  "type": "object",
  "title": "RadarReviewResourceSession",
  "properties": {
    "device": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Information about the device used for the browser session (e.g., `Samsung SM-G930T`)."
    },
    "browser": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The browser used in this browser session (e.g., `Chrome`)."
    },
    "version": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The version for the browser session (e.g., `61.0.3163.100`)."
    },
    "platform": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The platform for the browser session (e.g., `Macintosh`)."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object received_payment_method_details_financial_account
{
  "type": "object",
  "title": "received_payment_method_details_financial_account",
  "required": [
    "id",
    "network"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "The FinancialAccount ID."
    },
    "network": {
      "enum": [
        "stripe"
      ],
      "type": "string",
      "description": "The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object recurring
{
  "type": "object",
  "title": "Recurring",
  "required": [
    "interval",
    "interval_count",
    "usage_type"
  ],
  "properties": {
    "meter": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The meter tracking the usage of a metered price"
    },
    "interval": {
      "enum": [
        "day",
        "month",
        "week",
        "year"
      ],
      "type": "string",
      "description": "The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`."
    },
    "usage_type": {
      "enum": [
        "licensed",
        "metered"
      ],
      "type": "string",
      "description": "Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`."
    },
    "interval_count": {
      "type": "integer",
      "description": "The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund
{
  "type": "object",
  "title": "Refund",
  "required": [
    "amount",
    "created",
    "currency",
    "id",
    "object"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "amount": {
      "type": "integer",
      "description": "Amount, in cents (or local equivalent)."
    },
    "charge": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/charge"
        }
      ],
      "nullable": true,
      "description": "ID of the charge that's refunded.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/charge"
          }
        ]
      }
    },
    "object": {
      "enum": [
        "refund"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "reason": {
      "enum": [
        "duplicate",
        "expired_uncaptured_charge",
        "fraudulent",
        "requested_by_customer"
      ],
      "type": "string",
      "nullable": true,
      "description": "Reason for the refund, which is either user-provided (`duplicate`, `fraudulent`, or `requested_by_customer`) or generated by Stripe internally (`expired_uncaptured_charge`).",
      "x-stripeBypassValidation": true
    },
    "status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the refund. This can be `pending`, `requires_action`, `succeeded`, `failed`, or `canceled`. Learn more about [failed refunds](https://docs.stripe.com/refunds#failed-refunds)."
    },
    "created": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch."
    },
    "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)."
    },
    "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",
      "maxLength": 5000,
      "description": "An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only)."
    },
    "next_action": {
      "$ref": "#/components/schemas/refund_next_action"
    },
    "failure_reason": {
      "type": "string",
      "maxLength": 5000,
      "description": "Provides the reason for the refund failure. Possible values are: `lost_or_stolen_card`, `expired_or_canceled_card`, `charge_for_pending_refund_disputed`, `insufficient_funds`, `declined`, `merchant_request`, or `unknown`."
    },
    "payment_intent": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/payment_intent"
        }
      ],
      "nullable": true,
      "description": "ID of the PaymentIntent that's refunded.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/payment_intent"
          }
        ]
      }
    },
    "pending_reason": {
      "enum": [
        "charge_pending",
        "insufficient_funds",
        "processing"
      ],
      "type": "string",
      "description": "Provides the reason for why the refund is pending. Possible values are: `processing`, `insufficient_funds`, or `charge_pending`."
    },
    "receipt_number": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "This is the transaction number that appears on email receipts sent for this refund."
    },
    "transfer_reversal": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/transfer_reversal"
        }
      ],
      "nullable": true,
      "description": "This refers to the transfer reversal object if the accompanying transfer reverses. This is only applicable if the charge was created using the destination parameter.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/transfer_reversal"
          }
        ]
      }
    },
    "instructions_email": {
      "type": "string",
      "maxLength": 5000,
      "description": "For payment methods without native refund support (for example, Konbini, PromptPay), provide an email address for the customer to receive refund instructions."
    },
    "balance_transaction": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/balance_transaction"
        }
      ],
      "nullable": true,
      "description": "Balance transaction that describes the impact on your account balance.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/balance_transaction"
          }
        ]
      }
    },
    "destination_details": {
      "$ref": "#/components/schemas/refund_destination_details"
    },
    "presentment_details": {
      "$ref": "#/components/schemas/payment_flows_payment_intent_presentment_details"
    },
    "source_transfer_reversal": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/transfer_reversal"
        }
      ],
      "nullable": true,
      "description": "The transfer reversal that's associated with the refund. Only present if the charge came from another Stripe account.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/transfer_reversal"
          }
        ]
      }
    },
    "failure_balance_transaction": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/balance_transaction"
        }
      ],
      "description": "After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/balance_transaction"
          }
        ]
      }
    }
  },
  "description": "Refund objects allow you to refund a previously created charge that isn't\nrefunded yet. Funds are refunded to the credit or debit card that's\ninitially charged.\n\nRelated guide: [Refunds](https://docs.stripe.com/refunds)",
  "x-resourceId": "refund",
  "x-expandableFields": [
    "balance_transaction",
    "charge",
    "destination_details",
    "failure_balance_transaction",
    "next_action",
    "payment_intent",
    "presentment_details",
    "source_transfer_reversal",
    "transfer_reversal"
  ]
}
object refund_destination_details
{
  "type": "object",
  "title": "refund_destination_details",
  "required": [
    "type"
  ],
  "properties": {
    "eps": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "p24": {
      "$ref": "#/components/schemas/refund_destination_details_p24"
    },
    "pix": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "zip": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "alma": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "blik": {
      "$ref": "#/components/schemas/refund_destination_details_blik"
    },
    "card": {
      "$ref": "#/components/schemas/refund_destination_details_card"
    },
    "type": {
      "type": "string",
      "maxLength": 5000,
      "description": "The type of transaction-specific details of the payment method used in the refund (e.g., `card`). An additional hash is included on `destination_details` with a name matching this value. It contains information specific to the refund transaction."
    },
    "swish": {
      "$ref": "#/components/schemas/refund_destination_details_swish"
    },
    "twint": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "affirm": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "alipay": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "crypto": {
      "$ref": "#/components/schemas/refund_destination_details_crypto"
    },
    "klarna": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "mb_way": {
      "$ref": "#/components/schemas/refund_destination_details_mb_way"
    },
    "paynow": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "paypal": {
      "$ref": "#/components/schemas/refund_destination_details_paypal"
    },
    "sofort": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "cashapp": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "giropay": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "grabpay": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "revolut": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "amazon_pay": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "multibanco": {
      "$ref": "#/components/schemas/refund_destination_details_multibanco"
    },
    "wechat_pay": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "au_bank_transfer": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "br_bank_transfer": {
      "$ref": "#/components/schemas/refund_destination_details_br_bank_transfer"
    },
    "eu_bank_transfer": {
      "$ref": "#/components/schemas/refund_destination_details_eu_bank_transfer"
    },
    "gb_bank_transfer": {
      "$ref": "#/components/schemas/refund_destination_details_gb_bank_transfer"
    },
    "jp_bank_transfer": {
      "$ref": "#/components/schemas/refund_destination_details_jp_bank_transfer"
    },
    "mx_bank_transfer": {
      "$ref": "#/components/schemas/refund_destination_details_mx_bank_transfer"
    },
    "nz_bank_transfer": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "th_bank_transfer": {
      "$ref": "#/components/schemas/refund_destination_details_th_bank_transfer"
    },
    "us_bank_transfer": {
      "$ref": "#/components/schemas/refund_destination_details_us_bank_transfer"
    },
    "afterpay_clearpay": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    },
    "customer_cash_balance": {
      "$ref": "#/components/schemas/destination_details_unimplemented"
    }
  },
  "description": "",
  "x-expandableFields": [
    "affirm",
    "afterpay_clearpay",
    "alipay",
    "alma",
    "amazon_pay",
    "au_bank_transfer",
    "blik",
    "br_bank_transfer",
    "card",
    "cashapp",
    "crypto",
    "customer_cash_balance",
    "eps",
    "eu_bank_transfer",
    "gb_bank_transfer",
    "giropay",
    "grabpay",
    "jp_bank_transfer",
    "klarna",
    "mb_way",
    "multibanco",
    "mx_bank_transfer",
    "nz_bank_transfer",
    "p24",
    "paynow",
    "paypal",
    "pix",
    "revolut",
    "sofort",
    "swish",
    "th_bank_transfer",
    "twint",
    "us_bank_transfer",
    "wechat_pay",
    "zip"
  ]
}
object refund_destination_details_blik
{
  "type": "object",
  "title": "refund_destination_details_blik",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    },
    "network_decline_code": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_br_bank_transfer
{
  "type": "object",
  "title": "refund_destination_details_br_bank_transfer",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_card
{
  "type": "object",
  "title": "refund_destination_details_card",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "enum": [
        "pending",
        "refund",
        "reversal"
      ],
      "type": "string",
      "description": "The type of refund. This can be `refund`, `reversal`, or `pending`."
    },
    "reference": {
      "type": "string",
      "maxLength": 5000,
      "description": "Value of the reference number assigned to the refund."
    },
    "reference_type": {
      "type": "string",
      "maxLength": 5000,
      "description": "Type of the reference number assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "maxLength": 5000,
      "description": "Status of the reference number on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_crypto
{
  "type": "object",
  "title": "refund_destination_details_crypto",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The transaction hash of the refund."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_eu_bank_transfer
{
  "type": "object",
  "title": "refund_destination_details_eu_bank_transfer",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_gb_bank_transfer
{
  "type": "object",
  "title": "refund_destination_details_gb_bank_transfer",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_jp_bank_transfer
{
  "type": "object",
  "title": "refund_destination_details_jp_bank_transfer",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_mb_way
{
  "type": "object",
  "title": "refund_destination_details_mb_way",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_multibanco
{
  "type": "object",
  "title": "refund_destination_details_multibanco",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_mx_bank_transfer
{
  "type": "object",
  "title": "refund_destination_details_mx_bank_transfer",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_p24
{
  "type": "object",
  "title": "refund_destination_details_p24",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_paypal
{
  "type": "object",
  "title": "refund_destination_details_paypal",
  "properties": {
    "network_decline_code": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_swish
{
  "type": "object",
  "title": "refund_destination_details_swish",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    },
    "network_decline_code": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_th_bank_transfer
{
  "type": "object",
  "title": "refund_destination_details_th_bank_transfer",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_destination_details_us_bank_transfer
{
  "type": "object",
  "title": "refund_destination_details_us_bank_transfer",
  "properties": {
    "reference": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The reference assigned to the refund."
    },
    "reference_status": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object refund_next_action
{
  "type": "object",
  "title": "RefundNextAction",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "type": "string",
      "maxLength": 5000,
      "description": "Type of the next action to perform."
    },
    "display_details": {
      "$ref": "#/components/schemas/refund_next_action_display_details"
    }
  },
  "description": "",
  "x-expandableFields": [
    "display_details"
  ]
}
object refund_next_action_display_details
{
  "type": "object",
  "title": "RefundNextActionDisplayDetails",
  "required": [
    "email_sent",
    "expires_at"
  ],
  "properties": {
    "email_sent": {
      "$ref": "#/components/schemas/email_sent"
    },
    "expires_at": {
      "type": "integer",
      "format": "unix-time",
      "description": "The expiry timestamp."
    }
  },
  "description": "",
  "x-expandableFields": [
    "email_sent"
  ]
}
object reporting.report_run
{
  "type": "object",
  "title": "reporting_report_run",
  "required": [
    "created",
    "id",
    "livemode",
    "object",
    "parameters",
    "report_type",
    "status"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "error": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "If something should go wrong during the run, a message about the failure (populated when\n `status=failed`)."
    },
    "object": {
      "enum": [
        "reporting.report_run"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "result": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/file"
        }
      ],
      "nullable": true,
      "description": "The file object representing the result of the report run (populated when\n `status=succeeded`)."
    },
    "status": {
      "type": "string",
      "maxLength": 5000,
      "description": "Status of this report run. This will be `pending` when the run is initially created.\n When the run finishes, this will be set to `succeeded` and the `result` field will be populated.\n Rarely, we may encounter an error, at which point this will be set to `failed` and the `error` field will be populated."
    },
    "created": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch."
    },
    "livemode": {
      "type": "boolean",
      "description": "`true` if the report is run on live mode data and `false` if it is run on test mode data."
    },
    "parameters": {
      "$ref": "#/components/schemas/financial_reporting_finance_report_run_run_parameters"
    },
    "report_type": {
      "type": "string",
      "maxLength": 5000,
      "description": "The ID of the [report type](https://docs.stripe.com/reports/report-types) to run, such as `\"balance.summary.1\"`."
    },
    "succeeded_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp at which this run successfully finished (populated when\n `status=succeeded`). Measured in seconds since the Unix epoch."
    }
  },
  "description": "The Report Run object represents an instance of a report type generated with\nspecific run parameters. Once the object is created, Stripe begins processing the report.\nWhen the report has finished running, it will give you a reference to a file\nwhere you can retrieve your results. For an overview, see\n[API Access to Reports](https://docs.stripe.com/reporting/statements/api).\n\nNote that certain report types can only be run based on your live-mode data (not test-mode\ndata), and will error when queried without a [live-mode API key](https://docs.stripe.com/keys#test-live-modes).",
  "x-resourceId": "reporting.report_run",
  "x-expandableFields": [
    "parameters",
    "result"
  ]
}
object reporting.report_type
{
  "type": "object",
  "title": "reporting_report_type",
  "required": [
    "data_available_end",
    "data_available_start",
    "id",
    "livemode",
    "name",
    "object",
    "updated",
    "version"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "The [ID of the Report Type](https://docs.stripe.com/reporting/statements/api#available-report-types), such as `balance.summary.1`."
    },
    "name": {
      "type": "string",
      "maxLength": 5000,
      "description": "Human-readable name of the Report Type"
    },
    "object": {
      "enum": [
        "reporting.report_type"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "updated": {
      "type": "integer",
      "format": "unix-time",
      "description": "When this Report Type was latest updated. Measured in seconds since the Unix epoch."
    },
    "version": {
      "type": "integer",
      "description": "Version of the Report Type. Different versions report with the same ID will have the same purpose, but may take different run parameters or have different result schemas."
    },
    "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`."
    },
    "default_columns": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 5000
      },
      "nullable": true,
      "description": "List of column names that are included by default when this Report Type gets run. (If the Report Type doesn't support the `columns` parameter, this will be null.)"
    },
    "data_available_end": {
      "type": "integer",
      "format": "unix-time",
      "description": "Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch."
    },
    "data_available_start": {
      "type": "integer",
      "format": "unix-time",
      "description": "Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch."
    }
  },
  "description": "The Report Type resource corresponds to a particular type of report, such as\nthe \"Activity summary\" or \"Itemized payouts\" reports. These objects are\nidentified by an ID belonging to a set of enumerated values. See\n[API Access to Reports documentation](https://docs.stripe.com/reporting/statements/api)\nfor those Report Type IDs, along with required and optional parameters.\n\nNote that certain report types can only be run based on your live-mode data (not test-mode\ndata), and will error when queried without a [live-mode API key](https://docs.stripe.com/keys#test-live-modes).",
  "x-resourceId": "reporting.report_type",
  "x-expandableFields": []
}
object reserve_transaction
{
  "type": "object",
  "title": "ReserveTransaction",
  "required": [
    "amount",
    "currency",
    "id",
    "object"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "amount": {
      "type": "integer"
    },
    "object": {
      "enum": [
        "reserve_transaction"
      ],
      "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)."
    },
    "description": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "An arbitrary string attached to the object. Often useful for displaying to users."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object review
{
  "type": "object",
  "title": "RadarReview",
  "required": [
    "created",
    "id",
    "livemode",
    "object",
    "open",
    "opened_reason",
    "reason"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "open": {
      "type": "boolean",
      "description": "If `true`, the review needs action."
    },
    "charge": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/charge"
        }
      ],
      "nullable": true,
      "description": "The charge associated with this review.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/charge"
          }
        ]
      }
    },
    "object": {
      "enum": [
        "review"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "reason": {
      "type": "string",
      "maxLength": 5000,
      "description": "The reason the review is currently open or closed. One of `rule`, `manual`, `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`."
    },
    "created": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch."
    },
    "session": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/radar_review_resource_session"
        }
      ],
      "nullable": true,
      "description": "Information related to the browsing session of the user who initiated the payment."
    },
    "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`."
    },
    "ip_address": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The IP address where the payment originated."
    },
    "billing_zip": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The ZIP or postal code of the card used, if applicable."
    },
    "closed_reason": {
      "enum": [
        "acknowledged",
        "approved",
        "canceled",
        "disputed",
        "payment_never_settled",
        "redacted",
        "refunded",
        "refunded_as_fraud"
      ],
      "type": "string",
      "nullable": true,
      "description": "The reason the review was closed, or null if it has not yet been closed. One of `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`."
    },
    "opened_reason": {
      "enum": [
        "manual",
        "rule"
      ],
      "type": "string",
      "description": "The reason the review was opened. One of `rule` or `manual`."
    },
    "payment_intent": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/payment_intent"
        }
      ],
      "description": "The PaymentIntent ID associated with this review, if one exists.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/payment_intent"
          }
        ]
      }
    },
    "ip_address_location": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/radar_review_resource_location"
        }
      ],
      "nullable": true,
      "description": "Information related to the location of the payment. Note that this information is an approximation and attempts to locate the nearest population center - it should not be used to determine a specific address."
    }
  },
  "description": "Reviews can be used to supplement automated fraud detection with human expertise.\n\nLearn more about [Radar](/radar) and reviewing payments\n[here](https://docs.stripe.com/radar/reviews).",
  "x-resourceId": "review",
  "x-expandableFields": [
    "charge",
    "ip_address_location",
    "payment_intent",
    "session"
  ]
}
object revolut_pay_underlying_payment_method_funding_details
{
  "type": "object",
  "title": "revolut_pay_underlying_payment_method_funding_details",
  "properties": {
    "card": {
      "$ref": "#/components/schemas/payment_method_details_passthrough_card"
    },
    "type": {
      "enum": [
        "card"
      ],
      "type": "string",
      "nullable": true,
      "description": "funding type of the underlying payment method."
    }
  },
  "description": "",
  "x-expandableFields": [
    "card"
  ]
}
object rule
{
  "type": "object",
  "title": "RadarRule",
  "required": [
    "action",
    "id",
    "predicate"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "action": {
      "type": "string",
      "maxLength": 5000,
      "description": "The action taken on the payment."
    },
    "predicate": {
      "type": "string",
      "maxLength": 5000,
      "description": "The predicate to evaluate the payment against."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object scheduled_query_run
{
  "type": "object",
  "title": "ScheduledQueryRun",
  "required": [
    "created",
    "data_load_time",
    "id",
    "livemode",
    "object",
    "result_available_until",
    "sql",
    "status",
    "title"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "sql": {
      "type": "string",
      "maxLength": 100000,
      "description": "SQL for the query."
    },
    "file": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/file"
        }
      ],
      "nullable": true,
      "description": "The file object representing the results of the query."
    },
    "error": {
      "$ref": "#/components/schemas/sigma_scheduled_query_run_error"
    },
    "title": {
      "type": "string",
      "maxLength": 5000,
      "description": "Title of the query."
    },
    "object": {
      "enum": [
        "scheduled_query_run"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "status": {
      "type": "string",
      "maxLength": 5000,
      "description": "The query's execution status, which will be `completed` for successful runs, and `canceled`, `failed`, or `timed_out` otherwise."
    },
    "created": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch."
    },
    "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`."
    },
    "data_load_time": {
      "type": "integer",
      "format": "unix-time",
      "description": "When the query was run, Sigma contained a snapshot of your Stripe data at this time."
    },
    "result_available_until": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the result expires and is no longer available for download."
    }
  },
  "description": "If you have [scheduled a Sigma query](https://docs.stripe.com/sigma/scheduled-queries), you'll\nreceive a `sigma.scheduled_query_run.created` webhook each time the query\nruns. The webhook contains a `ScheduledQueryRun` object, which you can use to\nretrieve the query results.",
  "x-resourceId": "scheduled_query_run",
  "x-expandableFields": [
    "error",
    "file"
  ]
}
object schedules_phase_automatic_tax
{
  "type": "object",
  "title": "SchedulesPhaseAutomaticTax",
  "required": [
    "enabled"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Whether Stripe automatically computes tax on invoices created during this phase."
    },
    "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."
    },
    "disabled_reason": {
      "enum": [
        "requires_location_inputs"
      ],
      "type": "string",
      "nullable": true,
      "description": "If Stripe disabled automatic tax, this enum describes why."
    }
  },
  "description": "",
  "x-expandableFields": [
    "liability"
  ]
}
object secret_service_resource_scope
{
  "type": "object",
  "title": "SecretServiceResourceScope",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "enum": [
        "account",
        "user"
      ],
      "type": "string",
      "description": "The secret scope type."
    },
    "user": {
      "type": "string",
      "maxLength": 5000,
      "description": "The user ID, if type is set to \"user\""
    }
  },
  "description": "",
  "x-expandableFields": []
}
object sepa_debit_generated_from
{
  "type": "object",
  "title": "sepa_debit_generated_from",
  "properties": {
    "charge": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/charge"
        }
      ],
      "nullable": true,
      "description": "The ID of the Charge that generated this PaymentMethod, if any.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/charge"
          }
        ]
      }
    },
    "setup_attempt": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/setup_attempt"
        }
      ],
      "nullable": true,
      "description": "The ID of the SetupAttempt that generated this PaymentMethod, if any.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/setup_attempt"
          }
        ]
      }
    }
  },
  "description": "",
  "x-expandableFields": [
    "charge",
    "setup_attempt"
  ]
}
object setup_attempt
{
  "type": "object",
  "title": "PaymentFlowsSetupIntentSetupAttempt",
  "required": [
    "created",
    "id",
    "livemode",
    "object",
    "payment_method",
    "payment_method_details",
    "setup_intent",
    "status",
    "usage"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "usage": {
      "type": "string",
      "maxLength": 5000,
      "description": "The value of [usage](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage) on the SetupIntent at the time of this confirmation, one of `off_session` or `on_session`."
    },
    "object": {
      "enum": [
        "setup_attempt"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "status": {
      "type": "string",
      "maxLength": 5000,
      "description": "Status of this SetupAttempt, one of `requires_confirmation`, `requires_action`, `processing`, `succeeded`, `failed`, or `abandoned`."
    },
    "created": {
      "type": "integer",
      "format": "unix-time",
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch."
    },
    "customer": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/customer"
        },
        {
          "$ref": "#/components/schemas/deleted_customer"
        }
      ],
      "nullable": true,
      "description": "The value of [customer](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer) on the SetupIntent at the time of this confirmation.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/customer"
          },
          {
            "$ref": "#/components/schemas/deleted_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`."
    },
    "application": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/application"
        }
      ],
      "nullable": true,
      "description": "The value of [application](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-application) on the SetupIntent at the time of this confirmation.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/application"
          }
        ]
      }
    },
    "setup_error": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/api_errors"
        }
      ],
      "nullable": true,
      "description": "The error encountered during this attempt to confirm the SetupIntent, if any."
    },
    "on_behalf_of": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/account"
        }
      ],
      "nullable": true,
      "description": "The value of [on_behalf_of](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-on_behalf_of) on the SetupIntent at the time of this confirmation.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/account"
          }
        ]
      }
    },
    "setup_intent": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/setup_intent"
        }
      ],
      "description": "ID of the SetupIntent that this attempt belongs to.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/setup_intent"
          }
        ]
      }
    },
    "attach_to_self": {
      "type": "boolean",
      "description": "If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.\n\nIt can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer."
    },
    "payment_method": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/payment_method"
        }
      ],
      "description": "ID of the payment method used with this SetupAttempt.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/payment_method"
          }
        ]
      }
    },
    "flow_directions": {
      "type": "array",
      "items": {
        "enum": [
          "inbound",
          "outbound"
        ],
        "type": "string"
      },
      "nullable": true,
      "description": "Indicates the directions of money movement for which this payment method is intended to be used.\n\nInclude `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes."
    },
    "customer_account": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The value of [customer_account](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer_account) on the SetupIntent at the time of this confirmation."
    },
    "payment_method_details": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details"
    }
  },
  "description": "A SetupAttempt describes one attempted confirmation of a SetupIntent,\nwhether that confirmation is successful or unsuccessful. You can use\nSetupAttempts to inspect details of a specific attempt at setting up a\npayment method using a SetupIntent.",
  "x-resourceId": "setup_attempt",
  "x-expandableFields": [
    "application",
    "customer",
    "on_behalf_of",
    "payment_method",
    "payment_method_details",
    "setup_error",
    "setup_intent"
  ]
}
object setup_attempt_payment_method_details
{
  "type": "object",
  "title": "SetupAttemptPaymentMethodDetails",
  "required": [
    "type"
  ],
  "properties": {
    "pix": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_pix"
    },
    "upi": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_upi"
    },
    "card": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_card"
    },
    "link": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_link"
    },
    "type": {
      "type": "string",
      "maxLength": 5000,
      "description": "The type of the payment method used in the SetupIntent (e.g., `card`). An additional hash is included on `payment_method_details` with a name matching this value. It contains confirmation-specific information for the payment method."
    },
    "ideal": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_ideal"
    },
    "payto": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_payto"
    },
    "boleto": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_boleto"
    },
    "klarna": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_klarna"
    },
    "paypal": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_paypal"
    },
    "sofort": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_sofort"
    },
    "cashapp": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_cashapp"
    },
    "kr_card": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_kr_card"
    },
    "kakao_pay": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_kakao_pay"
    },
    "naver_pay": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_naver_pay"
    },
    "acss_debit": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_acss_debit"
    },
    "amazon_pay": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_amazon_pay"
    },
    "bacs_debit": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_bacs_debit"
    },
    "bancontact": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_bancontact"
    },
    "sepa_debit": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_sepa_debit"
    },
    "revolut_pay": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_revolut_pay"
    },
    "card_present": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_card_present"
    },
    "au_becs_debit": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_au_becs_debit"
    },
    "nz_bank_account": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_nz_bank_account"
    },
    "us_bank_account": {
      "$ref": "#/components/schemas/setup_attempt_payment_method_details_us_bank_account"
    }
  },
  "description": "",
  "x-expandableFields": [
    "acss_debit",
    "amazon_pay",
    "au_becs_debit",
    "bacs_debit",
    "bancontact",
    "boleto",
    "card",
    "card_present",
    "cashapp",
    "ideal",
    "kakao_pay",
    "klarna",
    "kr_card",
    "link",
    "naver_pay",
    "nz_bank_account",
    "paypal",
    "payto",
    "pix",
    "revolut_pay",
    "sepa_debit",
    "sofort",
    "upi",
    "us_bank_account"
  ]
}
object setup_attempt_payment_method_details_acss_debit
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_acss_debit",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
object setup_attempt_payment_method_details_amazon_pay
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_amazon_pay",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
object setup_attempt_payment_method_details_au_becs_debit
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_au_becs_debit",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
object setup_attempt_payment_method_details_bacs_debit
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_bacs_debit",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
object setup_attempt_payment_method_details_bancontact
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_bancontact",
  "properties": {
    "bic": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Bank Identifier Code of the bank associated with the bank account."
    },
    "bank_code": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Bank code of bank associated with the bank account."
    },
    "bank_name": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Name of the bank associated with the bank account."
    },
    "iban_last4": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Last four characters of the IBAN."
    },
    "verified_name": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Owner's verified full name. Values are verified or provided by Bancontact directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated."
    },
    "preferred_language": {
      "enum": [
        "de",
        "en",
        "fr",
        "nl"
      ],
      "type": "string",
      "nullable": true,
      "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.\nCan be one of `en`, `de`, `fr`, or `nl`"
    },
    "generated_sepa_debit": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/payment_method"
        }
      ],
      "nullable": true,
      "description": "The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/payment_method"
          }
        ]
      }
    },
    "generated_sepa_debit_mandate": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/mandate"
        }
      ],
      "nullable": true,
      "description": "The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/mandate"
          }
        ]
      }
    }
  },
  "description": "",
  "x-expandableFields": [
    "generated_sepa_debit",
    "generated_sepa_debit_mandate"
  ]
}
object setup_attempt_payment_method_details_boleto
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_boleto",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
object setup_attempt_payment_method_details_card
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_card",
  "properties": {
    "brand": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`."
    },
    "last4": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The last four digits of the card."
    },
    "checks": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/setup_attempt_payment_method_details_card_checks"
        }
      ],
      "nullable": true,
      "description": "Check results by Card networks on Card address and CVC at the time of authorization"
    },
    "wallet": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/setup_attempt_payment_method_details_card_wallet"
        }
      ],
      "nullable": true,
      "description": "If this Card is part of a card wallet, this contains the details of the card wallet."
    },
    "country": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected."
    },
    "funding": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`."
    },
    "network": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`."
    },
    "exp_year": {
      "type": "integer",
      "nullable": true,
      "description": "Four-digit number representing the card's expiration year."
    },
    "exp_month": {
      "type": "integer",
      "nullable": true,
      "description": "Two-digit number representing the card's expiration month."
    },
    "fingerprint": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*"
    },
    "three_d_secure": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/three_d_secure_details"
        }
      ],
      "nullable": true,
      "description": "Populated if this authorization used 3D Secure authentication."
    }
  },
  "description": "",
  "x-expandableFields": [
    "checks",
    "three_d_secure",
    "wallet"
  ]
}
object setup_attempt_payment_method_details_card_checks
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_card_checks",
  "properties": {
    "cvc_check": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`."
    },
    "address_line1_check": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`."
    },
    "address_postal_code_check": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object setup_attempt_payment_method_details_card_present
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_card_present",
  "properties": {
    "offline": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/payment_method_details_card_present_offline"
        }
      ],
      "nullable": true,
      "description": "Details about payments collected offline."
    },
    "generated_card": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/payment_method"
        }
      ],
      "nullable": true,
      "description": "The ID of the Card PaymentMethod which was generated by this SetupAttempt.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/payment_method"
          }
        ]
      }
    }
  },
  "description": "",
  "x-expandableFields": [
    "generated_card",
    "offline"
  ]
}
object setup_attempt_payment_method_details_card_wallet
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_card_wallet",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "enum": [
        "apple_pay",
        "google_pay",
        "link"
      ],
      "type": "string",
      "description": "The type of the card wallet, one of `apple_pay`, `google_pay`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type."
    },
    "apple_pay": {
      "$ref": "#/components/schemas/payment_method_details_card_wallet_apple_pay"
    },
    "google_pay": {
      "$ref": "#/components/schemas/payment_method_details_card_wallet_google_pay"
    }
  },
  "description": "",
  "x-expandableFields": [
    "apple_pay",
    "google_pay"
  ]
}
object setup_attempt_payment_method_details_cashapp
{
  "type": "object",
  "title": "setup_attempt_payment_method_details_cashapp",
  "properties": {},
  "description": "",
  "x-expandableFields": []
}
Load more schemas