moovio_sdk 0.14.7__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 CHANGED
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "moovio_sdk"
6
- __version__: str = "0.14.7"
6
+ __version__: str = "0.15.0"
7
7
  __openapi_doc_version__: str = "latest"
8
- __gen_version__: str = "2.701.8"
9
- __user_agent__: str = "speakeasy-sdk/python 0.14.7 2.701.8 latest moovio_sdk"
8
+ __gen_version__: str = "2.706.1"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.15.0 2.706.1 latest moovio_sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -40,6 +40,7 @@ if TYPE_CHECKING:
40
40
  AchDebitFundPaymentMethodTypedDict,
41
41
  )
42
42
  from .achexception import ACHException, ACHExceptionTypedDict
43
+ from .achfees import ACHFees, ACHFeesTypedDict
43
44
  from .achinstitution import ACHInstitution, ACHInstitutionTypedDict
44
45
  from .achlocation import AchLocation, AchLocationTypedDict
45
46
  from .achparticipant import (
@@ -118,6 +119,28 @@ if TYPE_CHECKING:
118
119
  from .bankaccountwaitfor import BankAccountWaitFor
119
120
  from .basicpaymentmethod import BasicPaymentMethod, BasicPaymentMethodTypedDict
120
121
  from .billablefee import BillableFee, BillableFeeTypedDict
122
+ from .billingcountandamount import (
123
+ BillingCountAndAmount,
124
+ BillingCountAndAmountTypedDict,
125
+ )
126
+ from .billinginterchangeprogramfee import (
127
+ BillingInterchangeProgramFee,
128
+ BillingInterchangeProgramFeeTypedDict,
129
+ )
130
+ from .billingsummary import (
131
+ BillingSummary,
132
+ BillingSummaryTypedDict,
133
+ CardAcquiring,
134
+ CardAcquiringTypedDict,
135
+ )
136
+ from .billingsummarydetails import (
137
+ BillingSummaryDetails,
138
+ BillingSummaryDetailsTypedDict,
139
+ )
140
+ from .billingsummaryinterchange import (
141
+ BillingSummaryInterchange,
142
+ BillingSummaryInterchangeTypedDict,
143
+ )
121
144
  from .birthdate import BirthDate, BirthDateTypedDict
122
145
  from .birthdateerror import BirthDateError, BirthDateErrorTypedDict
123
146
  from .birthdateupdate import BirthDateUpdate, BirthDateUpdateTypedDict
@@ -159,10 +182,12 @@ if TYPE_CHECKING:
159
182
  CardAcquiringDispute,
160
183
  CardAcquiringDisputeTypedDict,
161
184
  )
185
+ from .cardacquiringfees import CardAcquiringFees, CardAcquiringFeesTypedDict
162
186
  from .cardacquiringmodel import CardAcquiringModel
163
187
  from .cardacquiringrefund import CardAcquiringRefund, CardAcquiringRefundTypedDict
164
188
  from .cardaddress import CardAddress, CardAddressTypedDict
165
189
  from .cardbrand import CardBrand
190
+ from .cardbrandfees import CardBrandFees, CardBrandFeesTypedDict
166
191
  from .cardexpiration import CardExpiration, CardExpirationTypedDict
167
192
  from .cardexpirationerror import CardExpirationError, CardExpirationErrorTypedDict
168
193
  from .cardissuingnetwork import CardIssuingNetwork
@@ -495,6 +520,7 @@ if TYPE_CHECKING:
495
520
  from .individualprofile import IndividualProfile, IndividualProfileTypedDict
496
521
  from .industrycodes import IndustryCodes, IndustryCodesTypedDict
497
522
  from .industrytaxonomy import IndustryTaxonomy, IndustryTaxonomyTypedDict
523
+ from .instantpaymentfees import InstantPaymentFees, InstantPaymentFeesTypedDict
498
524
  from .institutionssearchresponse import (
499
525
  InstitutionsSearchResponse,
500
526
  InstitutionsSearchResponseTypedDict,
@@ -616,6 +642,7 @@ if TYPE_CHECKING:
616
642
  OnboardingPartnerAccount,
617
643
  OnboardingPartnerAccountTypedDict,
618
644
  )
