object treasury_financial_accounts_resource_platform_restrictions
{
  "type": "object",
  "title": "TreasuryFinancialAccountsResourcePlatformRestrictions",
  "properties": {
    "inbound_flows": {
      "enum": [
        "restricted",
        "unrestricted"
      ],
      "type": "string",
      "nullable": true,
      "description": "Restricts all inbound money movement."
    },
    "outbound_flows": {
      "enum": [
        "restricted",
        "unrestricted"
      ],
      "type": "string",
      "nullable": true,
      "description": "Restricts all outbound money movement."
    }
  },
  "description": "Restrictions that a Connect Platform has placed on this FinancialAccount.",
  "x-expandableFields": []
}
object treasury_financial_accounts_resource_status_details
{
  "type": "object",
  "title": "TreasuryFinancialAccountsResourceStatusDetails",
  "properties": {
    "closed": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/treasury_financial_accounts_resource_closed_status_details"
        }
      ],
      "nullable": true,
      "description": "Details related to the closure of this FinancialAccount"
    }
  },
  "description": "",
  "x-expandableFields": [
    "closed"
  ]
}
object treasury_financial_accounts_resource_toggle_settings
{
  "type": "object",
  "title": "TreasuryFinancialAccountsResourceToggleSettings",
  "required": [
    "requested",
    "status",
    "status_details"
  ],
  "properties": {
    "status": {
      "enum": [
        "active",
        "pending",
        "restricted"
      ],
      "type": "string",
      "description": "Whether the Feature is operational."
    },
    "requested": {
      "type": "boolean",
      "description": "Whether the FinancialAccount should have the Feature."
    },
    "status_details": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/treasury_financial_accounts_resource_toggles_setting_status_details"
      },
      "description": "Additional details; includes at least one entry when the status is not `active`."
    }
  },
  "description": "Toggle settings for enabling/disabling a feature",
  "x-expandableFields": [
    "status_details"
  ]
}
object treasury_financial_accounts_resource_toggles_setting_status_details
{
  "type": "object",
  "title": "TreasuryFinancialAccountsResourceTogglesSettingStatusDetails",
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "enum": [
        "activating",
        "capability_not_requested",
        "financial_account_closed",
        "rejected_other",
        "rejected_unsupported_business",
        "requirements_past_due",
        "requirements_pending_verification",
        "restricted_by_platform",
        "restricted_other"
      ],
      "type": "string",
      "description": "Represents the reason why the status is `pending` or `restricted`.",
      "x-stripeBypassValidation": true
    },
    "resolution": {
      "enum": [
        "contact_stripe",
        "provide_information",
        "remove_restriction"
      ],
      "type": "string",
      "nullable": true,
      "description": "Represents what the user should do, if anything, to activate the Feature.",
      "x-stripeBypassValidation": true
    },
    "restriction": {
      "enum": [
        "inbound_flows",
        "outbound_flows"
      ],
      "type": "string",
      "description": "The `platform_restrictions` that are restricting this Feature.",
      "x-stripeBypassValidation": true
    }
  },
  "description": "Additional details on the FinancialAccount Features information.",
  "x-expandableFields": []
}
object treasury_inbound_transfers_resource_failure_details
{
  "type": "object",
  "title": "TreasuryInboundTransfersResourceFailureDetails",
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "enum": [
        "account_closed",
        "account_frozen",
        "bank_account_restricted",
        "bank_ownership_changed",
        "debit_not_authorized",
        "incorrect_account_holder_address",
        "incorrect_account_holder_name",
        "incorrect_account_holder_tax_id",
        "insufficient_funds",
        "invalid_account_number",
        "invalid_currency",
        "no_account",
        "other"
      ],
      "type": "string",
      "description": "Reason for the failure."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_inbound_transfers_resource_inbound_transfer_resource_linked_flows
{
  "type": "object",
  "title": "TreasuryInboundTransfersResourceInboundTransferResourceLinkedFlows",
  "properties": {
    "received_debit": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "If funds for this flow were returned after the flow went to the `succeeded` state, this field contains a reference to the ReceivedDebit return."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_inbound_transfers_resource_inbound_transfer_resource_status_transitions
{
  "type": "object",
  "title": "TreasuryInboundTransfersResourceInboundTransferResourceStatusTransitions",
  "properties": {
    "failed_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an InboundTransfer changed status to `failed`."
    },
    "canceled_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an InboundTransfer changed status to `canceled`."
    },
    "succeeded_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an InboundTransfer changed status to `succeeded`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_outbound_payments_resource_ach_tracking_details
{
  "type": "object",
  "title": "TreasuryOutboundPaymentsResourceACHTrackingDetails",
  "required": [
    "trace_id"
  ],
  "properties": {
    "trace_id": {
      "type": "string",
      "maxLength": 5000,
      "description": "ACH trace ID of the OutboundPayment for payments sent over the `ach` network."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_outbound_payments_resource_outbound_payment_resource_end_user_details
{
  "type": "object",
  "title": "TreasuryOutboundPaymentsResourceOutboundPaymentResourceEndUserDetails",
  "required": [
    "present"
  ],
  "properties": {
    "present": {
      "type": "boolean",
      "description": "`true` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`."
    },
    "ip_address": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "IP address of the user initiating the OutboundPayment. Set if `present` is set to `true`. IP address collection is required for risk and compliance reasons. This will be used to help determine if the OutboundPayment is authorized or should be blocked."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_outbound_payments_resource_outbound_payment_resource_status_transitions
{
  "type": "object",
  "title": "TreasuryOutboundPaymentsResourceOutboundPaymentResourceStatusTransitions",
  "properties": {
    "failed_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an OutboundPayment changed status to `failed`."
    },
    "posted_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an OutboundPayment changed status to `posted`."
    },
    "canceled_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an OutboundPayment changed status to `canceled`."
    },
    "returned_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an OutboundPayment changed status to `returned`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_outbound_payments_resource_outbound_payment_resource_tracking_details
{
  "type": "object",
  "title": "TreasuryOutboundPaymentsResourceOutboundPaymentResourceTrackingDetails",
  "required": [
    "type"
  ],
  "properties": {
    "ach": {
      "$ref": "#/components/schemas/treasury_outbound_payments_resource_ach_tracking_details"
    },
    "type": {
      "enum": [
        "ach",
        "us_domestic_wire"
      ],
      "type": "string",
      "description": "The US bank account network used to send funds."
    },
    "us_domestic_wire": {
      "$ref": "#/components/schemas/treasury_outbound_payments_resource_us_domestic_wire_tracking_details"
    }
  },
  "description": "",
  "x-expandableFields": [
    "ach",
    "us_domestic_wire"
  ]
}
object treasury_outbound_payments_resource_returned_status
{
  "type": "object",
  "title": "TreasuryOutboundPaymentsResourceReturnedStatus",
  "required": [
    "code",
    "transaction"
  ],
  "properties": {
    "code": {
      "enum": [
        "account_closed",
        "account_frozen",
        "bank_account_restricted",
        "bank_ownership_changed",
        "declined",
        "incorrect_account_holder_name",
        "invalid_account_number",
        "invalid_currency",
        "no_account",
        "other"
      ],
      "type": "string",
      "description": "Reason for the return."
    },
    "transaction": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/treasury.transaction"
        }
      ],
      "description": "The Transaction associated with this object.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/treasury.transaction"
          }
        ]
      }
    }
  },
  "description": "",
  "x-expandableFields": [
    "transaction"
  ]
}
object treasury_outbound_payments_resource_us_domestic_wire_tracking_details
{
  "type": "object",
  "title": "TreasuryOutboundPaymentsResourceUSDomesticWireTrackingDetails",
  "properties": {
    "imad": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "IMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network."
    },
    "omad": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "OMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network."
    },
    "chips": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "CHIPS System Sequence Number (SSN) of the OutboundPayment for payments sent over the `us_domestic_wire` network."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_outbound_transfers_resource_ach_tracking_details
{
  "type": "object",
  "title": "TreasuryOutboundTransfersResourceACHTrackingDetails",
  "required": [
    "trace_id"
  ],
  "properties": {
    "trace_id": {
      "type": "string",
      "maxLength": 5000,
      "description": "ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_outbound_transfers_resource_outbound_transfer_resource_tracking_details
{
  "type": "object",
  "title": "TreasuryOutboundTransfersResourceOutboundTransferResourceTrackingDetails",
  "required": [
    "type"
  ],
  "properties": {
    "ach": {
      "$ref": "#/components/schemas/treasury_outbound_transfers_resource_ach_tracking_details"
    },
    "type": {
      "enum": [
        "ach",
        "us_domestic_wire"
      ],
      "type": "string",
      "description": "The US bank account network used to send funds."
    },
    "us_domestic_wire": {
      "$ref": "#/components/schemas/treasury_outbound_transfers_resource_us_domestic_wire_tracking_details"
    }
  },
  "description": "",
  "x-expandableFields": [
    "ach",
    "us_domestic_wire"
  ]
}
object treasury_outbound_transfers_resource_returned_details
{
  "type": "object",
  "title": "TreasuryOutboundTransfersResourceReturnedDetails",
  "required": [
    "code",
    "transaction"
  ],
  "properties": {
    "code": {
      "enum": [
        "account_closed",
        "account_frozen",
        "bank_account_restricted",
        "bank_ownership_changed",
        "declined",
        "incorrect_account_holder_name",
        "invalid_account_number",
        "invalid_currency",
        "no_account",
        "other"
      ],
      "type": "string",
      "description": "Reason for the return."
    },
    "transaction": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "$ref": "#/components/schemas/treasury.transaction"
        }
      ],
      "description": "The Transaction associated with this object.",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/treasury.transaction"
          }
        ]
      }
    }
  },
  "description": "",
  "x-expandableFields": [
    "transaction"
  ]
}
object treasury_outbound_transfers_resource_status_transitions
{
  "type": "object",
  "title": "TreasuryOutboundTransfersResourceStatusTransitions",
  "properties": {
    "failed_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an OutboundTransfer changed status to `failed`"
    },
    "posted_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an OutboundTransfer changed status to `posted`"
    },
    "canceled_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an OutboundTransfer changed status to `canceled`"
    },
    "returned_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when an OutboundTransfer changed status to `returned`"
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_outbound_transfers_resource_us_domestic_wire_tracking_details
{
  "type": "object",
  "title": "TreasuryOutboundTransfersResourceUSDomesticWireTrackingDetails",
  "properties": {
    "imad": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "IMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network."
    },
    "omad": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "OMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network."
    },
    "chips": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_received_credits_resource_linked_flows
{
  "type": "object",
  "title": "TreasuryReceivedCreditsResourceLinkedFlows",
  "properties": {
    "source_flow": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "ID of the source flow. Set if `network` is `stripe` and the source flow is visible to the user. Examples of source flows include OutboundPayments, payouts, or CreditReversals."
    },
    "credit_reversal": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The CreditReversal created as a result of this ReceivedCredit being reversed."
    },
    "source_flow_type": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The type of flow that originated the ReceivedCredit (for example, `outbound_payment`)."
    },
    "issuing_transaction": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://api.stripe.com#issuing_transactions) object."
    },
    "source_flow_details": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/treasury_received_credits_resource_source_flows_details"
        }
      ],
      "nullable": true,
      "description": "The expandable object of the source flow."
    },
    "issuing_authorization": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Set if the ReceivedCredit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object."
    }
  },
  "description": "",
  "x-expandableFields": [
    "source_flow_details"
  ]
}
object treasury_received_credits_resource_reversal_details
{
  "type": "object",
  "title": "TreasuryReceivedCreditsResourceReversalDetails",
  "properties": {
    "deadline": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Time before which a ReceivedCredit can be reversed."
    },
    "restricted_reason": {
      "enum": [
        "already_reversed",
        "deadline_passed",
        "network_restricted",
        "other",
        "source_flow_restricted"
      ],
      "type": "string",
      "nullable": true,
      "description": "Set if a ReceivedCredit cannot be reversed."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_received_credits_resource_source_flows_details
{
  "type": "object",
  "title": "TreasuryReceivedCreditsResourceSourceFlowsDetails",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "enum": [
        "credit_reversal",
        "other",
        "outbound_payment",
        "outbound_transfer",
        "payout"
      ],
      "type": "string",
      "description": "The type of the source flow that originated the ReceivedCredit."
    },
    "payout": {
      "$ref": "#/components/schemas/payout"
    },
    "credit_reversal": {
      "$ref": "#/components/schemas/treasury.credit_reversal"
    },
    "outbound_payment": {
      "$ref": "#/components/schemas/treasury.outbound_payment"
    },
    "outbound_transfer": {
      "$ref": "#/components/schemas/treasury.outbound_transfer"
    }
  },
  "description": "",
  "x-expandableFields": [
    "credit_reversal",
    "outbound_payment",
    "outbound_transfer",
    "payout"
  ]
}
object treasury_received_credits_resource_status_transitions
{
  "type": "object",
  "title": "TreasuryReceivedCreditsResourceStatusTransitions",
  "properties": {
    "posted_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when the CreditReversal changed status to `posted`"
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_received_debits_resource_debit_reversal_linked_flows
{
  "type": "object",
  "title": "TreasuryReceivedDebitsResourceDebitReversalLinkedFlows",
  "properties": {
    "issuing_dispute": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Set if there is an Issuing dispute associated with the DebitReversal."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_received_debits_resource_linked_flows
{
  "type": "object",
  "title": "TreasuryReceivedDebitsResourceLinkedFlows",
  "properties": {
    "topup": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object."
    },
    "payout": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Set if the ReceivedDebit was created due to a [Payout](https://api.stripe.com#payouts) object."
    },
    "debit_reversal": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The DebitReversal created as a result of this ReceivedDebit being reversed."
    },
    "inbound_transfer": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Set if the ReceivedDebit is associated with an InboundTransfer's return of funds."
    },
    "issuing_transaction": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://api.stripe.com#issuing_disputes) object."
    },
    "issuing_authorization": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Set if the ReceivedDebit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_received_debits_resource_reversal_details
{
  "type": "object",
  "title": "TreasuryReceivedDebitsResourceReversalDetails",
  "properties": {
    "deadline": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Time before which a ReceivedDebit can be reversed."
    },
    "restricted_reason": {
      "enum": [
        "already_reversed",
        "deadline_passed",
        "network_restricted",
        "other",
        "source_flow_restricted"
      ],
      "type": "string",
      "nullable": true,
      "description": "Set if a ReceivedDebit can't be reversed."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_received_debits_resource_status_transitions
{
  "type": "object",
  "title": "TreasuryReceivedDebitsResourceStatusTransitions",
  "properties": {
    "completed_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when the DebitReversal changed status to `completed`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_shared_resource_billing_details
{
  "type": "object",
  "title": "TreasurySharedResourceBillingDetails",
  "required": [
    "address"
  ],
  "properties": {
    "name": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Full name."
    },
    "email": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Email address."
    },
    "address": {
      "$ref": "#/components/schemas/address"
    }
  },
  "description": "",
  "x-expandableFields": [
    "address"
  ]
}
object treasury_shared_resource_initiating_payment_method_details_initiating_payment_method_details
{
  "type": "object",
  "title": "TreasurySharedResourceInitiatingPaymentMethodDetailsInitiatingPaymentMethodDetails",
  "required": [
    "billing_details",
    "type"
  ],
  "properties": {
    "type": {
      "enum": [
        "balance",
        "financial_account",
        "issuing_card",
        "stripe",
        "us_bank_account"
      ],
      "type": "string",
      "description": "Polymorphic type matching the originating money movement's source. This can be an external account, a Stripe balance, or a FinancialAccount.",
      "x-stripeBypassValidation": true
    },
    "balance": {
      "enum": [
        "payments"
      ],
      "type": "string",
      "description": "Set when `type` is `balance`."
    },
    "issuing_card": {
      "type": "string",
      "maxLength": 5000,
      "description": "Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID."
    },
    "billing_details": {
      "$ref": "#/components/schemas/treasury_shared_resource_billing_details"
    },
    "us_bank_account": {
      "$ref": "#/components/schemas/treasury_shared_resource_initiating_payment_method_details_us_bank_account"
    },
    "financial_account": {
      "$ref": "#/components/schemas/received_payment_method_details_financial_account"
    }
  },
  "description": "",
  "x-expandableFields": [
    "billing_details",
    "financial_account",
    "us_bank_account"
  ]
}
object treasury_shared_resource_initiating_payment_method_details_us_bank_account
{
  "type": "object",
  "title": "TreasurySharedResourceInitiatingPaymentMethodDetailsUSBankAccount",
  "properties": {
    "last4": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The last four digits of the bank account number."
    },
    "bank_name": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "Bank name."
    },
    "routing_number": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The routing number for the bank account."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_transactions_resource_abstract_transaction_resource_status_transitions
{
  "type": "object",
  "title": "TreasuryTransactionsResourceAbstractTransactionResourceStatusTransitions",
  "properties": {
    "void_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when the Transaction changed status to `void`."
    },
    "posted_at": {
      "type": "integer",
      "format": "unix-time",
      "nullable": true,
      "description": "Timestamp describing when the Transaction changed status to `posted`."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object treasury_transactions_resource_balance_impact
{
  "type": "object",
  "title": "TreasuryTransactionsResourceBalanceImpact",
  "required": [
    "cash",
    "inbound_pending",
    "outbound_pending"
  ],
  "properties": {
    "cash": {
      "type": "integer",
      "description": "The change made to funds the user can spend right now."
    },
    "inbound_pending": {
      "type": "integer",
      "description": "The change made to funds that are not spendable yet, but will become available at a later time."
    },
    "outbound_pending": {
      "type": "integer",
      "description": "The change made to funds in the account, but not spendable because they are being held for pending outbound flows."
    }
  },
  "description": "Change to a FinancialAccount's balance",
  "x-expandableFields": []
}
object treasury_transactions_resource_flow_details
{
  "type": "object",
  "title": "TreasuryTransactionsResourceFlowDetails",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "enum": [
        "credit_reversal",
        "debit_reversal",
        "inbound_transfer",
        "issuing_authorization",
        "other",
        "outbound_payment",
        "outbound_transfer",
        "received_credit",
        "received_debit"
      ],
      "type": "string",
      "description": "Type of the flow that created the Transaction. Set to the same value as `flow_type`.",
      "x-stripeBypassValidation": true
    },
    "debit_reversal": {
      "$ref": "#/components/schemas/treasury.debit_reversal"
    },
    "received_debit": {
      "$ref": "#/components/schemas/treasury.received_debit"
    },
    "credit_reversal": {
      "$ref": "#/components/schemas/treasury.credit_reversal"
    },
    "received_credit": {
      "$ref": "#/components/schemas/treasury.received_credit"
    },
    "inbound_transfer": {
      "$ref": "#/components/schemas/treasury.inbound_transfer"
    },
    "outbound_payment": {
      "$ref": "#/components/schemas/treasury.outbound_payment"
    },
    "outbound_transfer": {
      "$ref": "#/components/schemas/treasury.outbound_transfer"
    },
    "issuing_authorization": {
      "$ref": "#/components/schemas/issuing.authorization"
    }
  },
  "description": "",
  "x-expandableFields": [
    "credit_reversal",
    "debit_reversal",
    "inbound_transfer",
    "issuing_authorization",
    "outbound_payment",
    "outbound_transfer",
    "received_credit",
    "received_debit"
  ]
}
object us_bank_account_networks
{
  "type": "object",
  "title": "us_bank_account_networks",
  "required": [
    "supported"
  ],
  "properties": {
    "preferred": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The preferred network."
    },
    "supported": {
      "type": "array",
      "items": {
        "enum": [
          "ach",
          "us_domestic_wire"
        ],
        "type": "string"
      },
      "description": "All supported networks."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object verification_session_redaction
{
  "type": "object",
  "title": "verification_session_redaction",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "enum": [
        "processing",
        "redacted"
      ],
      "type": "string",
      "description": "Indicates whether this object and its related objects have been redacted or not."
    }
  },
  "description": "",
  "x-expandableFields": []
}
object webhook_endpoint
{
  "type": "object",
  "title": "NotificationWebhookEndpoint",
  "required": [
    "created",
    "enabled_events",
    "id",
    "livemode",
    "metadata",
    "object",
    "status",
    "url"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 5000,
      "description": "Unique identifier for the object."
    },
    "url": {
      "type": "string",
      "maxLength": 5000,
      "description": "The URL of the webhook endpoint."
    },
    "object": {
      "enum": [
        "webhook_endpoint"
      ],
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value."
    },
    "secret": {
      "type": "string",
      "maxLength": 5000,
      "description": "The endpoint's secret, used to generate [webhook signatures](https://docs.stripe.com/webhooks/signatures). Only returned at creation."
    },
    "status": {
      "type": "string",
      "maxLength": 5000,
      "description": "The status of the webhook. It can be `enabled` or `disabled`."
    },
    "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
      }
    },
    "api_version": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The API version events are rendered as for this webhook endpoint."
    },
    "application": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "The ID of the associated Connect application."
    },
    "description": {
      "type": "string",
      "nullable": true,
      "maxLength": 5000,
      "description": "An optional description of what the webhook is used for."
    },
    "enabled_events": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 5000
      },
      "description": "The list of events to enable for this endpoint. `['*']` indicates that all events are enabled, except those that require explicit selection."
    }
  },
  "description": "You can configure [webhook endpoints](https://docs.stripe.com/webhooks/) via the API to be\nnotified about events that happen in your Stripe account or connected\naccounts.\n\nMost users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints.\n\nRelated guide: [Setting up webhooks](https://docs.stripe.com/webhooks/configure)",
  "x-resourceId": "webhook_endpoint",
  "x-expandableFields": []
}