moovio_sdk 0.14.6__py3-none-any.whl → 0.15.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of moovio_sdk might be problematic. Click here for more details.
- moovio_sdk/_version.py +3 -3
- moovio_sdk/accounts.py +4 -4
- moovio_sdk/models/components/__init__.py +89 -0
- moovio_sdk/models/components/account.py +2 -2
- moovio_sdk/models/components/achfees.py +59 -0
- moovio_sdk/models/components/billingcountandamount.py +25 -0
- moovio_sdk/models/components/billinginterchangeprogramfee.py +57 -0
- moovio_sdk/models/components/billingsummary.py +102 -0
- moovio_sdk/models/components/billingsummarydetails.py +36 -0
- moovio_sdk/models/components/billingsummaryinterchange.py +36 -0
- moovio_sdk/models/components/cardacquiringfees.py +36 -0
- moovio_sdk/models/components/cardbrandfees.py +87 -0
- moovio_sdk/models/components/instantpaymentfees.py +71 -0
- moovio_sdk/models/components/othercardfees.py +47 -0
- moovio_sdk/models/components/platformfees.py +31 -0
- moovio_sdk/models/components/profile.py +2 -2
- moovio_sdk/models/components/statement.py +110 -0
- moovio_sdk/models/components/webhookbillingstatementcreated.py +14 -0
- moovio_sdk/models/components/webhookdata.py +32 -26
- moovio_sdk/models/components/webhookeventtype.py +1 -0
- moovio_sdk/models/operations/__init__.py +46 -0
- moovio_sdk/models/operations/getstatement.py +83 -0
- moovio_sdk/models/operations/listaccounts.py +4 -0
- moovio_sdk/models/operations/liststatements.py +100 -0
- moovio_sdk/sdk.py +3 -0
- moovio_sdk/statements.py +471 -0
- {moovio_sdk-0.14.6.dist-info → moovio_sdk-0.15.0.dist-info}/METADATA +54 -41
- {moovio_sdk-0.14.6.dist-info → moovio_sdk-0.15.0.dist-info}/RECORD +29 -13
- {moovio_sdk-0.14.6.dist-info → moovio_sdk-0.15.0.dist-info}/WHEEL +0 -0
moovio_sdk/statements.py
ADDED
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from .basesdk import BaseSDK
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from enum import Enum
|
|
6
|
+
from moovio_sdk import utils
|
|
7
|
+
from moovio_sdk._hooks import HookContext
|
|
8
|
+
from moovio_sdk.models import components, errors, operations
|
|
9
|
+
from moovio_sdk.types import OptionalNullable, UNSET
|
|
10
|
+
from moovio_sdk.utils import get_security_from_env
|
|
11
|
+
from moovio_sdk.utils.unmarshal_json_response import unmarshal_json_response
|
|
12
|
+
from typing import Any, List, Mapping, Optional
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class GetAcceptEnum(str, Enum):
|
|
16
|
+
APPLICATION_JSON = "application/json"
|
|
17
|
+
APPLICATION_PDF = "application/pdf"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class Statements(BaseSDK):
|
|
21
|
+
def list(
|
|
22
|
+
self,
|
|
23
|
+
*,
|
|
24
|
+
account_id: str,
|
|
25
|
+
billing_period_start_date_time: Optional[datetime] = None,
|
|
26
|
+
billing_period_end_date_time: Optional[datetime] = None,
|
|
27
|
+
skip: Optional[int] = None,
|
|
28
|
+
count: Optional[int] = None,
|
|
29
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
30
|
+
server_url: Optional[str] = None,
|
|
31
|
+
timeout_ms: Optional[int] = None,
|
|
32
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
33
|
+
) -> operations.ListStatementsResponse:
|
|
34
|
+
r"""Retrieve all statements associated with an account.
|
|
35
|
+
|
|
36
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
37
|
+
you'll need to specify the `/accounts/{accountID}/profile.read` scope.
|
|
38
|
+
|
|
39
|
+
:param account_id:
|
|
40
|
+
:param billing_period_start_date_time: Optional date-time which inclusively filters all statements where billing period is on or after this date-time.
|
|
41
|
+
:param billing_period_end_date_time: Optional date-time which exclusively filters all statements where billing period is before this date-time.
|
|
42
|
+
:param skip:
|
|
43
|
+
:param count:
|
|
44
|
+
:param retries: Override the default retry configuration for this method
|
|
45
|
+
:param server_url: Override the default server URL for this method
|
|
46
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
47
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
48
|
+
"""
|
|
49
|
+
base_url = None
|
|
50
|
+
url_variables = None
|
|
51
|
+
if timeout_ms is None:
|
|
52
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
53
|
+
|
|
54
|
+
if server_url is not None:
|
|
55
|
+
base_url = server_url
|
|
56
|
+
else:
|
|
57
|
+
base_url = self._get_url(base_url, url_variables)
|
|
58
|
+
|
|
59
|
+
request = operations.ListStatementsRequest(
|
|
60
|
+
billing_period_start_date_time=billing_period_start_date_time,
|
|
61
|
+
billing_period_end_date_time=billing_period_end_date_time,
|
|
62
|
+
skip=skip,
|
|
63
|
+
count=count,
|
|
64
|
+
account_id=account_id,
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
req = self._build_request(
|
|
68
|
+
method="GET",
|
|
69
|
+
path="/accounts/{accountID}/statements",
|
|
70
|
+
base_url=base_url,
|
|
71
|
+
url_variables=url_variables,
|
|
72
|
+
request=request,
|
|
73
|
+
request_body_required=False,
|
|
74
|
+
request_has_path_params=True,
|
|
75
|
+
request_has_query_params=True,
|
|
76
|
+
user_agent_header="user-agent",
|
|
77
|
+
accept_header_value="application/json",
|
|
78
|
+
http_headers=http_headers,
|
|
79
|
+
_globals=operations.ListStatementsGlobals(
|
|
80
|
+
x_moov_version=self.sdk_configuration.globals.x_moov_version,
|
|
81
|
+
),
|
|
82
|
+
security=self.sdk_configuration.security,
|
|
83
|
+
timeout_ms=timeout_ms,
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
if retries == UNSET:
|
|
87
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
88
|
+
retries = self.sdk_configuration.retry_config
|
|
89
|
+
|
|
90
|
+
retry_config = None
|
|
91
|
+
if isinstance(retries, utils.RetryConfig):
|
|
92
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
93
|
+
|
|
94
|
+
http_res = self.do_request(
|
|
95
|
+
hook_ctx=HookContext(
|
|
96
|
+
config=self.sdk_configuration,
|
|
97
|
+
base_url=base_url or "",
|
|
98
|
+
operation_id="listStatements",
|
|
99
|
+
oauth2_scopes=[],
|
|
100
|
+
security_source=get_security_from_env(
|
|
101
|
+
self.sdk_configuration.security, components.Security
|
|
102
|
+
),
|
|
103
|
+
),
|
|
104
|
+
request=req,
|
|
105
|
+
error_status_codes=["400", "401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
106
|
+
retry_config=retry_config,
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
response_data: Any = None
|
|
110
|
+
if utils.match_response(http_res, "200", "application/json"):
|
|
111
|
+
return operations.ListStatementsResponse(
|
|
112
|
+
result=unmarshal_json_response(List[components.Statement], http_res),
|
|
113
|
+
headers=utils.get_response_headers(http_res.headers),
|
|
114
|
+
)
|
|
115
|
+
if utils.match_response(http_res, "400", "application/json"):
|
|
116
|
+
response_data = unmarshal_json_response(errors.GenericErrorData, http_res)
|
|
117
|
+
raise errors.GenericError(response_data, http_res)
|
|
118
|
+
if utils.match_response(http_res, ["401", "403", "429"], "*"):
|
|
119
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
120
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
121
|
+
if utils.match_response(http_res, ["500", "504"], "*"):
|
|
122
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
123
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
124
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
125
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
126
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
127
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
128
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
129
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
130
|
+
|
|
131
|
+
raise errors.APIError("Unexpected response received", http_res)
|
|
132
|
+
|
|
133
|
+
async def list_async(
|
|
134
|
+
self,
|
|
135
|
+
*,
|
|
136
|
+
account_id: str,
|
|
137
|
+
billing_period_start_date_time: Optional[datetime] = None,
|
|
138
|
+
billing_period_end_date_time: Optional[datetime] = None,
|
|
139
|
+
skip: Optional[int] = None,
|
|
140
|
+
count: Optional[int] = None,
|
|
141
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
142
|
+
server_url: Optional[str] = None,
|
|
143
|
+
timeout_ms: Optional[int] = None,
|
|
144
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
145
|
+
) -> operations.ListStatementsResponse:
|
|
146
|
+
r"""Retrieve all statements associated with an account.
|
|
147
|
+
|
|
148
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
149
|
+
you'll need to specify the `/accounts/{accountID}/profile.read` scope.
|
|
150
|
+
|
|
151
|
+
:param account_id:
|
|
152
|
+
:param billing_period_start_date_time: Optional date-time which inclusively filters all statements where billing period is on or after this date-time.
|
|
153
|
+
:param billing_period_end_date_time: Optional date-time which exclusively filters all statements where billing period is before this date-time.
|
|
154
|
+
:param skip:
|
|
155
|
+
:param count:
|
|
156
|
+
:param retries: Override the default retry configuration for this method
|
|
157
|
+
:param server_url: Override the default server URL for this method
|
|
158
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
159
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
160
|
+
"""
|
|
161
|
+
base_url = None
|
|
162
|
+
url_variables = None
|
|
163
|
+
if timeout_ms is None:
|
|
164
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
165
|
+
|
|
166
|
+
if server_url is not None:
|
|
167
|
+
base_url = server_url
|
|
168
|
+
else:
|
|
169
|
+
base_url = self._get_url(base_url, url_variables)
|
|
170
|
+
|
|
171
|
+
request = operations.ListStatementsRequest(
|
|
172
|
+
billing_period_start_date_time=billing_period_start_date_time,
|
|
173
|
+
billing_period_end_date_time=billing_period_end_date_time,
|
|
174
|
+
skip=skip,
|
|
175
|
+
count=count,
|
|
176
|
+
account_id=account_id,
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
req = self._build_request_async(
|
|
180
|
+
method="GET",
|
|
181
|
+
path="/accounts/{accountID}/statements",
|
|
182
|
+
base_url=base_url,
|
|
183
|
+
url_variables=url_variables,
|
|
184
|
+
request=request,
|
|
185
|
+
request_body_required=False,
|
|
186
|
+
request_has_path_params=True,
|
|
187
|
+
request_has_query_params=True,
|
|
188
|
+
user_agent_header="user-agent",
|
|
189
|
+
accept_header_value="application/json",
|
|
190
|
+
http_headers=http_headers,
|
|
191
|
+
_globals=operations.ListStatementsGlobals(
|
|
192
|
+
x_moov_version=self.sdk_configuration.globals.x_moov_version,
|
|
193
|
+
),
|
|
194
|
+
security=self.sdk_configuration.security,
|
|
195
|
+
timeout_ms=timeout_ms,
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
if retries == UNSET:
|
|
199
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
200
|
+
retries = self.sdk_configuration.retry_config
|
|
201
|
+
|
|
202
|
+
retry_config = None
|
|
203
|
+
if isinstance(retries, utils.RetryConfig):
|
|
204
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
205
|
+
|
|
206
|
+
http_res = await self.do_request_async(
|
|
207
|
+
hook_ctx=HookContext(
|
|
208
|
+
config=self.sdk_configuration,
|
|
209
|
+
base_url=base_url or "",
|
|
210
|
+
operation_id="listStatements",
|
|
211
|
+
oauth2_scopes=[],
|
|
212
|
+
security_source=get_security_from_env(
|
|
213
|
+
self.sdk_configuration.security, components.Security
|
|
214
|
+
),
|
|
215
|
+
),
|
|
216
|
+
request=req,
|
|
217
|
+
error_status_codes=["400", "401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
218
|
+
retry_config=retry_config,
|
|
219
|
+
)
|
|
220
|
+
|
|
221
|
+
response_data: Any = None
|
|
222
|
+
if utils.match_response(http_res, "200", "application/json"):
|
|
223
|
+
return operations.ListStatementsResponse(
|
|
224
|
+
result=unmarshal_json_response(List[components.Statement], http_res),
|
|
225
|
+
headers=utils.get_response_headers(http_res.headers),
|
|
226
|
+
)
|
|
227
|
+
if utils.match_response(http_res, "400", "application/json"):
|
|
228
|
+
response_data = unmarshal_json_response(errors.GenericErrorData, http_res)
|
|
229
|
+
raise errors.GenericError(response_data, http_res)
|
|
230
|
+
if utils.match_response(http_res, ["401", "403", "429"], "*"):
|
|
231
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
232
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
233
|
+
if utils.match_response(http_res, ["500", "504"], "*"):
|
|
234
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
235
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
236
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
237
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
238
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
239
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
240
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
241
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
242
|
+
|
|
243
|
+
raise errors.APIError("Unexpected response received", http_res)
|
|
244
|
+
|
|
245
|
+
def get(
|
|
246
|
+
self,
|
|
247
|
+
*,
|
|
248
|
+
account_id: str,
|
|
249
|
+
statement_id: str,
|
|
250
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
251
|
+
server_url: Optional[str] = None,
|
|
252
|
+
timeout_ms: Optional[int] = None,
|
|
253
|
+
accept_header_override: Optional[GetAcceptEnum] = None,
|
|
254
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
255
|
+
) -> operations.GetStatementResponse:
|
|
256
|
+
r"""Retrieve a statement by its ID.
|
|
257
|
+
|
|
258
|
+
Use the `Accept` header to specify the format of the response. Supported formats are `application/json` and `application/pdf`.
|
|
259
|
+
|
|
260
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
261
|
+
you'll need to specify the `/accounts/{accountID}/profile.read` scope.
|
|
262
|
+
|
|
263
|
+
:param account_id:
|
|
264
|
+
:param statement_id:
|
|
265
|
+
:param retries: Override the default retry configuration for this method
|
|
266
|
+
:param server_url: Override the default server URL for this method
|
|
267
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
268
|
+
:param accept_header_override: Override the default accept header for this method
|
|
269
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
270
|
+
"""
|
|
271
|
+
base_url = None
|
|
272
|
+
url_variables = None
|
|
273
|
+
if timeout_ms is None:
|
|
274
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
275
|
+
|
|
276
|
+
if server_url is not None:
|
|
277
|
+
base_url = server_url
|
|
278
|
+
else:
|
|
279
|
+
base_url = self._get_url(base_url, url_variables)
|
|
280
|
+
|
|
281
|
+
request = operations.GetStatementRequest(
|
|
282
|
+
account_id=account_id,
|
|
283
|
+
statement_id=statement_id,
|
|
284
|
+
)
|
|
285
|
+
|
|
286
|
+
req = self._build_request(
|
|
287
|
+
method="GET",
|
|
288
|
+
path="/accounts/{accountID}/statements/{statementID}",
|
|
289
|
+
base_url=base_url,
|
|
290
|
+
url_variables=url_variables,
|
|
291
|
+
request=request,
|
|
292
|
+
request_body_required=False,
|
|
293
|
+
request_has_path_params=True,
|
|
294
|
+
request_has_query_params=True,
|
|
295
|
+
user_agent_header="user-agent",
|
|
296
|
+
accept_header_value=accept_header_override.value
|
|
297
|
+
if accept_header_override is not None
|
|
298
|
+
else "application/json;q=1, application/pdf;q=0",
|
|
299
|
+
http_headers=http_headers,
|
|
300
|
+
_globals=operations.GetStatementGlobals(
|
|
301
|
+
x_moov_version=self.sdk_configuration.globals.x_moov_version,
|
|
302
|
+
),
|
|
303
|
+
security=self.sdk_configuration.security,
|
|
304
|
+
timeout_ms=timeout_ms,
|
|
305
|
+
)
|
|
306
|
+
|
|
307
|
+
if retries == UNSET:
|
|
308
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
309
|
+
retries = self.sdk_configuration.retry_config
|
|
310
|
+
|
|
311
|
+
retry_config = None
|
|
312
|
+
if isinstance(retries, utils.RetryConfig):
|
|
313
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
314
|
+
|
|
315
|
+
http_res = self.do_request(
|
|
316
|
+
hook_ctx=HookContext(
|
|
317
|
+
config=self.sdk_configuration,
|
|
318
|
+
base_url=base_url or "",
|
|
319
|
+
operation_id="getStatement",
|
|
320
|
+
oauth2_scopes=[],
|
|
321
|
+
security_source=get_security_from_env(
|
|
322
|
+
self.sdk_configuration.security, components.Security
|
|
323
|
+
),
|
|
324
|
+
),
|
|
325
|
+
request=req,
|
|
326
|
+
error_status_codes=["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
327
|
+
stream=True,
|
|
328
|
+
retry_config=retry_config,
|
|
329
|
+
)
|
|
330
|
+
|
|
331
|
+
if utils.match_response(http_res, "200", "application/json"):
|
|
332
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
333
|
+
return operations.GetStatementResponse(
|
|
334
|
+
result=unmarshal_json_response(
|
|
335
|
+
components.Statement, http_res, http_res_text
|
|
336
|
+
),
|
|
337
|
+
headers=utils.get_response_headers(http_res.headers),
|
|
338
|
+
)
|
|
339
|
+
if utils.match_response(http_res, "200", "application/pdf"):
|
|
340
|
+
return operations.GetStatementResponse(
|
|
341
|
+
result=http_res, headers=utils.get_response_headers(http_res.headers)
|
|
342
|
+
)
|
|
343
|
+
if utils.match_response(http_res, ["401", "403", "404", "429"], "*"):
|
|
344
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
345
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
346
|
+
if utils.match_response(http_res, ["500", "504"], "*"):
|
|
347
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
348
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
349
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
350
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
351
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
352
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
353
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
354
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
355
|
+
|
|
356
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
357
|
+
raise errors.APIError("Unexpected response received", http_res, http_res_text)
|
|
358
|
+
|
|
359
|
+
async def get_async(
|
|
360
|
+
self,
|
|
361
|
+
*,
|
|
362
|
+
account_id: str,
|
|
363
|
+
statement_id: str,
|
|
364
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
365
|
+
server_url: Optional[str] = None,
|
|
366
|
+
timeout_ms: Optional[int] = None,
|
|
367
|
+
accept_header_override: Optional[GetAcceptEnum] = None,
|
|
368
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
369
|
+
) -> operations.GetStatementResponse:
|
|
370
|
+
r"""Retrieve a statement by its ID.
|
|
371
|
+
|
|
372
|
+
Use the `Accept` header to specify the format of the response. Supported formats are `application/json` and `application/pdf`.
|
|
373
|
+
|
|
374
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
375
|
+
you'll need to specify the `/accounts/{accountID}/profile.read` scope.
|
|
376
|
+
|
|
377
|
+
:param account_id:
|
|
378
|
+
:param statement_id:
|
|
379
|
+
:param retries: Override the default retry configuration for this method
|
|
380
|
+
:param server_url: Override the default server URL for this method
|
|
381
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
382
|
+
:param accept_header_override: Override the default accept header for this method
|
|
383
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
384
|
+
"""
|
|
385
|
+
base_url = None
|
|
386
|
+
url_variables = None
|
|
387
|
+
if timeout_ms is None:
|
|
388
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
389
|
+
|
|
390
|
+
if server_url is not None:
|
|
391
|
+
base_url = server_url
|
|
392
|
+
else:
|
|
393
|
+
base_url = self._get_url(base_url, url_variables)
|
|
394
|
+
|
|
395
|
+
request = operations.GetStatementRequest(
|
|
396
|
+
account_id=account_id,
|
|
397
|
+
statement_id=statement_id,
|
|
398
|
+
)
|
|
399
|
+
|
|
400
|
+
req = self._build_request_async(
|
|
401
|
+
method="GET",
|
|
402
|
+
path="/accounts/{accountID}/statements/{statementID}",
|
|
403
|
+
base_url=base_url,
|
|
404
|
+
url_variables=url_variables,
|
|
405
|
+
request=request,
|
|
406
|
+
request_body_required=False,
|
|
407
|
+
request_has_path_params=True,
|
|
408
|
+
request_has_query_params=True,
|
|
409
|
+
user_agent_header="user-agent",
|
|
410
|
+
accept_header_value=accept_header_override.value
|
|
411
|
+
if accept_header_override is not None
|
|
412
|
+
else "application/json;q=1, application/pdf;q=0",
|
|
413
|
+
http_headers=http_headers,
|
|
414
|
+
_globals=operations.GetStatementGlobals(
|
|
415
|
+
x_moov_version=self.sdk_configuration.globals.x_moov_version,
|
|
416
|
+
),
|
|
417
|
+
security=self.sdk_configuration.security,
|
|
418
|
+
timeout_ms=timeout_ms,
|
|
419
|
+
)
|
|
420
|
+
|
|
421
|
+
if retries == UNSET:
|
|
422
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
423
|
+
retries = self.sdk_configuration.retry_config
|
|
424
|
+
|
|
425
|
+
retry_config = None
|
|
426
|
+
if isinstance(retries, utils.RetryConfig):
|
|
427
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
428
|
+
|
|
429
|
+
http_res = await self.do_request_async(
|
|
430
|
+
hook_ctx=HookContext(
|
|
431
|
+
config=self.sdk_configuration,
|
|
432
|
+
base_url=base_url or "",
|
|
433
|
+
operation_id="getStatement",
|
|
434
|
+
oauth2_scopes=[],
|
|
435
|
+
security_source=get_security_from_env(
|
|
436
|
+
self.sdk_configuration.security, components.Security
|
|
437
|
+
),
|
|
438
|
+
),
|
|
439
|
+
request=req,
|
|
440
|
+
error_status_codes=["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
441
|
+
stream=True,
|
|
442
|
+
retry_config=retry_config,
|
|
443
|
+
)
|
|
444
|
+
|
|
445
|
+
if utils.match_response(http_res, "200", "application/json"):
|
|
446
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
447
|
+
return operations.GetStatementResponse(
|
|
448
|
+
result=unmarshal_json_response(
|
|
449
|
+
components.Statement, http_res, http_res_text
|
|
450
|
+
),
|
|
451
|
+
headers=utils.get_response_headers(http_res.headers),
|
|
452
|
+
)
|
|
453
|
+
if utils.match_response(http_res, "200", "application/pdf"):
|
|
454
|
+
return operations.GetStatementResponse(
|
|
455
|
+
result=http_res, headers=utils.get_response_headers(http_res.headers)
|
|
456
|
+
)
|
|
457
|
+
if utils.match_response(http_res, ["401", "403", "404", "429"], "*"):
|
|
458
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
459
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
460
|
+
if utils.match_response(http_res, ["500", "504"], "*"):
|
|
461
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
462
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
463
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
464
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
465
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
466
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
467
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
468
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
469
|
+
|
|
470
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
471
|
+
raise errors.APIError("Unexpected response received", http_res, http_res_text)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: moovio_sdk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.15.0
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -367,7 +367,7 @@ to specify the `/accounts.write` scope.
|
|
|
367
367
|
|
|
368
368
|
All supported query parameters are optional. If none are provided the response will include all connected accounts.
|
|
369
369
|
Pagination is supported via the `skip` and `count` query parameters. Searching by name and email will overlap and
|
|
370
|
-
return results based on relevance.
|
|
370
|
+
return results based on relevance. Accounts with AccountType `guest` will not be included in the response.
|
|
371
371
|
|
|
372
372
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
373
373
|
to specify the `/accounts.read` scope.
|
|
@@ -1016,6 +1016,19 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
1016
1016
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1017
1017
|
you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
1018
1018
|
|
|
1019
|
+
### [statements](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/statements/README.md)
|
|
1020
|
+
|
|
1021
|
+
* [list](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/statements/README.md#list) - Retrieve all statements associated with an account.
|
|
1022
|
+
|
|
1023
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1024
|
+
you'll need to specify the `/accounts/{accountID}/profile.read` scope.
|
|
1025
|
+
* [get](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/statements/README.md#get) - Retrieve a statement by its ID.
|
|
1026
|
+
|
|
1027
|
+
Use the `Accept` header to specify the format of the response. Supported formats are `application/json` and `application/pdf`.
|
|
1028
|
+
|
|
1029
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1030
|
+
you'll need to specify the `/accounts/{accountID}/profile.read` scope.
|
|
1031
|
+
|
|
1019
1032
|
### [support](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/support/README.md)
|
|
1020
1033
|
|
|
1021
1034
|
* [create_ticket](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/support/README.md#create_ticket) - Create a support ticket for a Moov account.
|
|
@@ -1488,45 +1501,45 @@ with Moov(
|
|
|
1488
1501
|
|
|
1489
1502
|
|
|
1490
1503
|
**Inherit from [`MoovError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/mooverror.py)**:
|
|
1491
|
-
* [`GenericError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/genericerror.py): Applicable to
|
|
1492
|
-
* [`BrandValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/brandvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 3 of
|
|
1493
|
-
* [`ScheduleValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/schedulevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of
|
|
1494
|
-
* [`TerminalApplicationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/terminalapplicationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of
|
|
1495
|
-
* [`Transfer`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transfer.py): Details of a Transfer. Status code `409`. Applicable to 1 of
|
|
1496
|
-
* [`CardAcquiringRefund`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/cardacquiringrefund.py): Details of a card refund. Status code `409`. Applicable to 1 of
|
|
1497
|
-
* [`CreateAccountError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createaccounterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1498
|
-
* [`PatchAccountError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/patchaccounterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1499
|
-
* [`AssignCountriesError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/assigncountrieserror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1500
|
-
* [`LinkApplePayError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/linkapplepayerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1501
|
-
* [`BankAccountValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/bankaccountvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1502
|
-
* [`MicroDepositValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/microdepositvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1503
|
-
* [`AddCapabilitiesError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/addcapabilitieserror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1504
|
-
* [`LinkCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/linkcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1505
|
-
* [`UpdateCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updatecarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1506
|
-
* [`FileUploadValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/fileuploadvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1507
|
-
* [`FeePlanAgreementError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/feeplanagreementerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1508
|
-
* [`FileValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/filevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1509
|
-
* [`CreatePaymentLinkError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createpaymentlinkerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1510
|
-
* [`UpdatePaymentLinkError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updatepaymentlinkerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1511
|
-
* [`RepresentativeValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/representativevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1512
|
-
* [`CreateSweepConfigError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createsweepconfigerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1513
|
-
* [`PatchSweepConfigError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/patchsweepconfigerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1514
|
-
* [`AccountTerminalApplicationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/accountterminalapplicationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1515
|
-
* [`CreateTicketError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createticketerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1516
|
-
* [`UpdateTicketError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateticketerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1517
|
-
* [`TransferOptionsValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transferoptionsvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1518
|
-
* [`TransferValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transfervalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1519
|
-
* [`RefundValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/refundvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1520
|
-
* [`ReversalValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/reversalvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1521
|
-
* [`UpsertUnderwritingError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/upsertunderwritingerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1522
|
-
* [`UpdateUnderwritingError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateunderwritingerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1523
|
-
* [`CreateWalletError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createwalleterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1524
|
-
* [`PatchWalletError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/patchwalleterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1525
|
-
* [`RequestCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/requestcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1526
|
-
* [`UpdateIssuedCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateissuedcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1527
|
-
* [`RevokeTokenRequestError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/revoketokenrequesterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1528
|
-
* [`AuthTokenRequestError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/authtokenrequesterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1529
|
-
* [`OnboardingInviteError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/onboardinginviteerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
1504
|
+
* [`GenericError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/genericerror.py): Applicable to 65 of 147 methods.*
|
|
1505
|
+
* [`BrandValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/brandvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 3 of 147 methods.*
|
|
1506
|
+
* [`ScheduleValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/schedulevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 147 methods.*
|
|
1507
|
+
* [`TerminalApplicationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/terminalapplicationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 147 methods.*
|
|
1508
|
+
* [`Transfer`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transfer.py): Details of a Transfer. Status code `409`. Applicable to 1 of 147 methods.*
|
|
1509
|
+
* [`CardAcquiringRefund`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/cardacquiringrefund.py): Details of a card refund. Status code `409`. Applicable to 1 of 147 methods.*
|
|
1510
|
+
* [`CreateAccountError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createaccounterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1511
|
+
* [`PatchAccountError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/patchaccounterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1512
|
+
* [`AssignCountriesError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/assigncountrieserror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1513
|
+
* [`LinkApplePayError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/linkapplepayerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1514
|
+
* [`BankAccountValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/bankaccountvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1515
|
+
* [`MicroDepositValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/microdepositvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1516
|
+
* [`AddCapabilitiesError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/addcapabilitieserror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1517
|
+
* [`LinkCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/linkcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1518
|
+
* [`UpdateCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updatecarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1519
|
+
* [`FileUploadValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/fileuploadvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1520
|
+
* [`FeePlanAgreementError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/feeplanagreementerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1521
|
+
* [`FileValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/filevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1522
|
+
* [`CreatePaymentLinkError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createpaymentlinkerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1523
|
+
* [`UpdatePaymentLinkError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updatepaymentlinkerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1524
|
+
* [`RepresentativeValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/representativevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1525
|
+
* [`CreateSweepConfigError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createsweepconfigerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1526
|
+
* [`PatchSweepConfigError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/patchsweepconfigerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1527
|
+
* [`AccountTerminalApplicationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/accountterminalapplicationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1528
|
+
* [`CreateTicketError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createticketerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1529
|
+
* [`UpdateTicketError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateticketerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1530
|
+
* [`TransferOptionsValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transferoptionsvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1531
|
+
* [`TransferValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transfervalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1532
|
+
* [`RefundValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/refundvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1533
|
+
* [`ReversalValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/reversalvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1534
|
+
* [`UpsertUnderwritingError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/upsertunderwritingerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1535
|
+
* [`UpdateUnderwritingError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateunderwritingerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1536
|
+
* [`CreateWalletError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createwalleterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1537
|
+
* [`PatchWalletError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/patchwalleterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1538
|
+
* [`RequestCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/requestcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1539
|
+
* [`UpdateIssuedCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateissuedcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1540
|
+
* [`RevokeTokenRequestError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/revoketokenrequesterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1541
|
+
* [`AuthTokenRequestError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/authtokenrequesterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1542
|
+
* [`OnboardingInviteError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/onboardinginviteerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 147 methods.*
|
|
1530
1543
|
* [`ResponseValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
|
|
1531
1544
|
|
|
1532
1545
|
</details>
|