645
+ from .othercardfees import OtherCardFees, OtherCardFeesTypedDict
619
646
  from .partialscheduleaccount import (
620
647
  PartialScheduleAccount,
621
648
  PartialScheduleAccountTypedDict,
@@ -713,6 +740,7 @@ if TYPE_CHECKING:
713
740
  )
714
741
  from .plaidlinkpayload import PlaidLinkPayload, PlaidLinkPayloadTypedDict
715
742
  from .plaidpayload import PlaidPayload, PlaidPayloadTypedDict
743
+ from .platformfees import PlatformFees, PlatformFeesTypedDict
716
744
  from .primaryregulator import PrimaryRegulator
717
745
  from .profile import Profile, ProfileTypedDict
718
746
  from .pullfromcardpaymentmethod import (
@@ -810,6 +838,7 @@ if TYPE_CHECKING:
810
838
  SourceDestinationOptions,
811
839
  SourceDestinationOptionsTypedDict,
812
840
  )
841
+ from .statement import Statement, StatementTypedDict
813
842
  from .submissionintent import SubmissionIntent
814
843
  from .sweep import Sweep, SweepTypedDict
815
844
  from .sweepconfig import SweepConfig, SweepConfigTypedDict
@@ -941,6 +970,10 @@ if TYPE_CHECKING:
941
970
  from .wallettransactionstatus import WalletTransactionStatus
942
971
  from .wallettransactiontype import WalletTransactionType
943
972
  from .wallettype import WalletType
973
+ from .webhookbillingstatementcreated import (
974
+ WebhookBillingStatementCreated,
975
+ WebhookBillingStatementCreatedTypedDict,
976
+ )
944
977
  from .webhookdata import WebhookData, WebhookDataTypedDict
