Debian Codegraph @

stripe/params/treasury/_financial_account_create_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._request_options import RequestOptions
4 from typing import Dict, List
5 from typing_extensions import Literal, NotRequired, TypedDict
6
7
8 class FinancialAccountCreateParams(RequestOptions):
9 expand: NotRequired[List[str]]
10 """
11 Specifies which fields in the response should be expanded.
12 """
13 features: NotRequired["FinancialAccountCreateParamsFeatures"]
14 """
15 Encodes whether a FinancialAccount has access to a particular feature. Stripe or the platform can control features via the requested field.
16 """
17 metadata: NotRequired[Dict[str, str]]
18 """
19 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
20 """
21 nickname: NotRequired["Literal['']|str"]
22 """
23 The nickname for the FinancialAccount.
24 """
25 platform_restrictions: NotRequired[
26 "FinancialAccountCreateParamsPlatformRestrictions"
27 ]
28 """
29 The set of functionalities that the platform can restrict on the FinancialAccount.
30 """
31 supported_currencies: List[str]
32 """
33 The currencies the FinancialAccount can hold a balance in.
34 """
35
36
37 class FinancialAccountCreateParamsFeatures(TypedDict):
38 card_issuing: NotRequired[
39 "FinancialAccountCreateParamsFeaturesCardIssuing"
40 ]
41 """
42 Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
43 """
44 deposit_insurance: NotRequired[
45 "FinancialAccountCreateParamsFeaturesDepositInsurance"
46 ]
47 """
48 Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
49 """
50 financial_addresses: NotRequired[
51 "FinancialAccountCreateParamsFeaturesFinancialAddresses"
52 ]
53 """
54 Contains Features that add FinancialAddresses to the FinancialAccount.
55 """
56 inbound_transfers: NotRequired[
57 "FinancialAccountCreateParamsFeaturesInboundTransfers"
58 ]
59 """
60 Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.
61 """
62 intra_stripe_flows: NotRequired[
63 "FinancialAccountCreateParamsFeaturesIntraStripeFlows"
64 ]
65 """
66 Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).
67 """
68 outbound_payments: NotRequired[
69 "FinancialAccountCreateParamsFeaturesOutboundPayments"
70 ]
71 """
72 Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.
73 """
74 outbound_transfers: NotRequired[
75 "FinancialAccountCreateParamsFeaturesOutboundTransfers"
76 ]
77 """
78 Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.
79 """
80
81
82 class FinancialAccountCreateParamsFeaturesCardIssuing(TypedDict):
83 requested: bool
84 """
85 Whether the FinancialAccount should have the Feature.
86 """
87
88
89 class FinancialAccountCreateParamsFeaturesDepositInsurance(TypedDict):
90 requested: bool
91 """
92 Whether the FinancialAccount should have the Feature.
93 """
94
95
96 class FinancialAccountCreateParamsFeaturesFinancialAddresses(TypedDict):
97 aba: NotRequired[
98 "FinancialAccountCreateParamsFeaturesFinancialAddressesAba"
99 ]
100 """
101 Adds an ABA FinancialAddress to the FinancialAccount.
102 """
103
104
105 class FinancialAccountCreateParamsFeaturesFinancialAddressesAba(TypedDict):
106 requested: bool
107 """
108 Whether the FinancialAccount should have the Feature.
109 """
110
111
112 class FinancialAccountCreateParamsFeaturesInboundTransfers(TypedDict):
113 ach: NotRequired["FinancialAccountCreateParamsFeaturesInboundTransfersAch"]
114 """
115 Enables ACH Debits via the InboundTransfers API.
116 """
117
118
119 class FinancialAccountCreateParamsFeaturesInboundTransfersAch(TypedDict):
120 requested: bool
121 """
122 Whether the FinancialAccount should have the Feature.
123 """
124
125
126 class FinancialAccountCreateParamsFeaturesIntraStripeFlows(TypedDict):
127 requested: bool
128 """
129 Whether the FinancialAccount should have the Feature.
130 """
131
132
133 class FinancialAccountCreateParamsFeaturesOutboundPayments(TypedDict):
134 ach: NotRequired["FinancialAccountCreateParamsFeaturesOutboundPaymentsAch"]
135 """
136 Enables ACH transfers via the OutboundPayments API.
137 """
138 us_domestic_wire: NotRequired[
139 "FinancialAccountCreateParamsFeaturesOutboundPaymentsUsDomesticWire"
140 ]
141 """
142 Enables US domestic wire transfers via the OutboundPayments API.
143 """
144
145
146 class FinancialAccountCreateParamsFeaturesOutboundPaymentsAch(TypedDict):
147 requested: bool
148 """
149 Whether the FinancialAccount should have the Feature.
150 """
151
152
153 class FinancialAccountCreateParamsFeaturesOutboundPaymentsUsDomesticWire(
154 TypedDict,
155 ):
156 requested: bool
157 """
158 Whether the FinancialAccount should have the Feature.
159 """
160
161
162 class FinancialAccountCreateParamsFeaturesOutboundTransfers(TypedDict):
163 ach: NotRequired[
164 "FinancialAccountCreateParamsFeaturesOutboundTransfersAch"
165 ]
166 """
167 Enables ACH transfers via the OutboundTransfers API.
168 """
169 us_domestic_wire: NotRequired[
170 "FinancialAccountCreateParamsFeaturesOutboundTransfersUsDomesticWire"
171 ]
172 """
173 Enables US domestic wire transfers via the OutboundTransfers API.
174 """
175
176
177 class FinancialAccountCreateParamsFeaturesOutboundTransfersAch(TypedDict):
178 requested: bool
179 """
180 Whether the FinancialAccount should have the Feature.
181 """
182
183
184 class FinancialAccountCreateParamsFeaturesOutboundTransfersUsDomesticWire(
185 TypedDict,
186 ):
187 requested: bool
188 """
189 Whether the FinancialAccount should have the Feature.
190 """
191
192
193 class FinancialAccountCreateParamsPlatformRestrictions(TypedDict):
194 inbound_flows: NotRequired[Literal["restricted", "unrestricted"]]
195 """
196 Restricts all inbound money movement.
197 """
198 outbound_flows: NotRequired[Literal["restricted", "unrestricted"]]
199 """
200 Restricts all outbound money movement.
201 """