inttegro.financial_account
Models, requests, and enums for the Inttegro financial account resource.
The primary returned object is inttegro.financial_account.FinancialAccount. Related request types, nested response shapes, and string-backed enums are exported from this singular namespace. Public members load lazily, so importing one resource does not eagerly import the entire SDK.
1"""Models, requests, and enums for the Inttegro financial account resource. 2 3The primary returned object is ``inttegro.financial_account.FinancialAccount``. Related request types, nested response shapes, and string-backed enums are exported from this singular namespace. Public members load lazily, so importing one resource does not eagerly import the entire SDK.""" 4 5from importlib import import_module 6from typing import TYPE_CHECKING, Any 7 8if TYPE_CHECKING: 9 from .bank_request import BankRequest as BankRequest 10 from .bank_request_pull_configuration import BankRequestPullConfiguration as BankRequestPullConfiguration 11 from .bank_request_push_configuration import BankRequestPushConfiguration as BankRequestPushConfiguration 12 from .compact_response import CompactResponse as CompactResponse 13 from .connect_response import ConnectResponse as ConnectResponse 14 from .connected_response import ConnectedResponse as ConnectedResponse 15 from .create_request import CreateRequest as CreateRequest 16 from .create_response import CreateResponse as CreateResponse 17 from .created import Created as Created 18 from .disable_pull_response import DisablePullResponse as DisablePullResponse 19 from .disable_push_response import DisablePushResponse as DisablePushResponse 20 from .disable_request import DisableRequest as DisableRequest 21 from .disconnect_response import DisconnectResponse as DisconnectResponse 22 from .dosh_request import DoshRequest as DoshRequest 23 from .dosh_account import DoshAccount as DoshAccount 24 from .dosh_request_pull_configuration import DoshRequestPullConfiguration as DoshRequestPullConfiguration 25 from .dosh_request_push_configuration import DoshRequestPushConfiguration as DoshRequestPushConfiguration 26 from .enable_pull_request import EnablePullRequest as EnablePullRequest 27 from .enable_pull_response import EnablePullResponse as EnablePullResponse 28 from .enable_push_response import EnablePushResponse as EnablePushResponse 29 from .financial_account import FinancialAccount as FinancialAccount 30 from .financial_institution import FinancialInstitution as FinancialInstitution 31 from .financial_institution_bank import FinancialInstitutionBank as FinancialInstitutionBank 32 from .financial_institution_bank_branch import FinancialInstitutionBankBranch as FinancialInstitutionBankBranch 33 from .financial_institution_mobile_money_provider import FinancialInstitutionMobileMoneyProvider as FinancialInstitutionMobileMoneyProvider 34 from .id_request import IDRequest as IDRequest 35 from .lookup_response import LookupResponse as LookupResponse 36 from .page import Page as Page 37 from .page_request import PageRequest as PageRequest 38 from .page_response import PageResponse as PageResponse 39 from .pull_configuration import PullConfiguration as PullConfiguration 40 from .pull_configuration_mandate import PullConfigurationMandate as PullConfigurationMandate 41 from .push_configuration import PushConfiguration as PushConfiguration 42 from .reconnect_response import ReconnectResponse as ReconnectResponse 43 from .type import Type as Type 44 from .update_request import UpdateRequest as UpdateRequest 45 from .update_response import UpdateResponse as UpdateResponse 46 from .updated import Updated as Updated 47 from .verification import Verification as Verification 48 from .verification import VerificationRequest as VerificationRequest 49 from .wallet_request import WalletRequest as WalletRequest 50 from .wallet_request_pull_configuration import WalletRequestPullConfiguration as WalletRequestPullConfiguration 51 from .wallet_request_push_configuration import WalletRequestPushConfiguration as WalletRequestPushConfiguration 52 53 54_EXPORTS: dict[str, tuple[str, str]] = { 55 "BankRequest": ("inttegro.financial_account.bank_request", "BankRequest"), 56 "BankRequestPullConfiguration": ("inttegro.financial_account.bank_request_pull_configuration", "BankRequestPullConfiguration"), 57 "BankRequestPushConfiguration": ("inttegro.financial_account.bank_request_push_configuration", "BankRequestPushConfiguration"), 58 "CompactResponse": ("inttegro.financial_account.compact_response", "CompactResponse"), 59 "ConnectResponse": ("inttegro.financial_account.connect_response", "ConnectResponse"), 60 "ConnectedResponse": ("inttegro.financial_account.connected_response", "ConnectedResponse"), 61 "CreateRequest": ("inttegro.financial_account.create_request", "CreateRequest"), 62 "CreateResponse": ("inttegro.financial_account.create_response", "CreateResponse"), 63 "Created": ("inttegro.financial_account.created", "Created"), 64 "DisablePullResponse": ("inttegro.financial_account.disable_pull_response", "DisablePullResponse"), 65 "DisablePushResponse": ("inttegro.financial_account.disable_push_response", "DisablePushResponse"), 66 "DisableRequest": ("inttegro.financial_account.disable_request", "DisableRequest"), 67 "DisconnectResponse": ("inttegro.financial_account.disconnect_response", "DisconnectResponse"), 68 "DoshRequest": ("inttegro.financial_account.dosh_request", "DoshRequest"), 69 "DoshAccount": ("inttegro.financial_account.dosh_account", "DoshAccount"), 70 "DoshRequestPullConfiguration": ("inttegro.financial_account.dosh_request_pull_configuration", "DoshRequestPullConfiguration"), 71 "DoshRequestPushConfiguration": ("inttegro.financial_account.dosh_request_push_configuration", "DoshRequestPushConfiguration"), 72 "EnablePullRequest": ("inttegro.financial_account.enable_pull_request", "EnablePullRequest"), 73 "EnablePullResponse": ("inttegro.financial_account.enable_pull_response", "EnablePullResponse"), 74 "EnablePushResponse": ("inttegro.financial_account.enable_push_response", "EnablePushResponse"), 75 "FinancialAccount": ("inttegro.financial_account.financial_account", "FinancialAccount"), 76 "FinancialInstitution": ("inttegro.financial_account.financial_institution", "FinancialInstitution"), 77 "FinancialInstitutionBank": ("inttegro.financial_account.financial_institution_bank", "FinancialInstitutionBank"), 78 "FinancialInstitutionBankBranch": ("inttegro.financial_account.financial_institution_bank_branch", "FinancialInstitutionBankBranch"), 79 "FinancialInstitutionMobileMoneyProvider": ("inttegro.financial_account.financial_institution_mobile_money_provider", "FinancialInstitutionMobileMoneyProvider"), 80 "IDRequest": ("inttegro.financial_account.id_request", "IDRequest"), 81 "LookupResponse": ("inttegro.financial_account.lookup_response", "LookupResponse"), 82 "Page": ("inttegro.financial_account.page", "Page"), 83 "PageRequest": ("inttegro.financial_account.page_request", "PageRequest"), 84 "PageResponse": ("inttegro.financial_account.page_response", "PageResponse"), 85 "PullConfiguration": ("inttegro.financial_account.pull_configuration", "PullConfiguration"), 86 "PullConfigurationMandate": ("inttegro.financial_account.pull_configuration_mandate", "PullConfigurationMandate"), 87 "PushConfiguration": ("inttegro.financial_account.push_configuration", "PushConfiguration"), 88 "ReconnectResponse": ("inttegro.financial_account.reconnect_response", "ReconnectResponse"), 89 "Type": ("inttegro.financial_account.type", "Type"), 90 "UpdateRequest": ("inttegro.financial_account.update_request", "UpdateRequest"), 91 "UpdateResponse": ("inttegro.financial_account.update_response", "UpdateResponse"), 92 "Updated": ("inttegro.financial_account.updated", "Updated"), 93 "Verification": ("inttegro.financial_account.verification", "Verification"), 94 "VerificationRequest": ("inttegro.financial_account.verification", "VerificationRequest"), 95 "WalletRequest": ("inttegro.financial_account.wallet_request", "WalletRequest"), 96 "WalletRequestPullConfiguration": ("inttegro.financial_account.wallet_request_pull_configuration", "WalletRequestPullConfiguration"), 97 "WalletRequestPushConfiguration": ("inttegro.financial_account.wallet_request_push_configuration", "WalletRequestPushConfiguration"), 98} 99 100__all__ = [ 101 "BankRequest", 102 "BankRequestPullConfiguration", 103 "BankRequestPushConfiguration", 104 "CompactResponse", 105 "ConnectResponse", 106 "ConnectedResponse", 107 "CreateRequest", 108 "CreateResponse", 109 "Created", 110 "DisablePullResponse", 111 "DisablePushResponse", 112 "DisableRequest", 113 "DisconnectResponse", 114 "DoshRequest", 115 "DoshAccount", 116 "DoshRequestPullConfiguration", 117 "DoshRequestPushConfiguration", 118 "EnablePullRequest", 119 "EnablePullResponse", 120 "EnablePushResponse", 121 "FinancialAccount", 122 "FinancialInstitution", 123 "FinancialInstitutionBank", 124 "FinancialInstitutionBankBranch", 125 "FinancialInstitutionMobileMoneyProvider", 126 "IDRequest", 127 "LookupResponse", 128 "Page", 129 "PageRequest", 130 "PageResponse", 131 "PullConfiguration", 132 "PullConfigurationMandate", 133 "PushConfiguration", 134 "ReconnectResponse", 135 "Type", 136 "UpdateRequest", 137 "UpdateResponse", 138 "Updated", 139 "Verification", 140 "VerificationRequest", 141 "WalletRequest", 142 "WalletRequestPullConfiguration", 143 "WalletRequestPushConfiguration", 144] 145 146 147def __getattr__(name: str) -> Any: 148 """Load a public resource type on first access.""" 149 try: 150 module_name, attribute_name = _EXPORTS[name] 151 except KeyError: 152 raise AttributeError(f"module {__name__!r} has no attribute {name!r}") from None 153 value = getattr(import_module(module_name), attribute_name) 154 globals()[name] = value 155 return value
13@dataclass(frozen=True, slots=True, kw_only=True) 14class BankRequest(ApiRequest): 15 """Parameters accepted by the bank request operation. 16 17 This is an immutable, keyword-only request object. ``to_dict()`` uses 18 the documented wire names, omits fields left as ``UNSET``, serializes 19 string-backed enums by value, and requires timezone-aware datetimes. 20 21 API contract schema: ``FinancialAccountBankRequest``. 22 """ 23 custom_data: CustomDataInput | UnsetType = field(default=UNSET) 24 """Merchant-defined values accepted on resource creation. Values are serialized to strings before storage. Optional. Python type: ``CustomDataInput``; wire name: ``custom_data``; JSON type: object (CustomDataInput)""" 25 description: str | UnsetType = field(default=UNSET) 26 """Human-readable description of the bank request. Optional. Python type: ``str``; wire name: ``description``; JSON type: string. Constraints: maximum length 200""" 27 owner: FinancialAccountOwnerInput | UnsetType = field(default=UNSET) 28 """The owner associated with this bank request. Optional. Python type: ``FinancialAccountOwnerInput``; wire name: ``owner``; JSON type: object (FinancialAccountOwnerInput)""" 29 pull_configuration: FinancialAccountBankRequestPullConfiguration | UnsetType = field(default=UNSET) 30 """The pull configuration associated with this bank request. Optional. Python type: ``FinancialAccountBankRequestPullConfiguration``; wire name: ``pull_configuration``; JSON type: object""" 31 push_configuration: FinancialAccountBankRequestPushConfiguration | UnsetType = field(default=UNSET) 32 """The push configuration associated with this bank request. Optional. Python type: ``FinancialAccountBankRequestPushConfiguration``; wire name: ``push_configuration``; JSON type: object""" 33 currency: str 34 """Supported lowercase currency code. Required. Python type: ``str``; wire name: ``currency``; JSON type: string""" 35 label: str 36 """The label associated with this bank request. Required. Python type: ``str``; wire name: ``label``; JSON type: string. Constraints: minimum length 5; maximum length 40""" 37 reference: str 38 """Merchant-defined external reference for the bank request. Required. Python type: ``str``; wire name: ``reference``; JSON type: string. Constraints: minimum length 5; maximum length 40""" 39 type: Literal['bank_account', FinancialAccountType.BANK_ACCOUNT] 40 """Discriminator identifying the bank request type. Required. Python type: ``Literal['bank_account', FinancialAccountType.BANK_ACCOUNT]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``bank_account``""" 41 bank_account: FinancialAccountBankRequestBankAccount 42 """The bank account associated with this bank request. Required. Python type: ``FinancialAccountBankRequestBankAccount``; wire name: ``bank_account``; JSON type: object"""
Parameters accepted by the bank request operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountBankRequest.
Merchant-defined values accepted on resource creation. Values are serialized to strings before storage. Optional. Python type: CustomDataInput; wire name: custom_data; JSON type: object (CustomDataInput)
Human-readable description of the bank request. Optional. Python type: str; wire name: description; JSON type: string. Constraints: maximum length 200
The owner associated with this bank request. Optional. Python type: FinancialAccountOwnerInput; wire name: owner; JSON type: object (FinancialAccountOwnerInput)
The pull configuration associated with this bank request. Optional. Python type: FinancialAccountBankRequestPullConfiguration; wire name: pull_configuration; JSON type: object
The push configuration associated with this bank request. Optional. Python type: FinancialAccountBankRequestPushConfiguration; wire name: push_configuration; JSON type: object
Supported lowercase currency code. Required. Python type: str; wire name: currency; JSON type: string
The label associated with this bank request. Required. Python type: str; wire name: label; JSON type: string. Constraints: minimum length 5; maximum length 40
Merchant-defined external reference for the bank request. Required. Python type: str; wire name: reference; JSON type: string. Constraints: minimum length 5; maximum length 40
Discriminator identifying the bank request type. Required. Python type: Literal['bank_account', FinancialAccountType.BANK_ACCOUNT]; wire name: type; JSON type: string. Constraints: allowed values bank_account
The bank account associated with this bank request. Required. Python type: FinancialAccountBankRequestBankAccount; wire name: bank_account; JSON type: object
12@dataclass(frozen=True, slots=True, kw_only=True) 13class BankRequestPullConfiguration(ApiRequest): 14 """Parameters accepted by the bank request pull configuration operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountBankRequestPullConfiguration``. 21 """ 22 enabled: bool | UnsetType = field(default=UNSET) 23 """Whether enabled. Optional. Python type: ``bool``; wire name: ``enabled``; JSON type: boolean"""
Parameters accepted by the bank request pull configuration operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountBankRequestPullConfiguration.
Whether enabled. Optional. Python type: bool; wire name: enabled; JSON type: boolean
12@dataclass(frozen=True, slots=True, kw_only=True) 13class BankRequestPushConfiguration(ApiRequest): 14 """Parameters accepted by the bank request push configuration operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountBankRequestPushConfiguration``. 21 """ 22 enabled: bool | UnsetType = field(default=UNSET) 23 """Whether enabled. Optional. Python type: ``bool``; wire name: ``enabled``; JSON type: boolean"""
Parameters accepted by the bank request push configuration operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountBankRequestPushConfiguration.
Whether enabled. Optional. Python type: bool; wire name: enabled; JSON type: boolean
14@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 15class CompactResponse(ApiModel): 16 """Typed response returned by the compact operation. 17 18 Instances are immutable API responses. ``from_dict()`` decodes nested 19 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 20 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 21 Fields not returned by the API remain absent and can still be queried 22 through mapping-style access. 23 24 API contract schema: ``FinancialAccountCompactResponse``. 25 """ 26 created_at: datetime = field(init=False) 27 """When the compact response was created. Required. Python type: ``datetime``; wire name: ``created_at``; JSON type: string (date-time)""" 28 currency: str = field(init=False) 29 """The currency associated with this compact response. Required. Python type: ``str``; wire name: ``currency``; JSON type: string""" 30 description: str | None = field(init=False) 31 """Human-readable description of the compact response. Optional; nullable. Python type: ``str | None``; wire name: ``description``; JSON type: string""" 32 disconnected_at: datetime | None = field(init=False) 33 """Timestamp for disconnected at. Optional; nullable. Python type: ``datetime | None``; wire name: ``disconnected_at``; JSON type: string (date-time)""" 34 fingerprint: str = field(init=False) 35 """A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: ``str``; wire name: ``fingerprint``; JSON type: string""" 36 id: str = field(init=False) 37 """Unique identifier for this compact response. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 38 label: str | None = field(init=False) 39 """The label associated with this compact response. Optional; nullable. Python type: ``str | None``; wire name: ``label``; JSON type: string""" 40 type: Literal['wallet', 'bank_account', 'dosh_account'] = field(init=False) 41 """Discriminator identifying the compact response type. Required. Python type: ``Literal['wallet', 'bank_account', 'dosh_account']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``wallet``, ``bank_account``, ``dosh_account``"""
Typed response returned by the compact operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: FinancialAccountCompactResponse.
When the compact response was created. Required. Python type: datetime; wire name: created_at; JSON type: string (date-time)
The currency associated with this compact response. Required. Python type: str; wire name: currency; JSON type: string
Human-readable description of the compact response. Optional; nullable. Python type: str | None; wire name: description; JSON type: string
Timestamp for disconnected at. Optional; nullable. Python type: datetime | None; wire name: disconnected_at; JSON type: string (date-time)
A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: str; wire name: fingerprint; JSON type: string
Unique identifier for this compact response. Required. Python type: str; wire name: id; JSON type: string
The label associated with this compact response. Optional; nullable. Python type: str | None; wire name: label; JSON type: string
Discriminator identifying the compact response type. Required. Python type: Literal['wallet', 'bank_account', 'dosh_account']; wire name: type; JSON type: string. Constraints: allowed values wallet, bank_account, dosh_account
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class ConnectResponse(ApiModel): 14 """Typed response returned by the connect operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``ConnectFinancialAccountResponse``. 23 """ 24 account: FinancialAccountConnectedResponse | None = field(init=False) 25 """The account associated with this connect response. Optional; nullable. Python type: ``FinancialAccountConnectedResponse | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the connect operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: ConnectFinancialAccountResponse.
The account associated with this connect response. Optional; nullable. Python type: FinancialAccountConnectedResponse | None; wire name: account; JSON type: object
14@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 15class ConnectedResponse(ApiModel): 16 """Typed response returned by the connected operation. 17 18 Instances are immutable API responses. ``from_dict()`` decodes nested 19 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 20 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 21 Fields not returned by the API remain absent and can still be queried 22 through mapping-style access. 23 24 API contract schema: ``FinancialAccountConnectedResponse``. 25 """ 26 archived_at: datetime | None = field(init=False) 27 """When the connected response was archived. Optional; nullable. Python type: ``datetime | None``; wire name: ``archived_at``; JSON type: string (date-time)""" 28 created_at: datetime = field(init=False) 29 """When the connected response was created. Required. Python type: ``datetime``; wire name: ``created_at``; JSON type: string (date-time)""" 30 currency: str = field(init=False) 31 """The currency associated with this connected response. Required. Python type: ``str``; wire name: ``currency``; JSON type: string""" 32 custom_data: CustomData | None = field(init=False) 33 """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: ``CustomData | None``; wire name: ``custom_data``; JSON type: object (CustomData)""" 34 description: str | None = field(init=False) 35 """Human-readable description of the connected response. Optional; nullable. Python type: ``str | None``; wire name: ``description``; JSON type: string""" 36 fingerprint: str = field(init=False) 37 """A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: ``str``; wire name: ``fingerprint``; JSON type: string""" 38 id: str = field(init=False) 39 """Unique identifier for this connected response. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 40 institution: FinancialInstitution | None = field(init=False) 41 """The institution associated with this connected response. Optional; nullable. Python type: ``FinancialInstitution | None``; wire name: ``institution``; JSON type: object (FinancialInstitution)""" 42 label: str | None = field(init=False) 43 """The label associated with this connected response. Optional; nullable. Python type: ``str | None``; wire name: ``label``; JSON type: string""" 44 pull_configuration: FinancialAccountPullConfiguration | None = field(init=False) 45 """The pull configuration associated with this connected response. Optional; nullable. Python type: ``FinancialAccountPullConfiguration | None``; wire name: ``pull_configuration``; JSON type: object (FinancialAccountPullConfiguration)""" 46 push_configuration: FinancialAccountPushConfiguration | None = field(init=False) 47 """The push configuration associated with this connected response. Optional; nullable. Python type: ``FinancialAccountPushConfiguration | None``; wire name: ``push_configuration``; JSON type: object (FinancialAccountPushConfiguration)""" 48 reference: str | None = field(init=False) 49 """Merchant-defined external reference for the connected response. Optional; nullable. Python type: ``str | None``; wire name: ``reference``; JSON type: string""" 50 supplied: ResourceSupply | None = field(init=False) 51 """The supplied associated with this connected response. Optional; nullable. Python type: ``ResourceSupply | None``; wire name: ``supplied``; JSON type: object (ResourceSupply)""" 52 type: Literal['wallet', 'bank_account', 'dosh_account'] = field(init=False) 53 """Discriminator identifying the connected response type. Required. Python type: ``Literal['wallet', 'bank_account', 'dosh_account']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``wallet``, ``bank_account``, ``dosh_account``""" 54 verification: Verification | None = field(init=False) 55 """Verification state associated with this connected response. Optional; nullable. Python type: ``Verification | None``; wire name: ``verification``; JSON type: object (FinancialAccountVerification)""" 56 bank_account: FinancialAccountBank | None = field(init=False) 57 """The bank account associated with this connected response. Optional; nullable. Python type: ``FinancialAccountBank | None``; wire name: ``bank_account``; JSON type: object (FinancialAccountBankResponse)""" 58 dosh_account: DoshAccount | None = field(init=False) 59 """Dosh account marker; credentials and internal identifiers are not exposed. Optional; nullable. Python type: ``DoshAccount | None``; wire name: ``dosh_account``; JSON type: object (DoshAccount)""" 60 owner: FinancialAccountOwner | None = field(init=False) 61 """The owner associated with this connected response. Optional; nullable. Python type: ``FinancialAccountOwner | None``; wire name: ``owner``; JSON type: object (FinancialAccountOwnerResponse)""" 62 wallet: FinancialAccountWallet | None = field(init=False) 63 """The wallet associated with this connected response. Optional; nullable. Python type: ``FinancialAccountWallet | None``; wire name: ``wallet``; JSON type: object (FinancialAccountWalletResponse)"""
Typed response returned by the connected operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: FinancialAccountConnectedResponse.
When the connected response was archived. Optional; nullable. Python type: datetime | None; wire name: archived_at; JSON type: string (date-time)
When the connected response was created. Required. Python type: datetime; wire name: created_at; JSON type: string (date-time)
The currency associated with this connected response. Required. Python type: str; wire name: currency; JSON type: string
Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: CustomData | None; wire name: custom_data; JSON type: object (CustomData)
Human-readable description of the connected response. Optional; nullable. Python type: str | None; wire name: description; JSON type: string
A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: str; wire name: fingerprint; JSON type: string
Unique identifier for this connected response. Required. Python type: str; wire name: id; JSON type: string
The institution associated with this connected response. Optional; nullable. Python type: FinancialInstitution | None; wire name: institution; JSON type: object (FinancialInstitution)
The label associated with this connected response. Optional; nullable. Python type: str | None; wire name: label; JSON type: string
The pull configuration associated with this connected response. Optional; nullable. Python type: FinancialAccountPullConfiguration | None; wire name: pull_configuration; JSON type: object (FinancialAccountPullConfiguration)
The push configuration associated with this connected response. Optional; nullable. Python type: FinancialAccountPushConfiguration | None; wire name: push_configuration; JSON type: object (FinancialAccountPushConfiguration)
Merchant-defined external reference for the connected response. Optional; nullable. Python type: str | None; wire name: reference; JSON type: string
The supplied associated with this connected response. Optional; nullable. Python type: ResourceSupply | None; wire name: supplied; JSON type: object (ResourceSupply)
Discriminator identifying the connected response type. Required. Python type: Literal['wallet', 'bank_account', 'dosh_account']; wire name: type; JSON type: string. Constraints: allowed values wallet, bank_account, dosh_account
Verification state associated with this connected response. Optional; nullable. Python type: Verification | None; wire name: verification; JSON type: object (FinancialAccountVerification)
The bank account associated with this connected response. Optional; nullable. Python type: FinancialAccountBank | None; wire name: bank_account; JSON type: object (FinancialAccountBankResponse)
Dosh account marker; credentials and internal identifiers are not exposed. Optional; nullable. Python type: DoshAccount | None; wire name: dosh_account; JSON type: object (DoshAccount)
The owner associated with this connected response. Optional; nullable. Python type: FinancialAccountOwner | None; wire name: owner; JSON type: object (FinancialAccountOwnerResponse)
The wallet associated with this connected response. Optional; nullable. Python type: FinancialAccountWallet | None; wire name: wallet; JSON type: object (FinancialAccountWalletResponse)
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class CreateResponse(ApiModel): 14 """Typed response returned by the create operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``CreateFinancialAccountResponse``. 23 """ 24 account: FinancialAccountCreateResponse | None = field(init=False) 25 """The account associated with this create response. Optional; nullable. Python type: ``FinancialAccountCreateResponse | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the create operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: CreateFinancialAccountResponse.
14@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 15class Created(ApiModel): 16 """Typed created data in the financial account resource namespace. 17 18 Instances are immutable API responses. ``from_dict()`` decodes nested 19 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 20 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 21 Fields not returned by the API remain absent and can still be queried 22 through mapping-style access. 23 24 API contract schema: ``FinancialAccountCreateResponse``. 25 """ 26 archived_at: datetime | None = field(init=False) 27 """When the created was archived. Optional; nullable. Python type: ``datetime | None``; wire name: ``archived_at``; JSON type: string (date-time)""" 28 created_at: datetime = field(init=False) 29 """When the created was created. Required. Python type: ``datetime``; wire name: ``created_at``; JSON type: string (date-time)""" 30 currency: str = field(init=False) 31 """The currency associated with this created. Required. Python type: ``str``; wire name: ``currency``; JSON type: string""" 32 custom_data: CustomData | None = field(init=False) 33 """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: ``CustomData | None``; wire name: ``custom_data``; JSON type: object (CustomData)""" 34 description: str | None = field(init=False) 35 """Human-readable description of the created. Optional; nullable. Python type: ``str | None``; wire name: ``description``; JSON type: string""" 36 fingerprint: str = field(init=False) 37 """A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: ``str``; wire name: ``fingerprint``; JSON type: string""" 38 id: str = field(init=False) 39 """Unique identifier for this created. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 40 institution: FinancialInstitution | None = field(init=False) 41 """The institution associated with this created. Optional; nullable. Python type: ``FinancialInstitution | None``; wire name: ``institution``; JSON type: object (FinancialInstitution)""" 42 label: str | None = field(init=False) 43 """The label associated with this created. Optional; nullable. Python type: ``str | None``; wire name: ``label``; JSON type: string""" 44 pull_configuration: FinancialAccountPullConfiguration | None = field(init=False) 45 """The pull configuration associated with this created. Optional; nullable. Python type: ``FinancialAccountPullConfiguration | None``; wire name: ``pull_configuration``; JSON type: object (FinancialAccountPullConfiguration)""" 46 push_configuration: FinancialAccountPushConfiguration | None = field(init=False) 47 """The push configuration associated with this created. Optional; nullable. Python type: ``FinancialAccountPushConfiguration | None``; wire name: ``push_configuration``; JSON type: object (FinancialAccountPushConfiguration)""" 48 reference: str | None = field(init=False) 49 """Merchant-defined external reference for the created. Optional; nullable. Python type: ``str | None``; wire name: ``reference``; JSON type: string""" 50 supplied: ResourceSupply | None = field(init=False) 51 """The supplied associated with this created. Optional; nullable. Python type: ``ResourceSupply | None``; wire name: ``supplied``; JSON type: object (ResourceSupply)""" 52 type: Literal['wallet', 'bank_account', 'dosh_account'] = field(init=False) 53 """Discriminator identifying the created type. Required. Python type: ``Literal['wallet', 'bank_account', 'dosh_account']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``wallet``, ``bank_account``, ``dosh_account``""" 54 verification: Verification | None = field(init=False) 55 """Verification state associated with this created account. Optional; nullable. Python type: ``Verification | None``; wire name: ``verification``; JSON type: object (FinancialAccountVerification)""" 56 bank_account: FinancialAccountBankCreateResponse | None = field(init=False) 57 """The bank account associated with this created. Optional; nullable. Python type: ``FinancialAccountBankCreateResponse | None``; wire name: ``bank_account``; JSON type: object (FinancialAccountBankCreateResponse)""" 58 owner: FinancialAccountOwnerCreateResponse | None = field(init=False) 59 """The owner associated with this created. Optional; nullable. Python type: ``FinancialAccountOwnerCreateResponse | None``; wire name: ``owner``; JSON type: object (FinancialAccountOwnerCreateResponse)""" 60 wallet: FinancialAccountWallet | None = field(init=False) 61 """The wallet associated with this created. Optional; nullable. Python type: ``FinancialAccountWallet | None``; wire name: ``wallet``; JSON type: object (FinancialAccountWalletResponse)"""
Typed created data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: FinancialAccountCreateResponse.
When the created was archived. Optional; nullable. Python type: datetime | None; wire name: archived_at; JSON type: string (date-time)
When the created was created. Required. Python type: datetime; wire name: created_at; JSON type: string (date-time)
The currency associated with this created. Required. Python type: str; wire name: currency; JSON type: string
Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: CustomData | None; wire name: custom_data; JSON type: object (CustomData)
Human-readable description of the created. Optional; nullable. Python type: str | None; wire name: description; JSON type: string
A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: str; wire name: fingerprint; JSON type: string
Unique identifier for this created. Required. Python type: str; wire name: id; JSON type: string
The institution associated with this created. Optional; nullable. Python type: FinancialInstitution | None; wire name: institution; JSON type: object (FinancialInstitution)
The label associated with this created. Optional; nullable. Python type: str | None; wire name: label; JSON type: string
The pull configuration associated with this created. Optional; nullable. Python type: FinancialAccountPullConfiguration | None; wire name: pull_configuration; JSON type: object (FinancialAccountPullConfiguration)
The push configuration associated with this created. Optional; nullable. Python type: FinancialAccountPushConfiguration | None; wire name: push_configuration; JSON type: object (FinancialAccountPushConfiguration)
Merchant-defined external reference for the created. Optional; nullable. Python type: str | None; wire name: reference; JSON type: string
The supplied associated with this created. Optional; nullable. Python type: ResourceSupply | None; wire name: supplied; JSON type: object (ResourceSupply)
Discriminator identifying the created type. Required. Python type: Literal['wallet', 'bank_account', 'dosh_account']; wire name: type; JSON type: string. Constraints: allowed values wallet, bank_account, dosh_account
Verification state associated with this created account. Optional; nullable. Python type: Verification | None; wire name: verification; JSON type: object (FinancialAccountVerification)
The bank account associated with this created. Optional; nullable. Python type: FinancialAccountBankCreateResponse | None; wire name: bank_account; JSON type: object (FinancialAccountBankCreateResponse)
The owner associated with this created. Optional; nullable. Python type: FinancialAccountOwnerCreateResponse | None; wire name: owner; JSON type: object (FinancialAccountOwnerCreateResponse)
The wallet associated with this created. Optional; nullable. Python type: FinancialAccountWallet | None; wire name: wallet; JSON type: object (FinancialAccountWalletResponse)
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class DisablePullResponse(ApiModel): 14 """Typed response returned by the disable pull operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``DisableFinancialAccountPullResponse``. 23 """ 24 account: FinancialAccountConnectedResponse | None = field(init=False) 25 """The account associated with this disable pull response. Optional; nullable. Python type: ``FinancialAccountConnectedResponse | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the disable pull operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: DisableFinancialAccountPullResponse.
The account associated with this disable pull response. Optional; nullable. Python type: FinancialAccountConnectedResponse | None; wire name: account; JSON type: object
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class DisablePushResponse(ApiModel): 14 """Typed response returned by the disable push operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``DisableFinancialAccountPushResponse``. 23 """ 24 account: FinancialAccountConnectedResponse | None = field(init=False) 25 """The account associated with this disable push response. Optional; nullable. Python type: ``FinancialAccountConnectedResponse | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the disable push operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: DisableFinancialAccountPushResponse.
The account associated with this disable push response. Optional; nullable. Python type: FinancialAccountConnectedResponse | None; wire name: account; JSON type: object
12@dataclass(frozen=True, slots=True, kw_only=True) 13class DisableRequest(ApiRequest): 14 """Parameters accepted by the disable request operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountDisableRequest``. 21 """ 22 unset_as_payout_destination: bool | UnsetType = field(default=UNSET) 23 """Remove this account from payout destinations before the state change. If false, a mapped account is rejected. Optional. Python type: ``bool``; wire name: ``unset_as_payout_destination``; JSON type: boolean""" 24 account_id: str 25 """Identifier of the related account. Required. Python type: ``str``; wire name: ``account_id``; JSON type: string"""
Parameters accepted by the disable request operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountDisableRequest.
Remove this account from payout destinations before the state change. If false, a mapped account is rejected. Optional. Python type: bool; wire name: unset_as_payout_destination; JSON type: boolean
Identifier of the related account. Required. Python type: str; wire name: account_id; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class DisconnectResponse(ApiModel): 14 """Typed response returned by the disconnect operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``DisconnectFinancialAccountResponse``. 23 """ 24 account: FinancialAccountCompactResponse | None = field(init=False) 25 """The account associated with this disconnect response. Optional; nullable. Python type: ``FinancialAccountCompactResponse | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the disconnect operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: DisconnectFinancialAccountResponse.
The account associated with this disconnect response. Optional; nullable. Python type: FinancialAccountCompactResponse | None; wire name: account; JSON type: object
13@dataclass(frozen=True, slots=True, kw_only=True) 14class DoshRequest(ApiRequest): 15 """Parameters accepted by the dosh request operation. 16 17 This is an immutable, keyword-only request object. ``to_dict()`` uses 18 the documented wire names, omits fields left as ``UNSET``, serializes 19 string-backed enums by value, and requires timezone-aware datetimes. 20 21 API contract schema: ``FinancialAccountDoshRequest``. 22 """ 23 custom_data: CustomDataInput | UnsetType = field(default=UNSET) 24 """Merchant-defined values accepted on resource creation. Values are serialized to strings before storage. Optional. Python type: ``CustomDataInput``; wire name: ``custom_data``; JSON type: object (CustomDataInput)""" 25 description: str | UnsetType = field(default=UNSET) 26 """Human-readable description of the dosh request. Optional. Python type: ``str``; wire name: ``description``; JSON type: string. Constraints: maximum length 200""" 27 pull_configuration: FinancialAccountDoshRequestPullConfiguration | UnsetType = field(default=UNSET) 28 """The pull configuration associated with this dosh request. Optional. Python type: ``FinancialAccountDoshRequestPullConfiguration``; wire name: ``pull_configuration``; JSON type: object""" 29 push_configuration: FinancialAccountDoshRequestPushConfiguration | UnsetType = field(default=UNSET) 30 """The push configuration associated with this dosh request. Optional. Python type: ``FinancialAccountDoshRequestPushConfiguration``; wire name: ``push_configuration``; JSON type: object""" 31 currency: str 32 """Supported lowercase currency code. Required. Python type: ``str``; wire name: ``currency``; JSON type: string""" 33 label: str 34 """The label associated with this dosh request. Required. Python type: ``str``; wire name: ``label``; JSON type: string. Constraints: minimum length 5; maximum length 40""" 35 owner: FinancialAccountOwnerInput 36 """The owner associated with this dosh request. Required. Python type: ``FinancialAccountOwnerInput``; wire name: ``owner``; JSON type: object (FinancialAccountOwnerInput)""" 37 reference: str 38 """Merchant-defined external reference for the dosh request. Required. Python type: ``str``; wire name: ``reference``; JSON type: string. Constraints: minimum length 5; maximum length 40""" 39 type: Literal['dosh_account', FinancialAccountType.DOSH_ACCOUNT] 40 """Discriminator identifying the dosh request type. Required. Python type: ``Literal['dosh_account', FinancialAccountType.DOSH_ACCOUNT]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``dosh_account``""" 41 dosh_account: DoshAccount 42 """Dosh account marker; credentials and internal identifiers are not supplied. Required. Python type: ``DoshAccount``; wire name: ``dosh_account``; JSON type: object (DoshAccount)"""
Parameters accepted by the dosh request operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountDoshRequest.
Merchant-defined values accepted on resource creation. Values are serialized to strings before storage. Optional. Python type: CustomDataInput; wire name: custom_data; JSON type: object (CustomDataInput)
Human-readable description of the dosh request. Optional. Python type: str; wire name: description; JSON type: string. Constraints: maximum length 200
The pull configuration associated with this dosh request. Optional. Python type: FinancialAccountDoshRequestPullConfiguration; wire name: pull_configuration; JSON type: object
The push configuration associated with this dosh request. Optional. Python type: FinancialAccountDoshRequestPushConfiguration; wire name: push_configuration; JSON type: object
Supported lowercase currency code. Required. Python type: str; wire name: currency; JSON type: string
The label associated with this dosh request. Required. Python type: str; wire name: label; JSON type: string. Constraints: minimum length 5; maximum length 40
The owner associated with this dosh request. Required. Python type: FinancialAccountOwnerInput; wire name: owner; JSON type: object (FinancialAccountOwnerInput)
Merchant-defined external reference for the dosh request. Required. Python type: str; wire name: reference; JSON type: string. Constraints: minimum length 5; maximum length 40
Discriminator identifying the dosh request type. Required. Python type: Literal['dosh_account', FinancialAccountType.DOSH_ACCOUNT]; wire name: type; JSON type: string. Constraints: allowed values dosh_account
Dosh account marker; credentials and internal identifiers are not supplied. Required. Python type: DoshAccount; wire name: dosh_account; JSON type: object (DoshAccount)
9@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 10class DoshAccount(ApiModel): 11 """Marks a Dosh account without exposing credentials or internal IDs."""
Marks a Dosh account without exposing credentials or internal IDs.
12@dataclass(frozen=True, slots=True, kw_only=True) 13class DoshRequestPullConfiguration(ApiRequest): 14 """Parameters accepted by the dosh request pull configuration operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountDoshRequestPullConfiguration``. 21 """ 22 enabled: bool | UnsetType = field(default=UNSET) 23 """Whether enabled. Optional. Python type: ``bool``; wire name: ``enabled``; JSON type: boolean"""
Parameters accepted by the dosh request pull configuration operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountDoshRequestPullConfiguration.
Whether enabled. Optional. Python type: bool; wire name: enabled; JSON type: boolean
12@dataclass(frozen=True, slots=True, kw_only=True) 13class DoshRequestPushConfiguration(ApiRequest): 14 """Parameters accepted by the dosh request push configuration operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountDoshRequestPushConfiguration``. 21 """ 22 enabled: bool | UnsetType = field(default=UNSET) 23 """Whether enabled. Optional. Python type: ``bool``; wire name: ``enabled``; JSON type: boolean"""
Parameters accepted by the dosh request push configuration operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountDoshRequestPushConfiguration.
Whether enabled. Optional. Python type: bool; wire name: enabled; JSON type: boolean
12@dataclass(frozen=True, slots=True, kw_only=True) 13class EnablePullRequest(ApiRequest): 14 """Parameters accepted by the enable pull request operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountEnablePullRequest``. 21 """ 22 ip_address: str | UnsetType = field(default=UNSET) 23 """Client IP captured for the mandate. This is not inferred from the request. Optional. Python type: ``str``; wire name: ``ip_address``; JSON type: string""" 24 user_agent: str | UnsetType = field(default=UNSET) 25 """Client user agent captured for the mandate. This is not inferred from the request. Optional. Python type: ``str``; wire name: ``user_agent``; JSON type: string""" 26 account_id: str 27 """Identifier of the related account. Required. Python type: ``str``; wire name: ``account_id``; JSON type: string"""
Parameters accepted by the enable pull request operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountEnablePullRequest.
Client IP captured for the mandate. This is not inferred from the request. Optional. Python type: str; wire name: ip_address; JSON type: string
Client user agent captured for the mandate. This is not inferred from the request. Optional. Python type: str; wire name: user_agent; JSON type: string
Identifier of the related account. Required. Python type: str; wire name: account_id; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class EnablePullResponse(ApiModel): 14 """Typed response returned by the enable pull operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``EnableFinancialAccountPullResponse``. 23 """ 24 account: FinancialAccountConnectedResponse | None = field(init=False) 25 """The account associated with this enable pull response. Optional; nullable. Python type: ``FinancialAccountConnectedResponse | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the enable pull operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: EnableFinancialAccountPullResponse.
The account associated with this enable pull response. Optional; nullable. Python type: FinancialAccountConnectedResponse | None; wire name: account; JSON type: object
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class EnablePushResponse(ApiModel): 14 """Typed response returned by the enable push operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``EnableFinancialAccountPushResponse``. 23 """ 24 account: FinancialAccountConnectedResponse | None = field(init=False) 25 """The account associated with this enable push response. Optional; nullable. Python type: ``FinancialAccountConnectedResponse | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the enable push operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: EnableFinancialAccountPushResponse.
The account associated with this enable push response. Optional; nullable. Python type: FinancialAccountConnectedResponse | None; wire name: account; JSON type: object
14@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 15class FinancialAccount(ApiModel): 16 """Typed financial account data in the financial account resource namespace. 17 18 Instances are immutable API responses. ``from_dict()`` decodes nested 19 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 20 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 21 Fields not returned by the API remain absent and can still be queried 22 through mapping-style access. 23 """ 24 archived_at: datetime | None = field(init=False) 25 """When the financial account was archived. Optional; nullable. Python type: ``datetime | None``; wire name: ``archived_at``; JSON type: string (date-time)""" 26 created_at: datetime = field(init=False) 27 """When the financial account was created. Required. Python type: ``datetime``; wire name: ``created_at``; JSON type: string (date-time)""" 28 currency: str = field(init=False) 29 """The currency associated with this financial account. Required. Python type: ``str``; wire name: ``currency``; JSON type: string""" 30 custom_data: CustomData | None = field(init=False) 31 """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: ``CustomData | None``; wire name: ``custom_data``; JSON type: object (CustomData)""" 32 description: str | None = field(init=False) 33 """Human-readable description of the financial account. Optional; nullable. Python type: ``str | None``; wire name: ``description``; JSON type: string""" 34 fingerprint: str = field(init=False) 35 """A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: ``str``; wire name: ``fingerprint``; JSON type: string""" 36 id: str = field(init=False) 37 """Unique identifier for this financial account. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 38 institution: FinancialInstitution | None = field(init=False) 39 """The institution associated with this financial account. Optional; nullable. Python type: ``FinancialInstitution | None``; wire name: ``institution``; JSON type: object (FinancialInstitution)""" 40 label: str | None = field(init=False) 41 """The label associated with this financial account. Optional; nullable. Python type: ``str | None``; wire name: ``label``; JSON type: string""" 42 pull_configuration: FinancialAccountPullConfiguration | None = field(init=False) 43 """The pull configuration associated with this financial account. Optional; nullable. Python type: ``FinancialAccountPullConfiguration | None``; wire name: ``pull_configuration``; JSON type: object (FinancialAccountPullConfiguration)""" 44 push_configuration: FinancialAccountPushConfiguration | None = field(init=False) 45 """The push configuration associated with this financial account. Optional; nullable. Python type: ``FinancialAccountPushConfiguration | None``; wire name: ``push_configuration``; JSON type: object (FinancialAccountPushConfiguration)""" 46 reference: str | None = field(init=False) 47 """Merchant-defined external reference for the financial account. Optional; nullable. Python type: ``str | None``; wire name: ``reference``; JSON type: string""" 48 supplied: ResourceSupply | None = field(init=False) 49 """The supplied associated with this financial account. Optional; nullable. Python type: ``ResourceSupply | None``; wire name: ``supplied``; JSON type: object (ResourceSupply)""" 50 type: Literal['wallet', 'bank_account', 'dosh_account'] = field(init=False) 51 """Discriminator identifying the financial account type. Required. Python type: ``Literal['wallet', 'bank_account', 'dosh_account']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``wallet``, ``bank_account``, ``dosh_account``""" 52 verification: Verification | None = field(init=False) 53 """Verification state associated with this financial account. Optional; nullable. Python type: ``Verification | None``; wire name: ``verification``; JSON type: object (FinancialAccountVerification)""" 54 bank_account: FinancialAccountBank | None = field(init=False) 55 """The bank account associated with this financial account. Optional; nullable. Python type: ``FinancialAccountBank | None``; wire name: ``bank_account``; JSON type: object (FinancialAccountBankResponse)""" 56 disconnected_at: datetime | None = field(init=False) 57 """Timestamp for disconnected at. Optional; nullable. Python type: ``datetime | None``; wire name: ``disconnected_at``; JSON type: string (date-time)""" 58 dosh_account: DoshAccount | None = field(init=False) 59 """Dosh account marker; credentials and internal identifiers are not exposed. Optional; nullable. Python type: ``DoshAccount | None``; wire name: ``dosh_account``; JSON type: object (DoshAccount)""" 60 owner: FinancialAccountOwner | None = field(init=False) 61 """The owner associated with this financial account. Optional; nullable. Python type: ``FinancialAccountOwner | None``; wire name: ``owner``; JSON type: object (FinancialAccountOwnerResponse)""" 62 wallet: FinancialAccountWallet | None = field(init=False) 63 """The wallet associated with this financial account. Optional; nullable. Python type: ``FinancialAccountWallet | None``; wire name: ``wallet``; JSON type: object (FinancialAccountWalletResponse)"""
Typed financial account data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
When the financial account was archived. Optional; nullable. Python type: datetime | None; wire name: archived_at; JSON type: string (date-time)
When the financial account was created. Required. Python type: datetime; wire name: created_at; JSON type: string (date-time)
The currency associated with this financial account. Required. Python type: str; wire name: currency; JSON type: string
Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: CustomData | None; wire name: custom_data; JSON type: object (CustomData)
Human-readable description of the financial account. Optional; nullable. Python type: str | None; wire name: description; JSON type: string
A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: str; wire name: fingerprint; JSON type: string
Unique identifier for this financial account. Required. Python type: str; wire name: id; JSON type: string
The institution associated with this financial account. Optional; nullable. Python type: FinancialInstitution | None; wire name: institution; JSON type: object (FinancialInstitution)
The label associated with this financial account. Optional; nullable. Python type: str | None; wire name: label; JSON type: string
The pull configuration associated with this financial account. Optional; nullable. Python type: FinancialAccountPullConfiguration | None; wire name: pull_configuration; JSON type: object (FinancialAccountPullConfiguration)
The push configuration associated with this financial account. Optional; nullable. Python type: FinancialAccountPushConfiguration | None; wire name: push_configuration; JSON type: object (FinancialAccountPushConfiguration)
Merchant-defined external reference for the financial account. Optional; nullable. Python type: str | None; wire name: reference; JSON type: string
The supplied associated with this financial account. Optional; nullable. Python type: ResourceSupply | None; wire name: supplied; JSON type: object (ResourceSupply)
Discriminator identifying the financial account type. Required. Python type: Literal['wallet', 'bank_account', 'dosh_account']; wire name: type; JSON type: string. Constraints: allowed values wallet, bank_account, dosh_account
Verification state associated with this financial account. Optional; nullable. Python type: Verification | None; wire name: verification; JSON type: object (FinancialAccountVerification)
The bank account associated with this financial account. Optional; nullable. Python type: FinancialAccountBank | None; wire name: bank_account; JSON type: object (FinancialAccountBankResponse)
Timestamp for disconnected at. Optional; nullable. Python type: datetime | None; wire name: disconnected_at; JSON type: string (date-time)
Dosh account marker; credentials and internal identifiers are not exposed. Optional; nullable. Python type: DoshAccount | None; wire name: dosh_account; JSON type: object (DoshAccount)
The owner associated with this financial account. Optional; nullable. Python type: FinancialAccountOwner | None; wire name: owner; JSON type: object (FinancialAccountOwnerResponse)
The wallet associated with this financial account. Optional; nullable. Python type: FinancialAccountWallet | None; wire name: wallet; JSON type: object (FinancialAccountWalletResponse)
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class FinancialInstitution(ApiModel): 14 """Typed financial institution data in the financial account resource namespace. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 """ 22 bank: FinancialInstitutionBank | None = field(init=False) 23 """The bank associated with this financial institution. Optional; nullable. Python type: ``FinancialInstitutionBank | None``; wire name: ``bank``; JSON type: object""" 24 country: str = field(init=False) 25 """The country associated with this financial institution. Required. Python type: ``str``; wire name: ``country``; JSON type: string""" 26 id: str = field(init=False) 27 """Unique identifier for this financial institution. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 28 mobile_money_provider: FinancialInstitutionMobileMoneyProvider | None = field(init=False) 29 """The mobile money provider associated with this financial institution. Optional; nullable. Python type: ``FinancialInstitutionMobileMoneyProvider | None``; wire name: ``mobile_money_provider``; JSON type: object""" 30 name: str = field(init=False) 31 """Human-readable name of the financial institution. Required. Python type: ``str``; wire name: ``name``; JSON type: string""" 32 type: str = field(init=False) 33 """Discriminator identifying the financial institution type. Required. Python type: ``str``; wire name: ``type``; JSON type: string"""
Typed financial institution data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
The bank associated with this financial institution. Optional; nullable. Python type: FinancialInstitutionBank | None; wire name: bank; JSON type: object
The country associated with this financial institution. Required. Python type: str; wire name: country; JSON type: string
Unique identifier for this financial institution. Required. Python type: str; wire name: id; JSON type: string
The mobile money provider associated with this financial institution. Optional; nullable. Python type: FinancialInstitutionMobileMoneyProvider | None; wire name: mobile_money_provider; JSON type: object
Human-readable name of the financial institution. Required. Python type: str; wire name: name; JSON type: string
Discriminator identifying the financial institution type. Required. Python type: str; wire name: type; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class FinancialInstitutionBank(ApiModel): 14 """Typed financial institution bank data in the financial account resource namespace. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 """ 22 bank_account_type: str = field(init=False) 23 """The bank account type associated with this financial institution bank. Required. Python type: ``str``; wire name: ``bank_account_type``; JSON type: string""" 24 branch: FinancialInstitutionBankBranch | None = field(init=False) 25 """The branch associated with this financial institution bank. Optional; nullable. Python type: ``FinancialInstitutionBankBranch | None``; wire name: ``branch``; JSON type: object""" 26 code_scheme: str = field(init=False) 27 """The code scheme associated with this financial institution bank. Required. Python type: ``str``; wire name: ``code_scheme``; JSON type: string""" 28 sort_code_prefix: str | None = field(init=False) 29 """The sort code prefix associated with this financial institution bank. Optional; nullable. Python type: ``str | None``; wire name: ``sort_code_prefix``; JSON type: string""" 30 swift_code: str | None = field(init=False) 31 """The swift code associated with this financial institution bank. Optional; nullable. Python type: ``str | None``; wire name: ``swift_code``; JSON type: string"""
Typed financial institution bank data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
The bank account type associated with this financial institution bank. Required. Python type: str; wire name: bank_account_type; JSON type: string
The branch associated with this financial institution bank. Optional; nullable. Python type: FinancialInstitutionBankBranch | None; wire name: branch; JSON type: object
The code scheme associated with this financial institution bank. Required. Python type: str; wire name: code_scheme; JSON type: string
The sort code prefix associated with this financial institution bank. Optional; nullable. Python type: str | None; wire name: sort_code_prefix; JSON type: string
The swift code associated with this financial institution bank. Optional; nullable. Python type: str | None; wire name: swift_code; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class FinancialInstitutionBankBranch(ApiModel): 14 """Typed financial institution bank branch data in the financial account resource namespace. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 """ 22 id: str = field(init=False) 23 """Unique identifier for this financial institution bank branch. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 24 name: str = field(init=False) 25 """Human-readable name of the financial institution bank branch. Required. Python type: ``str``; wire name: ``name``; JSON type: string""" 26 sort_code: str = field(init=False) 27 """The sort code associated with this financial institution bank branch. Required. Python type: ``str``; wire name: ``sort_code``; JSON type: string"""
Typed financial institution bank branch data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
Unique identifier for this financial institution bank branch. Required. Python type: str; wire name: id; JSON type: string
Human-readable name of the financial institution bank branch. Required. Python type: str; wire name: name; JSON type: string
The sort code associated with this financial institution bank branch. Required. Python type: str; wire name: sort_code; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class FinancialInstitutionMobileMoneyProvider(ApiModel): 14 """Typed financial institution mobile money provider data in the financial account resource namespace. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 """ 22 provider: str = field(init=False) 23 """The provider associated with this financial institution mobile money provider. Required. Python type: ``str``; wire name: ``provider``; JSON type: string"""
Typed financial institution mobile money provider data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
The provider associated with this financial institution mobile money provider. Required. Python type: str; wire name: provider; JSON type: string
12@dataclass(frozen=True, slots=True, kw_only=True) 13class IDRequest(ApiRequest): 14 """Parameters accepted by the idrequest operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountIDRequest``. 21 """ 22 account_id: str 23 """Identifier of the related account. Required. Python type: ``str``; wire name: ``account_id``; JSON type: string"""
Parameters accepted by the idrequest operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountIDRequest.
Identifier of the related account. Required. Python type: str; wire name: account_id; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class LookupResponse(ApiModel): 14 """Typed response returned by the lookup operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``LookupFinancialAccountResponse``. 23 """ 24 account: FinancialAccount | None = field(init=False) 25 """The account associated with this lookup response. Optional; nullable. Python type: ``FinancialAccount | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the lookup operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: LookupFinancialAccountResponse.
The account associated with this lookup response. Optional; nullable. Python type: FinancialAccount | None; wire name: account; JSON type: object
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class Page(ApiModel): 14 """One page of page resources. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``FinancialAccountPage``. 23 """ 24 accounts: list[FinancialAccount] = field(init=False) 25 """The accounts associated with this page. Required. Python type: ``list[FinancialAccount]``; wire name: ``accounts``; JSON type: array of object (FinancialAccount) values""" 26 number: int = field(init=False) 27 """Human-readable number assigned to the page. Required. Python type: ``int``; wire name: ``number``; JSON type: integer""" 28 size: int = field(init=False) 29 """Number of accounts returned. Required. Python type: ``int``; wire name: ``size``; JSON type: integer"""
One page of page resources.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: FinancialAccountPage.
The accounts associated with this page. Required. Python type: list[FinancialAccount]; wire name: accounts; JSON type: array of object (FinancialAccount) values
Human-readable number assigned to the page. Required. Python type: int; wire name: number; JSON type: integer
Number of accounts returned. Required. Python type: int; wire name: size; JSON type: integer
12@dataclass(frozen=True, slots=True, kw_only=True) 13class PageRequest(ApiRequest): 14 """Parameters accepted by the page request operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountPageRequest``. 21 """ 22 page_size: int | UnsetType = field(default=UNSET) 23 """The page size associated with this page request. Optional. Python type: ``int``; wire name: ``page_size``; JSON type: integer. Constraints: minimum 1; maximum 256""" 24 page_number: int 25 """The page number associated with this page request. Required. Python type: ``int``; wire name: ``page_number``; JSON type: integer. Constraints: minimum 1; maximum 10"""
Parameters accepted by the page request operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountPageRequest.
The page size associated with this page request. Optional. Python type: int; wire name: page_size; JSON type: integer. Constraints: minimum 1; maximum 256
The page number associated with this page request. Required. Python type: int; wire name: page_number; JSON type: integer. Constraints: minimum 1; maximum 10
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class PageResponse(ApiModel): 14 """Typed response returned by the page operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``PageFinancialAccountsResponse``. 23 """ 24 page: FinancialAccountPage | None = field(init=False) 25 """Numeric page used by this operation. Optional; nullable. Python type: ``FinancialAccountPage | None``; wire name: ``page``; JSON type: object"""
Typed response returned by the page operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: PageFinancialAccountsResponse.
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 14class PullConfiguration(ApiModel): 15 """Typed pull configuration data in the financial account resource namespace. 16 17 Instances are immutable API responses. ``from_dict()`` decodes nested 18 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 19 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 20 Fields not returned by the API remain absent and can still be queried 21 through mapping-style access. 22 23 API contract schema: ``FinancialAccountPullConfiguration``. 24 """ 25 enabled_at: datetime = field(init=False) 26 """Timestamp for enabled at. Required. Python type: ``datetime``; wire name: ``enabled_at``; JSON type: string (date-time)""" 27 mandate: FinancialAccountPullConfigurationMandate = field(init=False) 28 """The mandate associated with this pull configuration. Required. Python type: ``FinancialAccountPullConfigurationMandate``; wire name: ``mandate``; JSON type: object (FinancialAccountMandate)"""
Typed pull configuration data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: FinancialAccountPullConfiguration.
Timestamp for enabled at. Required. Python type: datetime; wire name: enabled_at; JSON type: string (date-time)
The mandate associated with this pull configuration. Required. Python type: FinancialAccountPullConfigurationMandate; wire name: mandate; JSON type: object (FinancialAccountMandate)
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 14class PullConfigurationMandate(ApiModel): 15 """Typed pull configuration mandate data in the financial account resource namespace. 16 17 Instances are immutable API responses. ``from_dict()`` decodes nested 18 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 19 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 20 Fields not returned by the API remain absent and can still be queried 21 through mapping-style access. 22 23 API contract schema: ``FinancialAccountPullConfigurationMandate``. 24 """ 25 created_at: datetime = field(init=False) 26 """When the pull configuration mandate was created. Required. Python type: ``datetime``; wire name: ``created_at``; JSON type: string (date-time)""" 27 id: str = field(init=False) 28 """Unique identifier for this pull configuration mandate. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 29 ip_address: str = field(init=False) 30 """The ip address associated with this pull configuration mandate. Required. Python type: ``str``; wire name: ``ip_address``; JSON type: string""" 31 user_agent: str = field(init=False) 32 """The user agent associated with this pull configuration mandate. Required. Python type: ``str``; wire name: ``user_agent``; JSON type: string"""
Typed pull configuration mandate data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: FinancialAccountPullConfigurationMandate.
When the pull configuration mandate was created. Required. Python type: datetime; wire name: created_at; JSON type: string (date-time)
Unique identifier for this pull configuration mandate. Required. Python type: str; wire name: id; JSON type: string
The ip address associated with this pull configuration mandate. Required. Python type: str; wire name: ip_address; JSON type: string
The user agent associated with this pull configuration mandate. Required. Python type: str; wire name: user_agent; JSON type: string
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 14class PushConfiguration(ApiModel): 15 """Typed push configuration data in the financial account resource namespace. 16 17 Instances are immutable API responses. ``from_dict()`` decodes nested 18 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 19 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 20 Fields not returned by the API remain absent and can still be queried 21 through mapping-style access. 22 23 API contract schema: ``FinancialAccountPushConfiguration``. 24 """ 25 enabled_at: datetime = field(init=False) 26 """Timestamp for enabled at. Required. Python type: ``datetime``; wire name: ``enabled_at``; JSON type: string (date-time)"""
Typed push configuration data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: FinancialAccountPushConfiguration.
Timestamp for enabled at. Required. Python type: datetime; wire name: enabled_at; JSON type: string (date-time)
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class ReconnectResponse(ApiModel): 14 """Typed response returned by the reconnect operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``ReconnectFinancialAccountResponse``. 23 """ 24 account: FinancialAccountCompactResponse | None = field(init=False) 25 """The account associated with this reconnect response. Optional; nullable. Python type: ``FinancialAccountCompactResponse | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the reconnect operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: ReconnectFinancialAccountResponse.
The account associated with this reconnect response. Optional; nullable. Python type: FinancialAccountCompactResponse | None; wire name: account; JSON type: object
11class Type(WireEnum): 12 """Typed type data in the financial account resource namespace. 13 14 Members are strings as well as enum values, so they compare naturally 15 with API payloads and serialize to the lowercase wire value shown below. 16 17 API contract schema: ``FinancialAccountType``. 18 """ 19 WALLET = "wallet" 20 """Wire value ``wallet`` (wallet)""" 21 BANK_ACCOUNT = "bank_account" 22 """Wire value ``bank_account`` (bank account)""" 23 DOSH_ACCOUNT = "dosh_account" 24 """Wire value ``dosh_account`` (dosh account)"""
Typed type data in the financial account resource namespace.
Members are strings as well as enum values, so they compare naturally with API payloads and serialize to the lowercase wire value shown below.
API contract schema: FinancialAccountType.
13@dataclass(frozen=True, slots=True, kw_only=True) 14class UpdateRequest(ApiRequest): 15 """Parameters accepted by the update request operation. 16 17 This is an immutable, keyword-only request object. ``to_dict()`` uses 18 the documented wire names, omits fields left as ``UNSET``, serializes 19 string-backed enums by value, and requires timezone-aware datetimes. 20 21 API contract schema: ``FinancialAccountUpdateRequest``. 22 """ 23 custom_data: CustomDataPatch | UnsetType = field(default=UNSET) 24 """Changes to merchant-defined data. JSON null removes a key; every other JSON value is serialized to a string. Optional. Python type: ``CustomDataPatch``; wire name: ``custom_data``; JSON type: object (CustomDataPatch)""" 25 description: str | UnsetType = field(default=UNSET) 26 """Human-readable description of the update request. Optional. Python type: ``str``; wire name: ``description``; JSON type: string""" 27 label: str | UnsetType = field(default=UNSET) 28 """The label associated with this update request. Optional. Python type: ``str``; wire name: ``label``; JSON type: string""" 29 owner: FinancialAccountOwnerUpdateInput | UnsetType = field(default=UNSET) 30 """The owner associated with this update request. Optional. Python type: ``FinancialAccountOwnerUpdateInput``; wire name: ``owner``; JSON type: object (FinancialAccountOwnerUpdateInput)""" 31 reference: str | UnsetType = field(default=UNSET) 32 """Merchant-defined external reference for the update request. Optional. Python type: ``str``; wire name: ``reference``; JSON type: string""" 33 account_id: str 34 """Identifier of the related account. Required. Python type: ``str``; wire name: ``account_id``; JSON type: string"""
Parameters accepted by the update request operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountUpdateRequest.
Changes to merchant-defined data. JSON null removes a key; every other JSON value is serialized to a string. Optional. Python type: CustomDataPatch; wire name: custom_data; JSON type: object (CustomDataPatch)
Human-readable description of the update request. Optional. Python type: str; wire name: description; JSON type: string
The label associated with this update request. Optional. Python type: str; wire name: label; JSON type: string
The owner associated with this update request. Optional. Python type: FinancialAccountOwnerUpdateInput; wire name: owner; JSON type: object (FinancialAccountOwnerUpdateInput)
Merchant-defined external reference for the update request. Optional. Python type: str; wire name: reference; JSON type: string
Identifier of the related account. Required. Python type: str; wire name: account_id; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class UpdateResponse(ApiModel): 14 """Typed response returned by the update operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``UpdateFinancialAccountResponse``. 23 """ 24 account: FinancialAccountUpdateResponse | None = field(init=False) 25 """The account associated with this update response. Optional; nullable. Python type: ``FinancialAccountUpdateResponse | None``; wire name: ``account``; JSON type: object"""
Typed response returned by the update operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: UpdateFinancialAccountResponse.
14@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 15class Updated(ApiModel): 16 """Typed updated data in the financial account resource namespace. 17 18 Instances are immutable API responses. ``from_dict()`` decodes nested 19 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 20 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 21 Fields not returned by the API remain absent and can still be queried 22 through mapping-style access. 23 24 API contract schema: ``FinancialAccountUpdateResponse``. 25 """ 26 archived_at: datetime | None = field(init=False) 27 """When the updated was archived. Optional; nullable. Python type: ``datetime | None``; wire name: ``archived_at``; JSON type: string (date-time)""" 28 created_at: datetime = field(init=False) 29 """When the updated was created. Required. Python type: ``datetime``; wire name: ``created_at``; JSON type: string (date-time)""" 30 currency: str = field(init=False) 31 """The currency associated with this updated. Required. Python type: ``str``; wire name: ``currency``; JSON type: string""" 32 custom_data: CustomData | None = field(init=False) 33 """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: ``CustomData | None``; wire name: ``custom_data``; JSON type: object (CustomData)""" 34 description: str | None = field(init=False) 35 """Human-readable description of the updated. Optional; nullable. Python type: ``str | None``; wire name: ``description``; JSON type: string""" 36 fingerprint: str = field(init=False) 37 """A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: ``str``; wire name: ``fingerprint``; JSON type: string""" 38 id: str = field(init=False) 39 """Unique identifier for this updated. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 40 institution: FinancialInstitution | None = field(init=False) 41 """The institution associated with this updated. Optional; nullable. Python type: ``FinancialInstitution | None``; wire name: ``institution``; JSON type: object (FinancialInstitution)""" 42 label: str | None = field(init=False) 43 """The label associated with this updated. Optional; nullable. Python type: ``str | None``; wire name: ``label``; JSON type: string""" 44 pull_configuration: FinancialAccountPullConfiguration | None = field(init=False) 45 """The pull configuration associated with this updated. Optional; nullable. Python type: ``FinancialAccountPullConfiguration | None``; wire name: ``pull_configuration``; JSON type: object (FinancialAccountPullConfiguration)""" 46 push_configuration: FinancialAccountPushConfiguration | None = field(init=False) 47 """The push configuration associated with this updated. Optional; nullable. Python type: ``FinancialAccountPushConfiguration | None``; wire name: ``push_configuration``; JSON type: object (FinancialAccountPushConfiguration)""" 48 reference: str | None = field(init=False) 49 """Merchant-defined external reference for the updated. Optional; nullable. Python type: ``str | None``; wire name: ``reference``; JSON type: string""" 50 supplied: ResourceSupply | None = field(init=False) 51 """The supplied associated with this updated. Optional; nullable. Python type: ``ResourceSupply | None``; wire name: ``supplied``; JSON type: object (ResourceSupply)""" 52 type: Literal['wallet', 'bank_account', 'dosh_account'] = field(init=False) 53 """Discriminator identifying the updated type. Required. Python type: ``Literal['wallet', 'bank_account', 'dosh_account']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``wallet``, ``bank_account``, ``dosh_account``""" 54 verification: Verification | None = field(init=False) 55 """Verification state associated with this updated account. Optional; nullable. Python type: ``Verification | None``; wire name: ``verification``; JSON type: object (FinancialAccountVerification)""" 56 bank_account: FinancialAccountBankUpdateResponse | None = field(init=False) 57 """The bank account associated with this updated. Optional; nullable. Python type: ``FinancialAccountBankUpdateResponse | None``; wire name: ``bank_account``; JSON type: object (FinancialAccountBankUpdateResponse)""" 58 disconnected_at: datetime | None = field(init=False) 59 """Timestamp for disconnected at. Optional; nullable. Python type: ``datetime | None``; wire name: ``disconnected_at``; JSON type: string (date-time)""" 60 dosh_account: DoshAccount | None = field(init=False) 61 """Dosh account marker; credentials and internal identifiers are not exposed. Optional; nullable. Python type: ``DoshAccount | None``; wire name: ``dosh_account``; JSON type: object (DoshAccount)""" 62 owner: FinancialAccountOwnerUpdateResponse | None = field(init=False) 63 """The owner associated with this updated. Optional; nullable. Python type: ``FinancialAccountOwnerUpdateResponse | None``; wire name: ``owner``; JSON type: object (FinancialAccountOwnerUpdateResponse)""" 64 wallet: FinancialAccountWalletRawResponse | None = field(init=False) 65 """Update responses currently return the wallet ID without its type prefix. Optional; nullable. Python type: ``FinancialAccountWalletRawResponse | None``; wire name: ``wallet``; JSON type: object (FinancialAccountWalletRawResponse)"""
Typed updated data in the financial account resource namespace.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: FinancialAccountUpdateResponse.
When the updated was archived. Optional; nullable. Python type: datetime | None; wire name: archived_at; JSON type: string (date-time)
When the updated was created. Required. Python type: datetime; wire name: created_at; JSON type: string (date-time)
The currency associated with this updated. Required. Python type: str; wire name: currency; JSON type: string
Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: CustomData | None; wire name: custom_data; JSON type: object (CustomData)
Human-readable description of the updated. Optional; nullable. Python type: str | None; wire name: description; JSON type: string
A stable identifier for the underlying financial account within your application. Use it to recognize when the same account has been connected more than once. Required. Python type: str; wire name: fingerprint; JSON type: string
Unique identifier for this updated. Required. Python type: str; wire name: id; JSON type: string
The institution associated with this updated. Optional; nullable. Python type: FinancialInstitution | None; wire name: institution; JSON type: object (FinancialInstitution)
The label associated with this updated. Optional; nullable. Python type: str | None; wire name: label; JSON type: string
The pull configuration associated with this updated. Optional; nullable. Python type: FinancialAccountPullConfiguration | None; wire name: pull_configuration; JSON type: object (FinancialAccountPullConfiguration)
The push configuration associated with this updated. Optional; nullable. Python type: FinancialAccountPushConfiguration | None; wire name: push_configuration; JSON type: object (FinancialAccountPushConfiguration)
Merchant-defined external reference for the updated. Optional; nullable. Python type: str | None; wire name: reference; JSON type: string
The supplied associated with this updated. Optional; nullable. Python type: ResourceSupply | None; wire name: supplied; JSON type: object (ResourceSupply)
Discriminator identifying the updated type. Required. Python type: Literal['wallet', 'bank_account', 'dosh_account']; wire name: type; JSON type: string. Constraints: allowed values wallet, bank_account, dosh_account
Verification state associated with this updated account. Optional; nullable. Python type: Verification | None; wire name: verification; JSON type: object (FinancialAccountVerification)
The bank account associated with this updated. Optional; nullable. Python type: FinancialAccountBankUpdateResponse | None; wire name: bank_account; JSON type: object (FinancialAccountBankUpdateResponse)
Timestamp for disconnected at. Optional; nullable. Python type: datetime | None; wire name: disconnected_at; JSON type: string (date-time)
Dosh account marker; credentials and internal identifiers are not exposed. Optional; nullable. Python type: DoshAccount | None; wire name: dosh_account; JSON type: object (DoshAccount)
The owner associated with this updated. Optional; nullable. Python type: FinancialAccountOwnerUpdateResponse | None; wire name: owner; JSON type: object (FinancialAccountOwnerUpdateResponse)
Update responses currently return the wallet ID without its type prefix. Optional; nullable. Python type: FinancialAccountWalletRawResponse | None; wire name: wallet; JSON type: object (FinancialAccountWalletRawResponse)
21@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 22class Verification(ApiModel): 23 """Financial-account verification state and request evidence.""" 24 25 initiated_at: datetime = field(init=False) 26 completed_at: datetime | None = field(init=False) 27 request: VerificationRequest = field(init=False)
Financial-account verification state and request evidence.
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class VerificationRequest(ApiModel): 14 """Identifies a verification request and its mechanism.""" 15 16 id: str | None = field(init=False) 17 mechanism: str | None = field(init=False) 18 type: str | None = field(init=False)
Identifies a verification request and its mechanism.
13@dataclass(frozen=True, slots=True, kw_only=True) 14class WalletRequest(ApiRequest): 15 """Parameters accepted by the wallet request operation. 16 17 This is an immutable, keyword-only request object. ``to_dict()`` uses 18 the documented wire names, omits fields left as ``UNSET``, serializes 19 string-backed enums by value, and requires timezone-aware datetimes. 20 21 API contract schema: ``FinancialAccountWalletRequest``. 22 """ 23 custom_data: CustomDataInput | UnsetType = field(default=UNSET) 24 """Merchant-defined values accepted on resource creation. Values are serialized to strings before storage. Optional. Python type: ``CustomDataInput``; wire name: ``custom_data``; JSON type: object (CustomDataInput)""" 25 description: str | UnsetType = field(default=UNSET) 26 """Human-readable description of the wallet request. Optional. Python type: ``str``; wire name: ``description``; JSON type: string. Constraints: maximum length 200""" 27 pull_configuration: FinancialAccountWalletRequestPullConfiguration | UnsetType = field(default=UNSET) 28 """The pull configuration associated with this wallet request. Optional. Python type: ``FinancialAccountWalletRequestPullConfiguration``; wire name: ``pull_configuration``; JSON type: object""" 29 push_configuration: FinancialAccountWalletRequestPushConfiguration | UnsetType = field(default=UNSET) 30 """The push configuration associated with this wallet request. Optional. Python type: ``FinancialAccountWalletRequestPushConfiguration``; wire name: ``push_configuration``; JSON type: object""" 31 currency: str 32 """Supported lowercase currency code. Required. Python type: ``str``; wire name: ``currency``; JSON type: string""" 33 label: str 34 """The label associated with this wallet request. Required. Python type: ``str``; wire name: ``label``; JSON type: string. Constraints: minimum length 5; maximum length 40""" 35 owner: FinancialAccountOwnerInput 36 """The owner associated with this wallet request. Required. Python type: ``FinancialAccountOwnerInput``; wire name: ``owner``; JSON type: object (FinancialAccountOwnerInput)""" 37 reference: str 38 """Merchant-defined external reference for the wallet request. Required. Python type: ``str``; wire name: ``reference``; JSON type: string. Constraints: minimum length 5; maximum length 40""" 39 type: Literal['wallet', FinancialAccountType.WALLET] 40 """Discriminator identifying the wallet request type. Required. Python type: ``Literal['wallet', FinancialAccountType.WALLET]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``wallet``""" 41 wallet: FinancialAccountWalletRequestWallet 42 """The wallet associated with this wallet request. Required. Python type: ``FinancialAccountWalletRequestWallet``; wire name: ``wallet``; JSON type: object"""
Parameters accepted by the wallet request operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountWalletRequest.
Merchant-defined values accepted on resource creation. Values are serialized to strings before storage. Optional. Python type: CustomDataInput; wire name: custom_data; JSON type: object (CustomDataInput)
Human-readable description of the wallet request. Optional. Python type: str; wire name: description; JSON type: string. Constraints: maximum length 200
The pull configuration associated with this wallet request. Optional. Python type: FinancialAccountWalletRequestPullConfiguration; wire name: pull_configuration; JSON type: object
The push configuration associated with this wallet request. Optional. Python type: FinancialAccountWalletRequestPushConfiguration; wire name: push_configuration; JSON type: object
Supported lowercase currency code. Required. Python type: str; wire name: currency; JSON type: string
The label associated with this wallet request. Required. Python type: str; wire name: label; JSON type: string. Constraints: minimum length 5; maximum length 40
The owner associated with this wallet request. Required. Python type: FinancialAccountOwnerInput; wire name: owner; JSON type: object (FinancialAccountOwnerInput)
Merchant-defined external reference for the wallet request. Required. Python type: str; wire name: reference; JSON type: string. Constraints: minimum length 5; maximum length 40
The wallet associated with this wallet request. Required. Python type: FinancialAccountWalletRequestWallet; wire name: wallet; JSON type: object
12@dataclass(frozen=True, slots=True, kw_only=True) 13class WalletRequestPullConfiguration(ApiRequest): 14 """Parameters accepted by the wallet request pull configuration operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountWalletRequestPullConfiguration``. 21 """ 22 enabled: bool | UnsetType = field(default=UNSET) 23 """Whether enabled. Optional. Python type: ``bool``; wire name: ``enabled``; JSON type: boolean"""
Parameters accepted by the wallet request pull configuration operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountWalletRequestPullConfiguration.
Whether enabled. Optional. Python type: bool; wire name: enabled; JSON type: boolean
12@dataclass(frozen=True, slots=True, kw_only=True) 13class WalletRequestPushConfiguration(ApiRequest): 14 """Parameters accepted by the wallet request push configuration operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``FinancialAccountWalletRequestPushConfiguration``. 21 """ 22 enabled: bool | UnsetType = field(default=UNSET) 23 """Whether enabled. Optional. Python type: ``bool``; wire name: ``enabled``; JSON type: boolean"""
Parameters accepted by the wallet request push configuration operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: FinancialAccountWalletRequestPushConfiguration.
Whether enabled. Optional. Python type: bool; wire name: enabled; JSON type: boolean