945
978
  from .webhookdataaccountcreated import (
946
979
  WebhookDataAccountCreated,
@@ -1091,6 +1124,8 @@ if TYPE_CHECKING:
1091
1124
  __all__ = [
1092
1125
  "ACHException",
1093
1126
  "ACHExceptionTypedDict",
1127
+ "ACHFees",
1128
+ "ACHFeesTypedDict",
1094
1129
  "ACHInstitution",
1095
1130
  "ACHInstitutionTypedDict",
1096
1131
  "ACHPaymentDetails",
@@ -1200,6 +1235,16 @@ __all__ = [
1200
1235
  "BasicPaymentMethodTypedDict",
1201
1236
  "BillableFee",
1202
1237
  "BillableFeeTypedDict",
1238
+ "BillingCountAndAmount",
1239
+ "BillingCountAndAmountTypedDict",
1240
+ "BillingInterchangeProgramFee",
1241
+ "BillingInterchangeProgramFeeTypedDict",
1242
+ "BillingSummary",
1243
+ "BillingSummaryDetails",
1244
+ "BillingSummaryDetailsTypedDict",
1245
+ "BillingSummaryInterchange",
1246
+ "BillingSummaryInterchangeTypedDict",
1247
+ "BillingSummaryTypedDict",
1203
1248
  "BirthDate",
1204
1249
  "BirthDateError",
1205
1250
  "BirthDateErrorTypedDict",
@@ -1237,14 +1282,20 @@ __all__ = [
1237
1282
  "CardAcceptanceMethodsTypedDict",
1238
1283
  "CardAccountUpdater",
1239
1284
  "CardAccountUpdaterTypedDict",
1285
+ "CardAcquiring",
1240
1286
  "CardAcquiringDispute",
1241
1287
  "CardAcquiringDisputeTypedDict",
1288
+ "CardAcquiringFees",
1289
+ "CardAcquiringFeesTypedDict",
1242
1290
  "CardAcquiringModel",
1243
1291
  "CardAcquiringRefund",
1244
1292
  "CardAcquiringRefundTypedDict",
1293
+ "CardAcquiringTypedDict",
1245
1294
  "CardAddress",
1246
1295
  "CardAddressTypedDict",
1247
1296
  "CardBrand",
1297
+ "CardBrandFees",
1298
+ "CardBrandFeesTypedDict",
1248
1299
  "CardDetails",
1249
1300
  "CardDetailsTypedDict",
1250
1301
  "CardExpiration",
@@ -1512,6 +1563,8 @@ __all__ = [
1512
1563
  "IndustryCodesTypedDict",
1513
1564
  "IndustryTaxonomy",
1514
1565
  "IndustryTaxonomyTypedDict",
1566
+ "InstantPaymentFees",
1567
+ "InstantPaymentFeesTypedDict",
1515
1568
  "InstitutionsSearchResponse",
1516
1569
  "InstitutionsSearchResponseTypedDict",
1517
1570
  "IssuedCard",
@@ -1613,6 +1666,8 @@ __all__ = [
1613
1666
  "OnboardingInviteTypedDict",
1614
1667
  "OnboardingPartnerAccount",
1615
1668
  "OnboardingPartnerAccountTypedDict",
1669
+ "OtherCardFees",
1670
+ "OtherCardFeesTypedDict",
1616
1671
  "PartialScheduleAccount",
1617
1672
  "PartialScheduleAccountTypedDict",
1618
1673
  "PartnerPricing",
@@ -1686,6 +1741,8 @@ __all__ = [
1686
1741
  "PlaidLinkPayloadTypedDict",
1687
1742
  "PlaidPayload",
1688
1743
  "PlaidPayloadTypedDict",
1744
+ "PlatformFees",
1745
+ "PlatformFeesTypedDict",
1689
1746
  "PrimaryRegulator",
1690
1747
  "Profile",
1691
1748
  "ProfileTypedDict",
@@ -1789,10 +1846,12 @@ __all__ = [
1789
1846
  "SourceDestinationOptionsTypedDict",
1790
1847
  "Ssn",
1791
1848
  "SsnTypedDict",
1849
+ "Statement",
1792
1850
  "StatementDescriptor",
1793
1851
  "StatementDescriptor2",
1794
1852
  "StatementDescriptor2TypedDict",
1795
1853
  "StatementDescriptorTypedDict",
1854
+ "StatementTypedDict",
1796
1855
  "Status",
1797
1856
  "SubmissionIntent",
1798
1857
  "Sweep",
@@ -1923,6 +1982,8 @@ __all__ = [
1923
1982
  "WalletTransactionTypedDict",
1924
1983
  "WalletType",
1925
1984
  "WalletTypedDict",
1985
+ "WebhookBillingStatementCreated",
1986
+ "WebhookBillingStatementCreatedTypedDict",
1926
1987
  "WebhookData",
1927
1988
  "WebhookDataAccountCreated",
1928
1989
  "WebhookDataAccountCreatedTypedDict",
@@ -2032,6 +2093,8 @@ _dynamic_imports: dict[str, str] = {
2032
2093
  "AchDebitFundPaymentMethodTypedDict": ".achdebitfundpaymentmethod",
2033
2094
  "ACHException": ".achexception",
2034
2095
  "ACHExceptionTypedDict": ".achexception",
2096
+ "ACHFees": ".achfees",
2097
+ "ACHFeesTypedDict": ".achfees",
2035
2098
  "ACHInstitution": ".achinstitution",
2036
2099
  "ACHInstitutionTypedDict": ".achinstitution",
2037
2100
  "AchLocation": ".achlocation",
@@ -2115,6 +2178,18 @@ _dynamic_imports: dict[str, str] = {
2115
2178
  "BasicPaymentMethodTypedDict": ".basicpaymentmethod",
2116
2179
  "BillableFee": ".billablefee",
2117
2180
  "BillableFeeTypedDict": ".billablefee",
2181
+ "BillingCountAndAmount": ".billingcountandamount",
2182
+ "BillingCountAndAmountTypedDict": ".billingcountandamount",
2183
+ "BillingInterchangeProgramFee": ".billinginterchangeprogramfee",
2184
+ "BillingInterchangeProgramFeeTypedDict": ".billinginterchangeprogramfee",
2185
+ "BillingSummary": ".billingsummary",
2186
+ "BillingSummaryTypedDict": ".billingsummary",
2187
+ "CardAcquiring": ".billingsummary",
2188
+ "CardAcquiringTypedDict": ".billingsummary",
2189
+ "BillingSummaryDetails": ".billingsummarydetails",
2190
+ "BillingSummaryDetailsTypedDict": ".billingsummarydetails",
2191
+ "BillingSummaryInterchange": ".billingsummaryinterchange",
2192
+ "BillingSummaryInterchangeTypedDict": ".billingsummaryinterchange",
2118
2193
  "BirthDate": ".birthdate",
2119
2194
  "BirthDateTypedDict": ".birthdate",
2120
2195
  "BirthDateError": ".birthdateerror",
@@ -2155,12 +2230,16 @@ _dynamic_imports: dict[str, str] = {
2155
2230
  "CardAccountUpdaterTypedDict": ".cardaccountupdater",
2156
2231
  "CardAcquiringDispute": ".cardacquiringdispute",
2157
2232
  "CardAcquiringDisputeTypedDict": ".cardacquiringdispute",
2233
+ "CardAcquiringFees": ".cardacquiringfees",
2234
+ "CardAcquiringFeesTypedDict": ".cardacquiringfees",
2158
2235
  "CardAcquiringModel": ".cardacquiringmodel",
2159
2236
  "CardAcquiringRefund": ".cardacquiringrefund",
2160
2237
  "CardAcquiringRefundTypedDict": ".cardacquiringrefund",
2161
2238
  "CardAddress": ".cardaddress",
2162
2239
  "CardAddressTypedDict": ".cardaddress",
2163
2240
  "CardBrand": ".cardbrand",
2241
+ "CardBrandFees": ".cardbrandfees",
2242
+ "CardBrandFeesTypedDict": ".cardbrandfees",
2164
2243
  "CardExpiration": ".cardexpiration",
2165
2244
  "CardExpirationTypedDict": ".cardexpiration",
2166
2245
  "CardExpirationError": ".cardexpirationerror",
@@ -2425,6 +2504,8 @@ _dynamic_imports: dict[str, str] = {
2425
2504
  "IndustryCodesTypedDict": ".industrycodes",
2426
2505
  "IndustryTaxonomy": ".industrytaxonomy",
2427
2506
  "IndustryTaxonomyTypedDict": ".industrytaxonomy",
2507
+ "InstantPaymentFees": ".instantpaymentfees",
2508
+ "InstantPaymentFeesTypedDict": ".instantpaymentfees",
2428
2509
  "InstitutionsSearchResponse": ".institutionssearchresponse",
2429
2510
  "InstitutionsSearchResponseTypedDict": ".institutionssearchresponse",
2430
2511
  "IssuedCard": ".issuedcard",
@@ -2522,6 +2603,8 @@ _dynamic_imports: dict[str, str] = {
2522
2603
  "OnboardingInviteRequestTypedDict": ".onboardinginviterequest",
2523
2604
  "OnboardingPartnerAccount": ".onboardingpartneraccount",
2524
2605
  "OnboardingPartnerAccountTypedDict": ".onboardingpartneraccount",
2606
+ "OtherCardFees": ".othercardfees",
2607
+ "OtherCardFeesTypedDict": ".othercardfees",
2525
2608
  "PartialScheduleAccount": ".partialscheduleaccount",
2526
2609
  "PartialScheduleAccountTypedDict": ".partialscheduleaccount",
2527
2610
  "PartnerPricing": ".partnerpricing",
@@ -2606,6 +2689,8 @@ _dynamic_imports: dict[str, str] = {
2606
2689
  "PlaidLinkPayloadTypedDict": ".plaidlinkpayload",
2607
2690
  "PlaidPayload": ".plaidpayload",
2608
2691
  "PlaidPayloadTypedDict": ".plaidpayload",
2692
+ "PlatformFees": ".platformfees",
2693
+ "PlatformFeesTypedDict": ".platformfees",
2609
2694
  "PrimaryRegulator": ".primaryregulator",
2610
2695
  "Profile": ".profile",
2611
2696
  "ProfileTypedDict": ".profile",
@@ -2703,6 +2788,8 @@ _dynamic_imports: dict[str, str] = {
2703
2788
  "SettingsTypedDict": ".settings",
2704
2789
  "SourceDestinationOptions": ".sourcedestinationoptions",
2705
2790
  "SourceDestinationOptionsTypedDict": ".sourcedestinationoptions",
2791
+ "Statement": ".statement",
2792
+ "StatementTypedDict": ".statement",
2706
2793
  "SubmissionIntent": ".submissionintent",
2707
2794
  "Sweep": ".sweep",
2708
2795
  "SweepTypedDict": ".sweep",
@@ -2840,6 +2927,8 @@ _dynamic_imports: dict[str, str] = {
2840
2927
  "WalletTransactionStatus": ".wallettransactionstatus",
2841
2928
  "WalletTransactionType": ".wallettransactiontype",
2842
2929
  "WalletType": ".wallettype",
2930
+ "WebhookBillingStatementCreated": ".webhookbillingstatementcreated",
2931
+ "WebhookBillingStatementCreatedTypedDict": ".webhookbillingstatementcreated",
2843
2932
  "WebhookData": ".webhookdata",
2844
2933
  "WebhookDataTypedDict": ".webhookdata",
2845
2934
  "WebhookDataAccountCreated": ".webhookdataaccountcreated",
@@ -0,0 +1,59 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .billingcountandamount import BillingCountAndAmount, BillingCountAndAmountTypedDict
5
+ from moovio_sdk.types import BaseModel
6
+ import pydantic
7
+ from typing_extensions import Annotated, TypedDict
8
+
9
+
10
+ class ACHFeesTypedDict(TypedDict):
11
+ r"""A detailed breakdown of ACH fees."""
12
+
13
+ standard_credit: BillingCountAndAmountTypedDict
14
+ r"""Fees for standard credit transfers."""
15
+ same_day_credit: BillingCountAndAmountTypedDict
16
+ r"""Fees for same-day credit transfers."""
17
+ debits: BillingCountAndAmountTypedDict
18
+ r"""Fees for debit transfers."""
19
+ return_: BillingCountAndAmountTypedDict
20
+ r"""Fees for authorized returns."""
21
+ unauthorized_return: BillingCountAndAmountTypedDict
22
+ r"""Fees for unauthorized returns."""
23
+ notice_of_change: BillingCountAndAmountTypedDict
24
+ r"""Fees for notices of change."""
25
+ total: BillingCountAndAmountTypedDict
26
+ r"""Total ACH fees."""
27
+
28
+
29
+ class ACHFees(BaseModel):
30
+ r"""A detailed breakdown of ACH fees."""
31
+
32
+ standard_credit: Annotated[
33
+ BillingCountAndAmount, pydantic.Field(alias="standardCredit")
34
+ ]
35
+ r"""Fees for standard credit transfers."""
36
+
37
+ same_day_credit: Annotated[
38
+ BillingCountAndAmount, pydantic.Field(alias="sameDayCredit")
39
+ ]
40
+ r"""Fees for same-day credit transfers."""
41
+
42
+ debits: BillingCountAndAmount
43
+ r"""Fees for debit transfers."""
44
+
45
+ return_: Annotated[BillingCountAndAmount, pydantic.Field(alias="return")]
46
+ r"""Fees for authorized returns."""
47
+
48
+ unauthorized_return: Annotated[
49
+ BillingCountAndAmount, pydantic.Field(alias="unauthorizedReturn")
50
+ ]
51
+ r"""Fees for unauthorized returns."""
52
+
53
+ notice_of_change: Annotated[
54
+ BillingCountAndAmount, pydantic.Field(alias="noticeOfChange")
55
+ ]
56
+ r"""Fees for notices of change."""
57
+
58
+ total: BillingCountAndAmount
59
+ r"""Total ACH fees."""
@@ -0,0 +1,25 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .amountdecimal import AmountDecimal, AmountDecimalTypedDict
5
+ from moovio_sdk.types import BaseModel
6
+ from typing_extensions import TypedDict
7
+
8
+
9
+ class BillingCountAndAmountTypedDict(TypedDict):
10
+ r"""Represents a count of items and their total amount."""
11
+
12
+ count: int
13
+ r"""The number of items."""
14
+ amount: AmountDecimalTypedDict
15
+ r"""The total amount."""
16
+
17
+
18
+ class BillingCountAndAmount(BaseModel):
19
+ r"""Represents a count of items and their total amount."""
20
+
21
+ count: int
22
+ r"""The number of items."""
23
+
24
+ amount: AmountDecimal
25
+ r"""The total amount."""
@@ -0,0 +1,57 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .amountdecimal import AmountDecimal, AmountDecimalTypedDict
5
+ from decimal import Decimal
6
+ from moovio_sdk.types import BaseModel
7
+ from moovio_sdk.utils import serialize_decimal, validate_decimal
8
+ import pydantic
9
+ from pydantic.functional_serializers import PlainSerializer
10
+ from pydantic.functional_validators import BeforeValidator
11
+ from typing_extensions import Annotated, TypedDict
12
+
13
+
14
+ class BillingInterchangeProgramFeeTypedDict(TypedDict):
15
+ r"""Details of a specific interchange program fee."""
16
+
17
+ program_name: str
18
+ r"""The name of the interchange program."""
19
+ count: int
20
+ r"""The number of transactions for this program."""
21
+ percentage_rate: Decimal
22
+ r"""The percentage rate for this program."""
23
+ per_item_rate: AmountDecimalTypedDict
24
+ r"""The per-item rate for this program."""
25
+ total: AmountDecimalTypedDict
26
+ r"""The total fee amount for this program."""
27
+ transfer_volume: AmountDecimalTypedDict
28
+ r"""The total transfer volume for this program."""
29
+
30
+
31
+ class BillingInterchangeProgramFee(BaseModel):
32
+ r"""Details of a specific interchange program fee."""
33
+
34
+ program_name: Annotated[str, pydantic.Field(alias="programName")]
35
+ r"""The name of the interchange program."""
36
+
37
+ count: int
38
+ r"""The number of transactions for this program."""
39
+
40
+ percentage_rate: Annotated[
41
+ Annotated[
42
+ Decimal,
43
+ BeforeValidator(validate_decimal),
44
+ PlainSerializer(serialize_decimal(False)),
45
+ ],
46
+ pydantic.Field(alias="percentageRate"),
47
+ ]
48
+ r"""The percentage rate for this program."""
49
+
50
+ per_item_rate: Annotated[AmountDecimal, pydantic.Field(alias="perItemRate")]
51
+ r"""The per-item rate for this program."""
52
+
53
+ total: AmountDecimal
54
+ r"""The total fee amount for this program."""
55
+
56
+ transfer_volume: Annotated[AmountDecimal, pydantic.Field(alias="transferVolume")]
57
+ r"""The total transfer volume for this program."""
@@ -0,0 +1,102 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .amountdecimal import AmountDecimal, AmountDecimalTypedDict
5
+ from .billingsummarydetails import BillingSummaryDetails, BillingSummaryDetailsTypedDict
6
+ from .billingsummaryinterchange import (
7
+ BillingSummaryInterchange,
8
+ BillingSummaryInterchangeTypedDict,
9
+ )
10
+ from moovio_sdk.types import BaseModel
11
+ import pydantic
12
+ from typing import Optional
13
+ from typing_extensions import Annotated, NotRequired, TypedDict
14
+
15
+
16
+ class CardAcquiringTypedDict(TypedDict):
17
+ r"""A summary of card acquiring volume and fees."""
18
+
19
+ volume_amount: NotRequired[AmountDecimalTypedDict]
20
+ r"""The total transaction volume amount."""
21
+ volume_count: NotRequired[int]
22
+ r"""The total number of transactions."""
23
+ fee_amount: NotRequired[AmountDecimalTypedDict]
24
+ r"""The total fee amount."""
25
+ interchange_fees: NotRequired[BillingSummaryInterchangeTypedDict]
26
+ r"""A summary of interchange fees by card brand."""
27
+
28
+
29
+ class CardAcquiring(BaseModel):
30
+ r"""A summary of card acquiring volume and fees."""
31
+
32
+ volume_amount: Annotated[
33
+ Optional[AmountDecimal], pydantic.Field(alias="volumeAmount")
34
+ ] = None
35
+ r"""The total transaction volume amount."""
36
+
37
+ volume_count: Annotated[Optional[int], pydantic.Field(alias="volumeCount")] = None
38
+ r"""The total number of transactions."""
39
+
40
+ fee_amount: Annotated[
41
+ Optional[AmountDecimal], pydantic.Field(alias="feeAmount")
42
+ ] = None
43
+ r"""The total fee amount."""
44
+
45
+ interchange_fees: Annotated[
46
+ Optional[BillingSummaryInterchange], pydantic.Field(alias="interchangeFees")
47
+ ] = None
48
+ r"""A summary of interchange fees by card brand."""
49
+
50
+
51
+ class BillingSummaryTypedDict(TypedDict):
52
+ r"""A summary of all fees included in a statement."""
53
+
54
+ card_acquiring: NotRequired[CardAcquiringTypedDict]
55
+ r"""A summary of card acquiring volume and fees."""
56
+ ach: NotRequired[BillingSummaryDetailsTypedDict]
57
+ r"""A summary of ACH volume and fees."""
58
+ instant_payments: NotRequired[BillingSummaryDetailsTypedDict]
59
+ r"""A summary of instant payment volume and fees."""
60
+ platform_fees: NotRequired[AmountDecimalTypedDict]
61
+ r"""The total amount of platform fees."""
62
+ adjustment_fees: NotRequired[AmountDecimalTypedDict]
63
+ r"""The total amount of adjustment fees."""
64
+ other_fees: NotRequired[AmountDecimalTypedDict]
65
+ r"""The total amount of other fees."""
66
+ total: NotRequired[AmountDecimalTypedDict]
67
+ r"""The total amount of all fees."""
68
+
69
+
70
+ class BillingSummary(BaseModel):
71
+ r"""A summary of all fees included in a statement."""
72
+
73
+ card_acquiring: Annotated[
74
+ Optional[CardAcquiring], pydantic.Field(alias="cardAcquiring")
75
+ ] = None
76
+ r"""A summary of card acquiring volume and fees."""
77
+
78
+ ach: Optional[BillingSummaryDetails] = None
79
+ r"""A summary of ACH volume and fees."""
80
+
81
+ instant_payments: Annotated[
82
+ Optional[BillingSummaryDetails], pydantic.Field(alias="instantPayments")
83
+ ] = None
84
+ r"""A summary of instant payment volume and fees."""
85
+
86
+ platform_fees: Annotated[
87
+ Optional[AmountDecimal], pydantic.Field(alias="platformFees")
88
+ ] = None
89
+ r"""The total amount of platform fees."""
90
+
91
+ adjustment_fees: Annotated[
92
+ Optional[AmountDecimal], pydantic.Field(alias="adjustmentFees")
93
+ ] = None
94
+ r"""The total amount of adjustment fees."""
95
+
96
+ other_fees: Annotated[
97
+ Optional[AmountDecimal], pydantic.Field(alias="otherFees")
98
+ ] = None
99
+ r"""The total amount of other fees."""
100
+
101
+ total: Optional[AmountDecimal] = None
102
+ r"""The total amount of all fees."""
@@ -0,0 +1,36 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .amountdecimal import AmountDecimal, AmountDecimalTypedDict
5
+ from moovio_sdk.types import BaseModel
6
+ import pydantic
7
+ from typing import Optional
8
+ from typing_extensions import Annotated, NotRequired, TypedDict
9
+
10
+
11
+ class BillingSummaryDetailsTypedDict(TypedDict):
12
+ r"""Details of volume and fees for a specific payment method."""
13
+
14
+ volume_amount: NotRequired[AmountDecimalTypedDict]
15
+ r"""The total transaction volume amount."""
16
+ volume_count: NotRequired[int]
17
+ r"""The total number of transactions."""
18
+ fee_amount: NotRequired[AmountDecimalTypedDict]
19
+ r"""The total fee amount."""
20
+
21
+
22
+ class BillingSummaryDetails(BaseModel):
23
+ r"""Details of volume and fees for a specific payment method."""
24
+
25
+ volume_amount: Annotated[
26
+ Optional[AmountDecimal], pydantic.Field(alias="volumeAmount")
27
+ ] = None
28
+ r"""The total transaction volume amount."""
29
+
30
+ volume_count: Annotated[Optional[int], pydantic.Field(alias="volumeCount")] = None
31
+ r"""The total number of transactions."""
32
+
33
+ fee_amount: Annotated[
34
+ Optional[AmountDecimal], pydantic.Field(alias="feeAmount")
35
+ ] = None
36
+ r"""The total fee amount."""
@@ -0,0 +1,36 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .amountdecimal import AmountDecimal, AmountDecimalTypedDict
5
+ from moovio_sdk.types import BaseModel
6
+ import pydantic
7
+ from typing_extensions import Annotated, TypedDict
8
+
9
+
10
+ class BillingSummaryInterchangeTypedDict(TypedDict):
11
+ r"""A summary of interchange fees by card brand."""
12
+
13
+ visa: AmountDecimalTypedDict
14
+ r"""Total interchange fees for Visa."""
15
+ mastercard: AmountDecimalTypedDict
16
+ r"""Total interchange fees for Mastercard."""
17
+ discover: AmountDecimalTypedDict
18
+ r"""Total interchange fees for Discover."""
19
+ american_express: AmountDecimalTypedDict
20
+ r"""Total interchange fees for American Express."""
21
+
22
+
23
+ class BillingSummaryInterchange(BaseModel):
24
+ r"""A summary of interchange fees by card brand."""
25
+
26
+ visa: AmountDecimal
27
+ r"""Total interchange fees for Visa."""
28
+
29
+ mastercard: AmountDecimal
30
+ r"""Total interchange fees for Mastercard."""
31
+
32
+ discover: AmountDecimal
33
+ r"""Total interchange fees for Discover."""
34
+
35
+ american_express: Annotated[AmountDecimal, pydantic.Field(alias="americanExpress")]
36
+ r"""Total interchange fees for American Express."""
@@ -0,0 +1,36 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .cardbrandfees import CardBrandFees, CardBrandFeesTypedDict
5
+ from moovio_sdk.types import BaseModel
6
+ import pydantic
7
+ from typing_extensions import Annotated, TypedDict
8
+
9
+
10
+ class CardAcquiringFeesTypedDict(TypedDict):
11
+ r"""A detailed breakdown of card acquiring fees by card brand."""
12
+
13
+ visa: CardBrandFeesTypedDict
14
+ r"""Fees associated with Visa transactions."""
15
+ mastercard: CardBrandFeesTypedDict
16
+ r"""Fees associated with Mastercard transactions."""
17
+ discover: CardBrandFeesTypedDict
18
+ r"""Fees associated with Discover transactions."""
19
+ american_express: CardBrandFeesTypedDict
20
+ r"""Fees associated with American Express transactions."""
21
+
22
+
23
+ class CardAcquiringFees(BaseModel):
24
+ r"""A detailed breakdown of card acquiring fees by card brand."""
25
+
26
+ visa: CardBrandFees
27
+ r"""Fees associated with Visa transactions."""
28
+
29
+ mastercard: CardBrandFees
30
+ r"""Fees associated with Mastercard transactions."""
31
+
32
+ discover: CardBrandFees
33
+ r"""Fees associated with Discover transactions."""
34
+
35
+ american_express: Annotated[CardBrandFees, pydantic.Field(alias="americanExpress")]
36
+ r"""Fees associated with American Express transactions."""