Stripe.Params.Treasury.FinancialAccountUpdateParams (tiger_stripe v0.3.0)

Copy Markdown View Source

Parameters for financial account update.

Summary

Types

features()

@type features() :: %{
  optional(:card_issuing) => features_card_issuing() | nil,
  optional(:deposit_insurance) => features_deposit_insurance() | nil,
  optional(:financial_addresses) => features_financial_addresses() | nil,
  optional(:inbound_transfers) => features_inbound_transfers() | nil,
  optional(:intra_stripe_flows) => features_intra_stripe_flows() | nil,
  optional(:outbound_payments) => features_outbound_payments() | nil,
  optional(:outbound_transfers) => features_outbound_transfers() | nil,
  optional(String.t()) => term()
}
  • card_issuing - Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
  • deposit_insurance - Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
  • financial_addresses - Contains Features that add FinancialAddresses to the FinancialAccount.
  • inbound_transfers - Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.
  • intra_stripe_flows - Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).
  • outbound_payments - Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.
  • outbound_transfers - Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.

features_card_issuing()

@type features_card_issuing() :: %{
  optional(:requested) => boolean() | nil,
  optional(String.t()) => term()
}
  • requested - Whether the FinancialAccount should have the Feature.

features_deposit_insurance()

@type features_deposit_insurance() :: %{
  optional(:requested) => boolean() | nil,
  optional(String.t()) => term()
}
  • requested - Whether the FinancialAccount should have the Feature.

features_financial_addresses()

@type features_financial_addresses() :: %{
  optional(:aba) => features_financial_addresses_aba() | nil,
  optional(String.t()) => term()
}
  • aba - Adds an ABA FinancialAddress to the FinancialAccount.

features_financial_addresses_aba()

@type features_financial_addresses_aba() :: %{
  optional(:requested) => boolean() | nil,
  optional(String.t()) => term()
}
  • requested - Whether the FinancialAccount should have the Feature.

features_inbound_transfers()

@type features_inbound_transfers() :: %{
  optional(:ach) => features_inbound_transfers_ach() | nil,
  optional(String.t()) => term()
}
  • ach - Enables ACH Debits via the InboundTransfers API.

features_inbound_transfers_ach()

@type features_inbound_transfers_ach() :: %{
  optional(:requested) => boolean() | nil,
  optional(String.t()) => term()
}
  • requested - Whether the FinancialAccount should have the Feature.

features_intra_stripe_flows()

@type features_intra_stripe_flows() :: %{
  optional(:requested) => boolean() | nil,
  optional(String.t()) => term()
}
  • requested - Whether the FinancialAccount should have the Feature.

features_outbound_payments()

@type features_outbound_payments() :: %{
  optional(:ach) => features_outbound_payments_ach() | nil,
  optional(:us_domestic_wire) =>
    features_outbound_payments_us_domestic_wire() | nil,
  optional(String.t()) => term()
}
  • ach - Enables ACH transfers via the OutboundPayments API.
  • us_domestic_wire - Enables US domestic wire transfers via the OutboundPayments API.

features_outbound_payments_ach()

@type features_outbound_payments_ach() :: %{
  optional(:requested) => boolean() | nil,
  optional(String.t()) => term()
}
  • requested - Whether the FinancialAccount should have the Feature.

features_outbound_payments_us_domestic_wire()

@type features_outbound_payments_us_domestic_wire() :: %{
  optional(:requested) => boolean() | nil,
  optional(String.t()) => term()
}
  • requested - Whether the FinancialAccount should have the Feature.

features_outbound_transfers()

@type features_outbound_transfers() :: %{
  optional(:ach) => features_outbound_transfers_ach() | nil,
  optional(:us_domestic_wire) =>
    features_outbound_transfers_us_domestic_wire() | nil,
  optional(String.t()) => term()
}
  • ach - Enables ACH transfers via the OutboundTransfers API.
  • us_domestic_wire - Enables US domestic wire transfers via the OutboundTransfers API.

features_outbound_transfers_ach()

@type features_outbound_transfers_ach() :: %{
  optional(:requested) => boolean() | nil,
  optional(String.t()) => term()
}
  • requested - Whether the FinancialAccount should have the Feature.

features_outbound_transfers_us_domestic_wire()

@type features_outbound_transfers_us_domestic_wire() :: %{
  optional(:requested) => boolean() | nil,
  optional(String.t()) => term()
}
  • requested - Whether the FinancialAccount should have the Feature.

forwarding_settings()

@type forwarding_settings() :: %{
  optional(:financial_account) => String.t() | nil,
  optional(:payment_method) => String.t() | nil,
  optional(:type) => String.t() | nil,
  optional(String.t()) => term()
}
  • financial_account - The financial_account id
  • payment_method - The payment_method or bank account id. This needs to be a verified bank account. Max length: 5000.
  • type - The type of the bank account provided. This can be either "financial_account" or "payment_method" Possible values: financial_account, payment_method.

platform_restrictions()

@type platform_restrictions() :: %{
  optional(:inbound_flows) => String.t() | nil,
  optional(:outbound_flows) => String.t() | nil,
  optional(String.t()) => term()
}
  • inbound_flows - Restricts all inbound money movement. Possible values: restricted, unrestricted.
  • outbound_flows - Restricts all outbound money movement. Possible values: restricted, unrestricted.

t()

@type t() :: %Stripe.Params.Treasury.FinancialAccountUpdateParams{
  expand: [String.t()] | nil,
  features: features() | nil,
  forwarding_settings: forwarding_settings() | nil,
  metadata: %{required(String.t()) => String.t()} | nil,
  nickname: map() | nil,
  platform_restrictions: platform_restrictions() | nil
}
  • expand - Specifies which fields in the response should be expanded.
  • features - Encodes whether a FinancialAccount has access to a particular feature, with a status enum and associated status_details. Stripe or the platform may control features via the requested field.
  • forwarding_settings - A different bank account where funds can be deposited/debited in order to get the closing FA's balance to $0
  • metadata - Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
  • nickname - The nickname for the FinancialAccount.
  • platform_restrictions - The set of functionalities that the platform can restrict on the FinancialAccount.