inttegro.payment_method

Models, requests, and enums for the Inttegro payment method resource.

The primary returned object is inttegro.payment_method.PaymentMethod. 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 payment method resource.
  2
  3The primary returned object is ``inttegro.payment_method.PaymentMethod``. 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 .activate_request import ActivateRequest as ActivateRequest
 10    from .activate_response import ActivateResponse as ActivateResponse
 11    from .archive_request import ArchiveRequest as ArchiveRequest
 12    from .archive_response import ArchiveResponse as ArchiveResponse
 13    from .bank_account import BankAccount as BankAccount
 14    from .bank_account_ghana_bank_account import BankAccountGhanaBankAccount as BankAccountGhanaBankAccount
 15    from .card import Card as Card
 16    from .data_input import DataInput as DataInput
 17    from .data_input_mobile_money import DataInputMobileMoney as DataInputMobileMoney
 18    from .deletion import Deletion as Deletion
 19    from .disactivate_request import DisactivateRequest as DisactivateRequest
 20    from .disactivate_response import DisactivateResponse as DisactivateResponse
 21    from .get_settings_request import GetSettingsRequest as GetSettingsRequest
 22    from .get_settings_response import GetSettingsResponse as GetSettingsResponse
 23    from .lookup_request import LookupRequest as LookupRequest
 24    from .lookup_response import LookupResponse as LookupResponse
 25    from .mobile_money import MobileMoney as MobileMoney
 26    from .mobile_money_network import MobileMoneyNetwork as MobileMoneyNetwork
 27    from .owner import Owner as Owner
 28    from .owner_address import OwnerAddress as OwnerAddress
 29    from .owner_input import OwnerInput as OwnerInput
 30    from .owner_input_address import OwnerInputAddress as OwnerInputAddress
 31    from .page import Page as Page
 32    from .page_request import PageRequest as PageRequest
 33    from .page_response import PageResponse as PageResponse
 34    from .payment_method import PaymentMethod as PaymentMethod
 35    from .settings import Settings as Settings
 36    from .supplied import Supplied as Supplied
 37    from .tokenize_mobile_money_request import TokenizeMobileMoneyRequest as TokenizeMobileMoneyRequest
 38    from .tokenize_mobile_money_request_mobile_money import TokenizeMobileMoneyRequestMobileMoney as TokenizeMobileMoneyRequestMobileMoney
 39    from .tokenize_response import TokenizeResponse as TokenizeResponse
 40    from .type import Type as Type
 41    from .type_setting import TypeSetting as TypeSetting
 42    from .unarchive_request import UnarchiveRequest as UnarchiveRequest
 43    from .unarchive_response import UnarchiveResponse as UnarchiveResponse
 44    from .update_request import UpdateRequest as UpdateRequest
 45    from .update_request_owner import UpdateRequestOwner as UpdateRequestOwner
 46    from .update_request_owner_address import UpdateRequestOwnerAddress as UpdateRequestOwnerAddress
 47    from .update_response import UpdateResponse as UpdateResponse
 48    from .verification import Verification as Verification
 49    from .verification_delivery import VerificationDelivery as VerificationDelivery
 50    from .verification_session import VerificationSession as VerificationSession
 51
 52
 53_EXPORTS: dict[str, tuple[str, str]] = {
 54    "ActivateRequest": ("inttegro.payment_method.activate_request", "ActivateRequest"),
 55    "ActivateResponse": ("inttegro.payment_method.activate_response", "ActivateResponse"),
 56    "ArchiveRequest": ("inttegro.payment_method.archive_request", "ArchiveRequest"),
 57    "ArchiveResponse": ("inttegro.payment_method.archive_response", "ArchiveResponse"),
 58    "BankAccount": ("inttegro.payment_method.bank_account", "BankAccount"),
 59    "BankAccountGhanaBankAccount": ("inttegro.payment_method.bank_account_ghana_bank_account", "BankAccountGhanaBankAccount"),
 60    "Card": ("inttegro.payment_method.card", "Card"),
 61    "DataInput": ("inttegro.payment_method.data_input", "DataInput"),
 62    "DataInputMobileMoney": ("inttegro.payment_method.data_input_mobile_money", "DataInputMobileMoney"),
 63    "Deletion": ("inttegro.payment_method.deletion", "Deletion"),
 64    "DisactivateRequest": ("inttegro.payment_method.disactivate_request", "DisactivateRequest"),
 65    "DisactivateResponse": ("inttegro.payment_method.disactivate_response", "DisactivateResponse"),
 66    "GetSettingsRequest": ("inttegro.payment_method.get_settings_request", "GetSettingsRequest"),
 67    "GetSettingsResponse": ("inttegro.payment_method.get_settings_response", "GetSettingsResponse"),
 68    "LookupRequest": ("inttegro.payment_method.lookup_request", "LookupRequest"),
 69    "LookupResponse": ("inttegro.payment_method.lookup_response", "LookupResponse"),
 70    "MobileMoney": ("inttegro.payment_method.mobile_money", "MobileMoney"),
 71    "MobileMoneyNetwork": ("inttegro.payment_method.mobile_money_network", "MobileMoneyNetwork"),
 72    "Owner": ("inttegro.payment_method.owner", "Owner"),
 73    "OwnerAddress": ("inttegro.payment_method.owner_address", "OwnerAddress"),
 74    "OwnerInput": ("inttegro.payment_method.owner_input", "OwnerInput"),
 75    "OwnerInputAddress": ("inttegro.payment_method.owner_input_address", "OwnerInputAddress"),
 76    "Page": ("inttegro.payment_method.page", "Page"),
 77    "PageRequest": ("inttegro.payment_method.page_request", "PageRequest"),
 78    "PageResponse": ("inttegro.payment_method.page_response", "PageResponse"),
 79    "PaymentMethod": ("inttegro.payment_method.payment_method", "PaymentMethod"),
 80    "Settings": ("inttegro.payment_method.settings", "Settings"),
 81    "Supplied": ("inttegro.payment_method.supplied", "Supplied"),
 82    "TokenizeMobileMoneyRequest": ("inttegro.payment_method.tokenize_mobile_money_request", "TokenizeMobileMoneyRequest"),
 83    "TokenizeMobileMoneyRequestMobileMoney": ("inttegro.payment_method.tokenize_mobile_money_request_mobile_money", "TokenizeMobileMoneyRequestMobileMoney"),
 84    "TokenizeResponse": ("inttegro.payment_method.tokenize_response", "TokenizeResponse"),
 85    "Type": ("inttegro.payment_method.type", "Type"),
 86    "TypeSetting": ("inttegro.payment_method.type_setting", "TypeSetting"),
 87    "UnarchiveRequest": ("inttegro.payment_method.unarchive_request", "UnarchiveRequest"),
 88    "UnarchiveResponse": ("inttegro.payment_method.unarchive_response", "UnarchiveResponse"),
 89    "UpdateRequest": ("inttegro.payment_method.update_request", "UpdateRequest"),
 90    "UpdateRequestOwner": ("inttegro.payment_method.update_request_owner", "UpdateRequestOwner"),
 91    "UpdateRequestOwnerAddress": ("inttegro.payment_method.update_request_owner_address", "UpdateRequestOwnerAddress"),
 92    "UpdateResponse": ("inttegro.payment_method.update_response", "UpdateResponse"),
 93    "Verification": ("inttegro.payment_method.verification", "Verification"),
 94    "VerificationDelivery": ("inttegro.payment_method.verification_delivery", "VerificationDelivery"),
 95    "VerificationSession": ("inttegro.payment_method.verification_session", "VerificationSession"),
 96}
 97
 98__all__ = [
 99    "ActivateRequest",
100    "ActivateResponse",
101    "ArchiveRequest",
102    "ArchiveResponse",
103    "BankAccount",
104    "BankAccountGhanaBankAccount",
105    "Card",
106    "DataInput",
107    "DataInputMobileMoney",
108    "Deletion",
109    "DisactivateRequest",
110    "DisactivateResponse",
111    "GetSettingsRequest",
112    "GetSettingsResponse",
113    "LookupRequest",
114    "LookupResponse",
115    "MobileMoney",
116    "MobileMoneyNetwork",
117    "Owner",
118    "OwnerAddress",
119    "OwnerInput",
120    "OwnerInputAddress",
121    "Page",
122    "PageRequest",
123    "PageResponse",
124    "PaymentMethod",
125    "Settings",
126    "Supplied",
127    "TokenizeMobileMoneyRequest",
128    "TokenizeMobileMoneyRequestMobileMoney",
129    "TokenizeResponse",
130    "Type",
131    "TypeSetting",
132    "UnarchiveRequest",
133    "UnarchiveResponse",
134    "UpdateRequest",
135    "UpdateRequestOwner",
136    "UpdateRequestOwnerAddress",
137    "UpdateResponse",
138    "Verification",
139    "VerificationDelivery",
140    "VerificationSession",
141]
142
143
144def __getattr__(name: str) -> Any:
145    """Load a public resource type on first access."""
146    try:
147        module_name, attribute_name = _EXPORTS[name]
148    except KeyError:
149        raise AttributeError(f"module {__name__!r} has no attribute {name!r}") from None
150    value = getattr(import_module(module_name), attribute_name)
151    globals()[name] = value
152    return value
@dataclass(frozen=True, slots=True, kw_only=True)
class ActivateRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class ActivateRequest(ApiRequest):
14    """Parameters accepted by the activate 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: ``ActivatePaymentMethodRequest``.
21    """
22    payment_method_id: str
23    """Identifier of the related payment method. Required. Python type: ``str``; wire name: ``payment_method_id``; JSON type: string"""

Parameters accepted by the activate 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: ActivatePaymentMethodRequest.

ActivateRequest(*, payment_method_id: str)
payment_method_id: str

Identifier of the related payment method. Required. Python type: str; wire name: payment_method_id; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class ActivateResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class ActivateResponse(ApiModel):
14    """Payment information if payment was initiated.
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: ``ActivatePaymentMethodResponse``.
23    """
24    payment_method: PaymentMethod | None = field(init=False)
25    """A tokenized payment instrument tied to a customer. Required; nullable. Python type: ``PaymentMethod | None``; wire name: ``payment_method``; JSON type: object (PaymentMethodObject)"""

Payment information if payment was initiated.

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: ActivatePaymentMethodResponse.

payment_method: PaymentMethod | None

A tokenized payment instrument tied to a customer. Required; nullable. Python type: PaymentMethod | None; wire name: payment_method; JSON type: object (PaymentMethodObject)

@dataclass(frozen=True, slots=True, kw_only=True)
class ArchiveRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class ArchiveRequest(ApiRequest):
14    """Parameters accepted by the archive 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: ``ArchivePaymentMethodRequest``.
21    """
22    payment_method_id: str
23    """Identifier of the related payment method. Required. Python type: ``str``; wire name: ``payment_method_id``; JSON type: string"""

Parameters accepted by the archive 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: ArchivePaymentMethodRequest.

ArchiveRequest(*, payment_method_id: str)
payment_method_id: str

Identifier of the related payment method. Required. Python type: str; wire name: payment_method_id; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class ArchiveResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class ArchiveResponse(ApiModel):
14    """Payment information if payment was initiated.
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: ``ArchivePaymentMethodResponse``.
23    """
24    payment_method: PaymentMethod | None = field(init=False)
25    """A tokenized payment instrument tied to a customer. Required; nullable. Python type: ``PaymentMethod | None``; wire name: ``payment_method``; JSON type: object (PaymentMethodObject)"""

Payment information if payment was initiated.

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: ArchivePaymentMethodResponse.

payment_method: PaymentMethod | None

A tokenized payment instrument tied to a customer. Required; nullable. Python type: PaymentMethod | None; wire name: payment_method; JSON type: object (PaymentMethodObject)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class BankAccount(inttegro._model_base.ApiModel):
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
14class BankAccount(ApiModel):
15    """Bank account details (present when type is bank_account).
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: ``PaymentMethodBankAccount``.
24    """
25    ghana_bank_account: PaymentMethodBankAccountGhanaBankAccount | None = field(init=False)
26    """Ghana bank account details. Optional; nullable. Python type: ``PaymentMethodBankAccountGhanaBankAccount | None``; wire name: ``ghana_bank_account``; JSON type: object"""
27    type: Literal['ghana_bank_account'] = field(init=False)
28    """Bank account sub-type. Required. Python type: ``Literal['ghana_bank_account']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``ghana_bank_account``"""

Bank account details (present when type is bank_account).

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: PaymentMethodBankAccount.

ghana_bank_account: BankAccountGhanaBankAccount | None

Ghana bank account details. Optional; nullable. Python type: PaymentMethodBankAccountGhanaBankAccount | None; wire name: ghana_bank_account; JSON type: object

type: Literal['ghana_bank_account']

Bank account sub-type. Required. Python type: Literal['ghana_bank_account']; wire name: type; JSON type: string. Constraints: allowed values ghana_bank_account

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class BankAccountGhanaBankAccount(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class BankAccountGhanaBankAccount(ApiModel):
14    """Ghana bank account details.
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: ``PaymentMethodBankAccountGhanaBankAccount``.
23    """
24    branch: str | None = field(init=False)
25    """Branch name. Optional; nullable. Python type: ``str | None``; wire name: ``branch``; JSON type: string"""
26    name: str | None = field(init=False)
27    """Account holder name. Optional; nullable. Python type: ``str | None``; wire name: ``name``; JSON type: string"""
28    account_number: str = field(init=False)
29    """Account number. Required. Python type: ``str``; wire name: ``account_number``; JSON type: string"""
30    sort_code: str | None = field(init=False)
31    """Bank sort code. Optional; nullable. Python type: ``str | None``; wire name: ``sort_code``; JSON type: string"""
32    swift_code: str | None = field(init=False)
33    """SWIFT/BIC code. Optional; nullable. Python type: ``str | None``; wire name: ``swift_code``; JSON type: string"""

Ghana bank account details.

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: PaymentMethodBankAccountGhanaBankAccount.

branch: str | None

Branch name. Optional; nullable. Python type: str | None; wire name: branch; JSON type: string

name: str | None

Account holder name. Optional; nullable. Python type: str | None; wire name: name; JSON type: string

account_number: str

Account number. Required. Python type: str; wire name: account_number; JSON type: string

sort_code: str | None

Bank sort code. Optional; nullable. Python type: str | None; wire name: sort_code; JSON type: string

swift_code: str | None

SWIFT/BIC code. Optional; nullable. Python type: str | None; wire name: swift_code; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Card(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Card(ApiModel):
14    """Card marker. Nested card credentials are not returned.
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: ``PaymentMethodCard``.
23    """
24    pass

Card marker. Nested card credentials are not returned.

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: PaymentMethodCard.

@dataclass(frozen=True, slots=True, kw_only=True)
class DataInput(inttegro._request_base.ApiRequest):
13@dataclass(frozen=True, slots=True, kw_only=True)
14class DataInput(ApiRequest):
15    """Payment instrument details for tokenization.
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: ``PaymentMethodDataInput``.
22    """
23    mobile_money: PaymentMethodDataInputMobileMoney | UnsetType = field(default=UNSET)
24    """Mobile money wallet details (required when type is mobile_money). Optional. Python type: ``PaymentMethodDataInputMobileMoney``; wire name: ``mobile_money``; JSON type: object"""
25    type: Literal['mobile_money', PaymentMethodType.MOBILE_MONEY]
26    """Payment rail type (currently only mobile_money supported). Required. Python type: ``Literal['mobile_money', PaymentMethodType.MOBILE_MONEY]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``mobile_money``"""

Payment instrument details for tokenization.

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: PaymentMethodDataInput.

DataInput( *, mobile_money: DataInputMobileMoney | inttegro._request_base.UnsetType = UNSET, type: Literal['mobile_money', <Type.MOBILE_MONEY: 'mobile_money'>])
mobile_money: DataInputMobileMoney | inttegro._request_base.UnsetType

Mobile money wallet details (required when type is mobile_money). Optional. Python type: PaymentMethodDataInputMobileMoney; wire name: mobile_money; JSON type: object

type: Literal['mobile_money', <Type.MOBILE_MONEY: 'mobile_money'>]

Payment rail type (currently only mobile_money supported). Required. Python type: Literal['mobile_money', PaymentMethodType.MOBILE_MONEY]; wire name: type; JSON type: string. Constraints: allowed values mobile_money

@dataclass(frozen=True, slots=True, kw_only=True)
class DataInputMobileMoney(inttegro._request_base.ApiRequest):
13@dataclass(frozen=True, slots=True, kw_only=True)
14class DataInputMobileMoney(ApiRequest):
15    """Mobile money wallet details (required when type is mobile_money).
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: ``PaymentMethodDataInputMobileMoney``.
22    """
23    network: Literal['airtel', 'mtn', 'telecel', 'vodafone', MobileMoneyNetwork.AIRTEL, MobileMoneyNetwork.MTN, MobileMoneyNetwork.TELECEL, MobileMoneyNetwork.VODAFONE]
24    """Mobile money network provider. Required. Python type: ``Literal['airtel', 'mtn', 'telecel', 'vodafone', MobileMoneyNetwork.AIRTEL, MobileMoneyNetwork.MTN, MobileMoneyNetwork.TELECEL, MobileMoneyNetwork.VODAFONE]``; wire name: ``network``; JSON type: string. Constraints: allowed values ``airtel``, ``mtn``, ``telecel``, ``vodafone``"""
25    account_number: str
26    """Mobile money account number (international or local format). Required. Python type: ``str``; wire name: ``account_number``; JSON type: string. The value must contain 10 to 15 digits and may begin with ``+``."""

Mobile money wallet details (required when type is mobile_money).

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: PaymentMethodDataInputMobileMoney.

DataInputMobileMoney( *, network: Literal['airtel', 'mtn', 'telecel', 'vodafone', <MobileMoneyNetwork.AIRTEL: 'airtel'>, <MobileMoneyNetwork.MTN: 'mtn'>, <MobileMoneyNetwork.TELECEL: 'telecel'>, <MobileMoneyNetwork.VODAFONE: 'vodafone'>], account_number: str)
network: Literal['airtel', 'mtn', 'telecel', 'vodafone', <MobileMoneyNetwork.AIRTEL: 'airtel'>, <MobileMoneyNetwork.MTN: 'mtn'>, <MobileMoneyNetwork.TELECEL: 'telecel'>, <MobileMoneyNetwork.VODAFONE: 'vodafone'>]

Mobile money network provider. Required. Python type: Literal['airtel', 'mtn', 'telecel', 'vodafone', MobileMoneyNetwork.AIRTEL, MobileMoneyNetwork.MTN, MobileMoneyNetwork.TELECEL, MobileMoneyNetwork.VODAFONE]; wire name: network; JSON type: string. Constraints: allowed values airtel, mtn, telecel, vodafone

account_number: str

Mobile money account number (international or local format). Required. Python type: str; wire name: account_number; JSON type: string. The value must contain 10 to 15 digits and may begin with +.

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Deletion(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Deletion(ApiModel):
14    """Typed deletion data in the payment method 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    API contract schema: ``PaymentMethodDeletion``.
23    """
24    deleted: bool = field(init=False)
25    """Whether deleted. Optional. Python type: ``bool``; wire name: ``deleted``; JSON type: boolean"""
26    payment_method_id: str = field(init=False)
27    """Identifier of the related payment method. Required. Python type: ``str``; wire name: ``payment_method_id``; JSON type: string"""

Typed deletion data in the payment method 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: PaymentMethodDeletion.

deleted: bool

Whether deleted. Optional. Python type: bool; wire name: deleted; JSON type: boolean

payment_method_id: str

Identifier of the related payment method. Required. Python type: str; wire name: payment_method_id; JSON type: string

@dataclass(frozen=True, slots=True, kw_only=True)
class DisactivateRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class DisactivateRequest(ApiRequest):
14    """Parameters accepted by the disactivate 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: ``DisactivatePaymentMethodRequest``.
21    """
22    payment_method_id: str
23    """Identifier of the related payment method. Required. Python type: ``str``; wire name: ``payment_method_id``; JSON type: string"""

Parameters accepted by the disactivate 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: DisactivatePaymentMethodRequest.

DisactivateRequest(*, payment_method_id: str)
payment_method_id: str

Identifier of the related payment method. Required. Python type: str; wire name: payment_method_id; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class DisactivateResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class DisactivateResponse(ApiModel):
14    """Payment information if payment was initiated.
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: ``DisactivatePaymentMethodResponse``.
23    """
24    payment_method: PaymentMethod | None = field(init=False)
25    """A tokenized payment instrument tied to a customer. Required; nullable. Python type: ``PaymentMethod | None``; wire name: ``payment_method``; JSON type: object (PaymentMethodObject)"""

Payment information if payment was initiated.

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: DisactivatePaymentMethodResponse.

payment_method: PaymentMethod | None

A tokenized payment instrument tied to a customer. Required; nullable. Python type: PaymentMethod | None; wire name: payment_method; JSON type: object (PaymentMethodObject)

@dataclass(frozen=True, slots=True, kw_only=True)
class GetSettingsRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class GetSettingsRequest(ApiRequest):
14    """Parameters accepted by the get settings 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: ``GetPaymentMethodSettingsRequest``.
21    """
22    pass

Parameters accepted by the get settings 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: GetPaymentMethodSettingsRequest.

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class GetSettingsResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class GetSettingsResponse(ApiModel):
14    """Typed response returned by the get settings 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: ``GetPaymentMethodSettingsResponse``.
23    """
24    settings: PaymentMethodSettings = field(init=False)
25    """The settings associated with this get settings response. Required. Python type: ``PaymentMethodSettings``; wire name: ``settings``; JSON type: object"""

Typed response returned by the get settings 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: GetPaymentMethodSettingsResponse.

settings: Settings

The settings associated with this get settings response. Required. Python type: PaymentMethodSettings; wire name: settings; JSON type: object

@dataclass(frozen=True, slots=True, kw_only=True)
class LookupRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class LookupRequest(ApiRequest):
14    """Parameters accepted by the lookup 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: ``LookupPaymentMethodRequest``.
21    """
22    payment_method_id: str
23    """Identifier of the related payment method. Required. Python type: ``str``; wire name: ``payment_method_id``; JSON type: string"""

Parameters accepted by the lookup 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: LookupPaymentMethodRequest.

LookupRequest(*, payment_method_id: str)
payment_method_id: str

Identifier of the related payment method. Required. Python type: str; wire name: payment_method_id; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class LookupResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class LookupResponse(ApiModel):
14    """Payment information if payment was initiated.
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: ``LookupPaymentMethodResponse``.
23    """
24    payment_method: PaymentMethod | None = field(init=False)
25    """A tokenized payment instrument tied to a customer. Required; nullable. Python type: ``PaymentMethod | None``; wire name: ``payment_method``; JSON type: object (PaymentMethodObject)"""

Payment information if payment was initiated.

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: LookupPaymentMethodResponse.

payment_method: PaymentMethod | None

A tokenized payment instrument tied to a customer. Required; nullable. Python type: PaymentMethod | None; wire name: payment_method; JSON type: object (PaymentMethodObject)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class MobileMoney(inttegro._model_base.ApiModel):
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
14class MobileMoney(ApiModel):
15    """Masked mobile-money wallet details (present when type is mobile_money).
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: ``PaymentMethodMobileMoney``.
24    """
25    account_number: str = field(init=False)
26    """Masked wallet number. The full account number is never returned. Required. Python type: ``str``; wire name: ``account_number``; JSON type: string"""
27    last4: str = field(init=False)
28    """Last four numeric digits of the normalized wallet number. Required. Python type: ``str``; wire name: ``last4``; JSON type: string"""
29    network: Literal['airtel', 'mtn', 'telecel', 'vodafone'] = field(init=False)
30    """Mobile network operator. Required. Python type: ``Literal['airtel', 'mtn', 'telecel', 'vodafone']``; wire name: ``network``; JSON type: string. Constraints: allowed values ``airtel``, ``mtn``, ``telecel``, ``vodafone``"""

Masked mobile-money wallet details (present when type is mobile_money).

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: PaymentMethodMobileMoney.

account_number: str

Masked wallet number. The full account number is never returned. Required. Python type: str; wire name: account_number; JSON type: string

last4: str

Last four numeric digits of the normalized wallet number. Required. Python type: str; wire name: last4; JSON type: string

network: Literal['airtel', 'mtn', 'telecel', 'vodafone']

Mobile network operator. Required. Python type: Literal['airtel', 'mtn', 'telecel', 'vodafone']; wire name: network; JSON type: string. Constraints: allowed values airtel, mtn, telecel, vodafone

class MobileMoneyNetwork(inttegro._enum_base.WireEnum):
11class MobileMoneyNetwork(WireEnum):
12    """Mobile money service provider.
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    AIRTEL = "airtel"
18    """Wire value ``airtel`` (airtel) for mobile money service provider"""
19    MTN = "mtn"
20    """Wire value ``mtn`` (mtn) for mobile money service provider"""
21    TELECEL = "telecel"
22    """Wire value ``telecel`` (telecel) for mobile money service provider"""
23    VODAFONE = "vodafone"
24    """Wire value ``vodafone`` (vodafone) for mobile money service provider"""

Mobile money service provider.

Members are strings as well as enum values, so they compare naturally with API payloads and serialize to the lowercase wire value shown below.

AIRTEL = <MobileMoneyNetwork.AIRTEL: 'airtel'>

Wire value airtel (airtel) for mobile money service provider

MTN = <MobileMoneyNetwork.MTN: 'mtn'>

Wire value mtn (mtn) for mobile money service provider

TELECEL = <MobileMoneyNetwork.TELECEL: 'telecel'>

Wire value telecel (telecel) for mobile money service provider

VODAFONE = <MobileMoneyNetwork.VODAFONE: 'vodafone'>

Wire value vodafone (vodafone) for mobile money service provider

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Owner(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Owner(ApiModel):
14    """Typed owner data in the payment method 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    API contract schema: ``PaymentMethodOwner``.
23    """
24    address: PaymentMethodOwnerAddress | None = field(init=False)
25    """The address associated with this owner. Required; nullable. Python type: ``PaymentMethodOwnerAddress | None``; wire name: ``address``; JSON type: object"""
26    name: str = field(init=False)
27    """Payment method owner's name. Required. Python type: ``str``; wire name: ``name``; JSON type: string. Constraints: minimum length 1"""

Typed owner data in the payment method 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: PaymentMethodOwner.

address: OwnerAddress | None

The address associated with this owner. Required; nullable. Python type: PaymentMethodOwnerAddress | None; wire name: address; JSON type: object

name: str

Payment method owner's name. Required. Python type: str; wire name: name; JSON type: string. Constraints: minimum length 1

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class OwnerAddress(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class OwnerAddress(ApiModel):
14    """Postal address for the owner when available.
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: ``PaymentMethodOwnerAddress``.
23    """
24    city: str | None = field(init=False)
25    """City or locality. Optional; nullable. Python type: ``str | None``; wire name: ``city``; JSON type: string"""
26    country: str = field(init=False)
27    """Two-letter ISO country code. Required. Python type: ``str``; wire name: ``country``; JSON type: string"""
28    line_1: str | None = field(init=False)
29    """First line of the street address. Optional; nullable. Python type: ``str | None``; wire name: ``line_1``; JSON type: string"""
30    line_2: str | None = field(init=False)
31    """Second line of the street address. Optional; nullable. Python type: ``str | None``; wire name: ``line_2``; JSON type: string"""
32    name: str | None = field(init=False)
33    """Recipient name at this address, if different from owner name. Optional; nullable. Python type: ``str | None``; wire name: ``name``; JSON type: string"""
34    phone_number: str | None = field(init=False)
35    """Phone number for this address. Optional; nullable. Python type: ``str | None``; wire name: ``phone_number``; JSON type: string"""
36    post_code: str | None = field(init=False)
37    """Postal or ZIP code. Optional; nullable. Python type: ``str | None``; wire name: ``post_code``; JSON type: string"""
38    region: str | None = field(init=False)
39    """Region, state, or province. Optional; nullable. Python type: ``str | None``; wire name: ``region``; JSON type: string"""

Postal address for the owner when available.

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: PaymentMethodOwnerAddress.

city: str | None

City or locality. Optional; nullable. Python type: str | None; wire name: city; JSON type: string

country: str

Two-letter ISO country code. Required. Python type: str; wire name: country; JSON type: string

line_1: str | None

First line of the street address. Optional; nullable. Python type: str | None; wire name: line_1; JSON type: string

line_2: str | None

Second line of the street address. Optional; nullable. Python type: str | None; wire name: line_2; JSON type: string

name: str | None

Recipient name at this address, if different from owner name. Optional; nullable. Python type: str | None; wire name: name; JSON type: string

phone_number: str | None

Phone number for this address. Optional; nullable. Python type: str | None; wire name: phone_number; JSON type: string

post_code: str | None

Postal or ZIP code. Optional; nullable. Python type: str | None; wire name: post_code; JSON type: string

region: str | None

Region, state, or province. Optional; nullable. Python type: str | None; wire name: region; JSON type: string

@dataclass(frozen=True, slots=True, kw_only=True)
class OwnerInput(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class OwnerInput(ApiRequest):
14    """Parameters accepted by the owner input 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: ``PaymentMethodOwnerInput``.
21    """
22    address: PaymentMethodOwnerInputAddress
23    """The address associated with this owner input. Required. Python type: ``PaymentMethodOwnerInputAddress``; wire name: ``address``; JSON type: object"""
24    name: str
25    """Payment method owner's name. Required. Python type: ``str``; wire name: ``name``; JSON type: string. Constraints: minimum length 1"""

Parameters accepted by the owner input 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: PaymentMethodOwnerInput.

OwnerInput( *, address: OwnerInputAddress, name: str)

The address associated with this owner input. Required. Python type: PaymentMethodOwnerInputAddress; wire name: address; JSON type: object

name: str

Payment method owner's name. Required. Python type: str; wire name: name; JSON type: string. Constraints: minimum length 1

@dataclass(frozen=True, slots=True, kw_only=True)
class OwnerInputAddress(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class OwnerInputAddress(ApiRequest):
14    """Parameters accepted by the owner input address 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: ``PaymentMethodOwnerInputAddress``.
21    """
22    city: str | UnsetType = field(default=UNSET)
23    """The city associated with this owner input address. Optional. Python type: ``str``; wire name: ``city``; JSON type: string"""
24    line1: str | UnsetType = field(default=UNSET)
25    """The line1 associated with this owner input address. Optional. Python type: ``str``; wire name: ``line1``; JSON type: string"""
26    line2: str | UnsetType = field(default=UNSET)
27    """The line2 associated with this owner input address. Optional. Python type: ``str``; wire name: ``line2``; JSON type: string"""
28    name: str | UnsetType = field(default=UNSET)
29    """Human-readable name of the owner input address. Optional. Python type: ``str``; wire name: ``name``; JSON type: string"""
30    phone_number: str | UnsetType = field(default=UNSET)
31    """Customer or recipient phone number in international form. Optional. Python type: ``str``; wire name: ``phone_number``; JSON type: string"""
32    post_code: str | UnsetType = field(default=UNSET)
33    """The post code associated with this owner input address. Optional. Python type: ``str``; wire name: ``post_code``; JSON type: string"""
34    region: str | UnsetType = field(default=UNSET)
35    """The region associated with this owner input address. Optional. Python type: ``str``; wire name: ``region``; JSON type: string"""
36    country: str
37    """Country associated with the owner address. Required. Python type: ``str``; wire name: ``country``; JSON type: string. Constraints: minimum length 1"""

Parameters accepted by the owner input address 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: PaymentMethodOwnerInputAddress.

OwnerInputAddress( *, city: str | inttegro._request_base.UnsetType = UNSET, line1: str | inttegro._request_base.UnsetType = UNSET, line2: str | inttegro._request_base.UnsetType = UNSET, name: str | inttegro._request_base.UnsetType = UNSET, phone_number: str | inttegro._request_base.UnsetType = UNSET, post_code: str | inttegro._request_base.UnsetType = UNSET, region: str | inttegro._request_base.UnsetType = UNSET, country: str)
city: str | inttegro._request_base.UnsetType

The city associated with this owner input address. Optional. Python type: str; wire name: city; JSON type: string

line1: str | inttegro._request_base.UnsetType

The line1 associated with this owner input address. Optional. Python type: str; wire name: line1; JSON type: string

line2: str | inttegro._request_base.UnsetType

The line2 associated with this owner input address. Optional. Python type: str; wire name: line2; JSON type: string

name: str | inttegro._request_base.UnsetType

Human-readable name of the owner input address. Optional. Python type: str; wire name: name; JSON type: string

phone_number: str | inttegro._request_base.UnsetType

Customer or recipient phone number in international form. Optional. Python type: str; wire name: phone_number; JSON type: string

post_code: str | inttegro._request_base.UnsetType

The post code associated with this owner input address. Optional. Python type: str; wire name: post_code; JSON type: string

region: str | inttegro._request_base.UnsetType

The region associated with this owner input address. Optional. Python type: str; wire name: region; JSON type: string

country: str

Country associated with the owner address. Required. Python type: str; wire name: country; JSON type: string. Constraints: minimum length 1

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Page(inttegro._model_base.ApiModel):
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: ``PaymentMethodPage``.
23    """
24    number: int = field(init=False)
25    """The page number returned. Required. Python type: ``int``; wire name: ``number``; JSON type: integer"""
26    payment_methods: list[PaymentMethod] = field(init=False)
27    """The payment methods associated with this page. Required. Python type: ``list[PaymentMethod]``; wire name: ``payment_methods``; JSON type: array of object (PaymentMethodObject) values"""
28    size: int = field(init=False)
29    """The number of payment methods in this page. 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: PaymentMethodPage.

number: int

The page number returned. Required. Python type: int; wire name: number; JSON type: integer

payment_methods: list[PaymentMethod]

The payment methods associated with this page. Required. Python type: list[PaymentMethod]; wire name: payment_methods; JSON type: array of object (PaymentMethodObject) values

size: int

The number of payment methods in this page. Required. Python type: int; wire name: size; JSON type: integer

@dataclass(frozen=True, slots=True, kw_only=True)
class PageRequest(inttegro._request_base.ApiRequest):
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: ``PaymentMethodPageRequest``.
21    """
22    customer_id: str | UnsetType = field(default=UNSET)
23    """Optional customer ID to scope the page to a single customer. Optional. Python type: ``str``; wire name: ``customer_id``; JSON type: string"""
24    page_number: int | UnsetType = field(default=UNSET)
25    """Page index to fetch. `0` is accepted and normalized to page 1; returned pages are numbered 1-10. Optional. Python type: ``int``; wire name: ``page_number``; JSON type: integer. Constraints: minimum 0; maximum 10"""
26    page_size: int | UnsetType = field(default=UNSET)
27    """Number of payment methods per page (1-256). Optional. Python type: ``int``; wire name: ``page_size``; JSON type: integer. Constraints: minimum 1; maximum 256"""

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: PaymentMethodPageRequest.

PageRequest( *, customer_id: str | inttegro._request_base.UnsetType = UNSET, page_number: int | inttegro._request_base.UnsetType = UNSET, page_size: int | inttegro._request_base.UnsetType = UNSET)
customer_id: str | inttegro._request_base.UnsetType

Optional customer ID to scope the page to a single customer. Optional. Python type: str; wire name: customer_id; JSON type: string

page_number: int | inttegro._request_base.UnsetType

Page index to fetch. 0 is accepted and normalized to page 1; returned pages are numbered 1-10. Optional. Python type: int; wire name: page_number; JSON type: integer. Constraints: minimum 0; maximum 10

page_size: int | inttegro._request_base.UnsetType

Number of payment methods per page (1-256). Optional. Python type: int; wire name: page_size; JSON type: integer. Constraints: minimum 1; maximum 256

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class PageResponse(inttegro._model_base.ApiModel):
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: ``PaymentMethodPageResponse``.
23    """
24    page: PaymentMethodPage = field(init=False)
25    """Numeric page used by this operation. Required. Python type: ``PaymentMethodPage``; 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: PaymentMethodPageResponse.

page: Page

Numeric page used by this operation. Required. Python type: PaymentMethodPage; wire name: page; JSON type: object

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class PaymentMethod(inttegro._model_base.ApiModel):
14@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
15class PaymentMethod(ApiModel):
16    """A tokenized payment instrument tied to a customer.
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    active: bool = field(init=False)
25    """Whether this payment method is active and reusable in new payment flows. Required. Python type: ``bool``; wire name: ``active``; JSON type: boolean"""
26    archived_at: datetime | None = field(init=False)
27    """Timestamp when the payment method was archived. Omitted while unarchived. Optional; nullable. Python type: ``datetime | None``; wire name: ``archived_at``; JSON type: string (date-time)"""
28    bank_account: PaymentMethodBankAccount | None = field(init=False)
29    """Bank account details (present when type is bank_account). Optional; nullable. Python type: ``PaymentMethodBankAccount | None``; wire name: ``bank_account``; JSON type: object"""
30    card: PaymentMethodCard | None = field(init=False)
31    """Card marker. Nested card credentials are not returned. Optional; nullable. Python type: ``PaymentMethodCard | None``; wire name: ``card``; JSON type: object (PaymentMethodCard)"""
32    created_at: datetime = field(init=False)
33    """When this payment method was tokenized. Required. Python type: ``datetime``; wire name: ``created_at``; JSON type: string (date-time)"""
34    custom_data: CustomData | None = field(init=False)
35    """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)"""
36    customer_id: str = field(init=False)
37    """Customer who owns this payment method. Required. Python type: ``str``; wire name: ``customer_id``; JSON type: string"""
38    ephemeral: bool | None = field(init=False)
39    """Whether the method is limited to its originating flow and cannot be reused. Optional; nullable. Python type: ``bool | None``; wire name: ``ephemeral``; JSON type: boolean"""
40    expires_on: datetime | None = field(init=False)
41    """When this payment method expires. Omitted when no expiry is available. Optional; nullable. Python type: ``datetime | None``; wire name: ``expires_on``; JSON type: string (date-time)"""
42    fingerprint: str = field(init=False)
43    """App-customer-local fingerprint. Required; empty when unavailable. Python type: ``str``; wire name: ``fingerprint``; JSON type: string"""
44    id: str = field(init=False)
45    """Unique identifier for this payment method. Required. Python type: ``str``; wire name: ``id``; JSON type: string"""
46    mobile_money: PaymentMethodMobileMoney | None = field(init=False)
47    """Masked mobile-money wallet details (present when type is mobile_money). Optional; nullable. Python type: ``PaymentMethodMobileMoney | None``; wire name: ``mobile_money``; JSON type: object"""
48    owner: PaymentMethodOwner | None = field(init=False)
49    """Owner identity captured during tokenization when provided. Optional; nullable. Python type: ``PaymentMethodOwner | None``; wire name: ``owner``; JSON type: object"""
50    type: Literal['mobile_money', 'bank_account', 'card', 'motito'] = field(init=False)
51    """Payment rail type. Required. Python type: ``Literal['mobile_money', 'bank_account', 'card', 'motito']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``mobile_money``, ``bank_account``, ``card``, ``motito``"""
52    supplied: PaymentMethodSupplied | None = field(init=False)
53    """Public provenance for how the payment method was supplied. Optional; nullable. Python type: ``PaymentMethodSupplied | None``; wire name: ``supplied``; JSON type: object"""
54    verification: PaymentMethodVerification | None = field(init=False)
55    """Most recent verification record when the payment method has entered a verification flow. Optional; nullable. Python type: ``PaymentMethodVerification | None``; wire name: ``verification``; JSON type: object"""
56    verified_at: datetime | None = field(init=False)
57    """When ownership verification was completed. Optional; nullable. Python type: ``datetime | None``; wire name: ``verified_at``; JSON type: string (date-time)"""
58
59    def is_archived(self) -> bool:
60        """Whether the payment method is archived."""
61        return getattr(self, "archived_at", None) is not None
62
63    def is_verified(self) -> bool:
64        """Whether payment-method ownership has been verified."""
65        return getattr(self, "verified_at", None) is not None
66
67    def is_reusable(self) -> bool:
68        """Whether the payment method may be reused in new payment flows."""
69        return self.active and not self.is_archived() and getattr(self, "ephemeral", False) is not True

A tokenized payment instrument tied to a customer.

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.

active: bool

Whether this payment method is active and reusable in new payment flows. Required. Python type: bool; wire name: active; JSON type: boolean

archived_at: datetime.datetime | None

Timestamp when the payment method was archived. Omitted while unarchived. Optional; nullable. Python type: datetime | None; wire name: archived_at; JSON type: string (date-time)

bank_account: BankAccount | None

Bank account details (present when type is bank_account). Optional; nullable. Python type: PaymentMethodBankAccount | None; wire name: bank_account; JSON type: object

card: Card | None

Card marker. Nested card credentials are not returned. Optional; nullable. Python type: PaymentMethodCard | None; wire name: card; JSON type: object (PaymentMethodCard)

created_at: datetime.datetime

When this payment method was tokenized. Required. Python type: datetime; wire name: created_at; JSON type: string (date-time)

custom_data: inttegro.CustomData | None

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)

customer_id: str

Customer who owns this payment method. Required. Python type: str; wire name: customer_id; JSON type: string

ephemeral: bool | None

Whether the method is limited to its originating flow and cannot be reused. Optional; nullable. Python type: bool | None; wire name: ephemeral; JSON type: boolean

expires_on: datetime.datetime | None

When this payment method expires. Omitted when no expiry is available. Optional; nullable. Python type: datetime | None; wire name: expires_on; JSON type: string (date-time)

fingerprint: str

App-customer-local fingerprint. Required; empty when unavailable. Python type: str; wire name: fingerprint; JSON type: string

id: str

Unique identifier for this payment method. Required. Python type: str; wire name: id; JSON type: string

mobile_money: MobileMoney | None

Masked mobile-money wallet details (present when type is mobile_money). Optional; nullable. Python type: PaymentMethodMobileMoney | None; wire name: mobile_money; JSON type: object

owner: Owner | None

Owner identity captured during tokenization when provided. Optional; nullable. Python type: PaymentMethodOwner | None; wire name: owner; JSON type: object

type: Literal['mobile_money', 'bank_account', 'card', 'motito']

Payment rail type. Required. Python type: Literal['mobile_money', 'bank_account', 'card', 'motito']; wire name: type; JSON type: string. Constraints: allowed values mobile_money, bank_account, card, motito

supplied: Supplied | None

Public provenance for how the payment method was supplied. Optional; nullable. Python type: PaymentMethodSupplied | None; wire name: supplied; JSON type: object

verification: Verification | None

Most recent verification record when the payment method has entered a verification flow. Optional; nullable. Python type: PaymentMethodVerification | None; wire name: verification; JSON type: object

verified_at: datetime.datetime | None

When ownership verification was completed. Optional; nullable. Python type: datetime | None; wire name: verified_at; JSON type: string (date-time)

def is_archived(self) -> bool:
59    def is_archived(self) -> bool:
60        """Whether the payment method is archived."""
61        return getattr(self, "archived_at", None) is not None

Whether the payment method is archived.

def is_verified(self) -> bool:
63    def is_verified(self) -> bool:
64        """Whether payment-method ownership has been verified."""
65        return getattr(self, "verified_at", None) is not None

Whether payment-method ownership has been verified.

def is_reusable(self) -> bool:
67    def is_reusable(self) -> bool:
68        """Whether the payment method may be reused in new payment flows."""
69        return self.active and not self.is_archived() and getattr(self, "ephemeral", False) is not True

Whether the payment method may be reused in new payment flows.

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Settings(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Settings(ApiModel):
14    """Payment method acceptance configuration for an application.
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: ``PaymentMethodSettings``.
23    """
24    mobile_money: PaymentMethodTypeSetting | None = field(init=False)
25    """Settings for a specific payment method type. Optional; nullable. Python type: ``PaymentMethodTypeSetting | None``; wire name: ``mobile_money``; JSON type: object (PaymentMethodTypeSetting)"""
26    bank_account: PaymentMethodTypeSetting | None = field(init=False)
27    """Settings for a specific payment method type. Optional; nullable. Python type: ``PaymentMethodTypeSetting | None``; wire name: ``bank_account``; JSON type: object (PaymentMethodTypeSetting)"""
28    card: PaymentMethodTypeSetting | None = field(init=False)
29    """Settings for a specific payment method type. Optional; nullable. Python type: ``PaymentMethodTypeSetting | None``; wire name: ``card``; JSON type: object (PaymentMethodTypeSetting)"""
30    motito: PaymentMethodTypeSetting | None = field(init=False)
31    """Settings for a specific payment method type. Optional; nullable. Python type: ``PaymentMethodTypeSetting | None``; wire name: ``motito``; JSON type: object (PaymentMethodTypeSetting)"""

Payment method acceptance configuration for an application.

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: PaymentMethodSettings.

mobile_money: TypeSetting | None

Settings for a specific payment method type. Optional; nullable. Python type: PaymentMethodTypeSetting | None; wire name: mobile_money; JSON type: object (PaymentMethodTypeSetting)

bank_account: TypeSetting | None

Settings for a specific payment method type. Optional; nullable. Python type: PaymentMethodTypeSetting | None; wire name: bank_account; JSON type: object (PaymentMethodTypeSetting)

card: TypeSetting | None

Settings for a specific payment method type. Optional; nullable. Python type: PaymentMethodTypeSetting | None; wire name: card; JSON type: object (PaymentMethodTypeSetting)

motito: TypeSetting | None

Settings for a specific payment method type. Optional; nullable. Python type: PaymentMethodTypeSetting | None; wire name: motito; JSON type: object (PaymentMethodTypeSetting)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Supplied(inttegro._model_base.ApiModel):
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
14class Supplied(ApiModel):
15    """Public provenance for how the payment method was supplied.
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: ``PaymentMethodSupplied``.
24    """
25    attempt_id: str | None = field(init=False)
26    """Identifier of the related attempt. Optional; nullable. Python type: ``str | None``; wire name: ``attempt_id``; JSON type: string"""
27    by: str = field(init=False)
28    """The by associated with this supplied. Required. Python type: ``str``; wire name: ``by``; JSON type: string"""
29    channel: str | None = field(init=False)
30    """The channel associated with this supplied. Optional; nullable. Python type: ``str | None``; wire name: ``channel``; JSON type: string"""
31    resource_id: str | None = field(init=False)
32    """Identifier of the related resource. Optional; nullable. Python type: ``str | None``; wire name: ``resource_id``; JSON type: string"""
33    resource_type: str | None = field(init=False)
34    """The resource type associated with this supplied. Optional; nullable. Python type: ``str | None``; wire name: ``resource_type``; JSON type: string"""
35    supplied_at: datetime = field(init=False)
36    """Timestamp for supplied at. Required. Python type: ``datetime``; wire name: ``supplied_at``; JSON type: string (date-time)"""

Public provenance for how the payment method was supplied.

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: PaymentMethodSupplied.

attempt_id: str | None

Identifier of the related attempt. Optional; nullable. Python type: str | None; wire name: attempt_id; JSON type: string

by: str

The by associated with this supplied. Required. Python type: str; wire name: by; JSON type: string

channel: str | None

The channel associated with this supplied. Optional; nullable. Python type: str | None; wire name: channel; JSON type: string

resource_id: str | None

Identifier of the related resource. Optional; nullable. Python type: str | None; wire name: resource_id; JSON type: string

resource_type: str | None

The resource type associated with this supplied. Optional; nullable. Python type: str | None; wire name: resource_type; JSON type: string

supplied_at: datetime.datetime

Timestamp for supplied at. Required. Python type: datetime; wire name: supplied_at; JSON type: string (date-time)

@dataclass(frozen=True, slots=True, kw_only=True)
class TokenizeMobileMoneyRequest(inttegro._request_base.ApiRequest):
13@dataclass(frozen=True, slots=True, kw_only=True)
14class TokenizeMobileMoneyRequest(ApiRequest):
15    """Parameters accepted by the tokenize mobile money 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: ``TokenizeMobileMoneyPaymentMethodRequest``.
22    """
23    custom_data: CustomData | UnsetType = field(default=UNSET)
24    """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional. Python type: ``CustomData``; wire name: ``custom_data``; JSON type: object (CustomData)"""
25    customer_id: str
26    """Existing customer in the authenticated application who will own the payment method. Required. Python type: ``str``; wire name: ``customer_id``; JSON type: string. Constraints: minimum length 1"""
27    type: Literal['mobile_money', PaymentMethodType.MOBILE_MONEY]
28    """Discriminator identifying the tokenize mobile money request type. Required. Python type: ``Literal['mobile_money', PaymentMethodType.MOBILE_MONEY]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``mobile_money``"""
29    mobile_money: TokenizeMobileMoneyPaymentMethodRequestMobileMoney
30    """The mobile money associated with this tokenize mobile money request. Required. Python type: ``TokenizeMobileMoneyPaymentMethodRequestMobileMoney``; wire name: ``mobile_money``; JSON type: object"""
31    owner: PaymentMethodOwnerInput
32    """The owner associated with this tokenize mobile money request. Required. Python type: ``PaymentMethodOwnerInput``; wire name: ``owner``; JSON type: object (PaymentMethodOwnerInput)"""

Parameters accepted by the tokenize mobile money 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: TokenizeMobileMoneyPaymentMethodRequest.

TokenizeMobileMoneyRequest( *, custom_data: inttegro.CustomData | inttegro._request_base.UnsetType = UNSET, customer_id: str, type: Literal['mobile_money', <Type.MOBILE_MONEY: 'mobile_money'>], mobile_money: TokenizeMobileMoneyRequestMobileMoney, owner: OwnerInput)
custom_data: inttegro.CustomData | inttegro._request_base.UnsetType

Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional. Python type: CustomData; wire name: custom_data; JSON type: object (CustomData)

customer_id: str

Existing customer in the authenticated application who will own the payment method. Required. Python type: str; wire name: customer_id; JSON type: string. Constraints: minimum length 1

type: Literal['mobile_money', <Type.MOBILE_MONEY: 'mobile_money'>]

Discriminator identifying the tokenize mobile money request type. Required. Python type: Literal['mobile_money', PaymentMethodType.MOBILE_MONEY]; wire name: type; JSON type: string. Constraints: allowed values mobile_money

The mobile money associated with this tokenize mobile money request. Required. Python type: TokenizeMobileMoneyPaymentMethodRequestMobileMoney; wire name: mobile_money; JSON type: object

owner: OwnerInput

The owner associated with this tokenize mobile money request. Required. Python type: PaymentMethodOwnerInput; wire name: owner; JSON type: object (PaymentMethodOwnerInput)

@dataclass(frozen=True, slots=True, kw_only=True)
class TokenizeMobileMoneyRequestMobileMoney(inttegro._request_base.ApiRequest):
13@dataclass(frozen=True, slots=True, kw_only=True)
14class TokenizeMobileMoneyRequestMobileMoney(ApiRequest):
15    """Parameters accepted by the tokenize mobile money request mobile money 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: ``TokenizeMobileMoneyPaymentMethodRequestMobileMoney``.
22    """
23    account_number: str
24    """Mobile-money number in a valid local or international phone-number format. Required. Python type: ``str``; wire name: ``account_number``; JSON type: string. Constraints: minimum length 1"""
25    network: Literal['airtel', 'mtn', 'telecel', 'vodafone', MobileMoneyNetwork.AIRTEL, MobileMoneyNetwork.MTN, MobileMoneyNetwork.TELECEL, MobileMoneyNetwork.VODAFONE]
26    """The network associated with this tokenize mobile money request mobile money. Required. Python type: ``Literal['airtel', 'mtn', 'telecel', 'vodafone', MobileMoneyNetwork.AIRTEL, MobileMoneyNetwork.MTN, MobileMoneyNetwork.TELECEL, MobileMoneyNetwork.VODAFONE]``; wire name: ``network``; JSON type: string. Constraints: allowed values ``airtel``, ``mtn``, ``telecel``, ``vodafone``"""

Parameters accepted by the tokenize mobile money request mobile money 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: TokenizeMobileMoneyPaymentMethodRequestMobileMoney.

TokenizeMobileMoneyRequestMobileMoney( *, account_number: str, network: Literal['airtel', 'mtn', 'telecel', 'vodafone', <MobileMoneyNetwork.AIRTEL: 'airtel'>, <MobileMoneyNetwork.MTN: 'mtn'>, <MobileMoneyNetwork.TELECEL: 'telecel'>, <MobileMoneyNetwork.VODAFONE: 'vodafone'>])
account_number: str

Mobile-money number in a valid local or international phone-number format. Required. Python type: str; wire name: account_number; JSON type: string. Constraints: minimum length 1

network: Literal['airtel', 'mtn', 'telecel', 'vodafone', <MobileMoneyNetwork.AIRTEL: 'airtel'>, <MobileMoneyNetwork.MTN: 'mtn'>, <MobileMoneyNetwork.TELECEL: 'telecel'>, <MobileMoneyNetwork.VODAFONE: 'vodafone'>]

The network associated with this tokenize mobile money request mobile money. Required. Python type: Literal['airtel', 'mtn', 'telecel', 'vodafone', MobileMoneyNetwork.AIRTEL, MobileMoneyNetwork.MTN, MobileMoneyNetwork.TELECEL, MobileMoneyNetwork.VODAFONE]; wire name: network; JSON type: string. Constraints: allowed values airtel, mtn, telecel, vodafone

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class TokenizeResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class TokenizeResponse(ApiModel):
14    """Payment information if payment was initiated.
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: ``TokenizePaymentMethodResponse``.
23    """
24    payment_method: PaymentMethod | None = field(init=False)
25    """A tokenized payment instrument tied to a customer. Required; nullable. Python type: ``PaymentMethod | None``; wire name: ``payment_method``; JSON type: object (PaymentMethodObject)"""

Payment information if payment was initiated.

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: TokenizePaymentMethodResponse.

payment_method: PaymentMethod | None

A tokenized payment instrument tied to a customer. Required; nullable. Python type: PaymentMethod | None; wire name: payment_method; JSON type: object (PaymentMethodObject)

class Type(inttegro._enum_base.WireEnum):
11class Type(WireEnum):
12    """Payment method type.
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: ``PaymentMethodType``.
18    """
19    MOBILE_MONEY = "mobile_money"
20    """Wire value ``mobile_money`` (mobile money) for payment method type"""
21    BANK_ACCOUNT = "bank_account"
22    """Wire value ``bank_account`` (bank account) for payment method type"""
23    CARD = "card"
24    """Wire value ``card`` (card) for payment method type"""
25    MOTITO = "motito"
26    """Wire value ``motito`` (motito) for payment method type"""

Payment method type.

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: PaymentMethodType.

MOBILE_MONEY = <Type.MOBILE_MONEY: 'mobile_money'>

Wire value mobile_money (mobile money) for payment method type

BANK_ACCOUNT = <Type.BANK_ACCOUNT: 'bank_account'>

Wire value bank_account (bank account) for payment method type

CARD = <Type.CARD: 'card'>

Wire value card (card) for payment method type

MOTITO = <Type.MOTITO: 'motito'>

Wire value motito (motito) for payment method type

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class TypeSetting(inttegro._model_base.ApiModel):
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
14class TypeSetting(ApiModel):
15    """Settings for a specific payment method type.
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: ``PaymentMethodTypeSetting``.
24    """
25    type: Literal['mobile_money', 'bank_account', 'card', 'motito'] | None = field(init=False)
26    """Payment method type. Optional; nullable. Python type: ``Literal['mobile_money', 'bank_account', 'card', 'motito'] | None``; wire name: ``type``; JSON type: string. Constraints: allowed values ``mobile_money``, ``bank_account``, ``card``, ``motito``"""
27    name: str | None = field(init=False)
28    """Human-readable name. Optional; nullable. Python type: ``str | None``; wire name: ``name``; JSON type: string"""
29    description: str | None = field(init=False)
30    """Description of this payment method. Optional; nullable. Python type: ``str | None``; wire name: ``description``; JSON type: string"""
31    enabled: bool = field(init=False)
32    """Whether this payment type can be used. Required. Python type: ``bool``; wire name: ``enabled``; JSON type: boolean"""
33    confirms_use: bool = field(init=False)
34    """Whether customers must explicitly agree before using. Required. Python type: ``bool``; wire name: ``confirms_use``; JSON type: boolean"""

Settings for a specific payment method type.

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: PaymentMethodTypeSetting.

type: Optional[Literal['mobile_money', 'bank_account', 'card', 'motito']]

Payment method type. Optional; nullable. Python type: Literal['mobile_money', 'bank_account', 'card', 'motito'] | None; wire name: type; JSON type: string. Constraints: allowed values mobile_money, bank_account, card, motito

name: str | None

Human-readable name. Optional; nullable. Python type: str | None; wire name: name; JSON type: string

description: str | None

Description of this payment method. Optional; nullable. Python type: str | None; wire name: description; JSON type: string

enabled: bool

Whether this payment type can be used. Required. Python type: bool; wire name: enabled; JSON type: boolean

confirms_use: bool

Whether customers must explicitly agree before using. Required. Python type: bool; wire name: confirms_use; JSON type: boolean

@dataclass(frozen=True, slots=True, kw_only=True)
class UnarchiveRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class UnarchiveRequest(ApiRequest):
14    """Parameters accepted by the unarchive 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: ``UnarchivePaymentMethodRequest``.
21    """
22    payment_method_id: str
23    """Identifier of the related payment method. Required. Python type: ``str``; wire name: ``payment_method_id``; JSON type: string"""

Parameters accepted by the unarchive 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: UnarchivePaymentMethodRequest.

UnarchiveRequest(*, payment_method_id: str)
payment_method_id: str

Identifier of the related payment method. Required. Python type: str; wire name: payment_method_id; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class UnarchiveResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class UnarchiveResponse(ApiModel):
14    """Payment information if payment was initiated.
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: ``UnarchivePaymentMethodResponse``.
23    """
24    payment_method: PaymentMethod | None = field(init=False)
25    """A tokenized payment instrument tied to a customer. Required; nullable. Python type: ``PaymentMethod | None``; wire name: ``payment_method``; JSON type: object (PaymentMethodObject)"""

Payment information if payment was initiated.

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: UnarchivePaymentMethodResponse.

payment_method: PaymentMethod | None

A tokenized payment instrument tied to a customer. Required; nullable. Python type: PaymentMethod | None; wire name: payment_method; JSON type: object (PaymentMethodObject)

@dataclass(frozen=True, slots=True, kw_only=True)
class UpdateRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class UpdateRequest(ApiRequest):
14    """A tokenized payment instrument tied to a customer.
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: ``UpdatePaymentMethodRequest``.
21    """
22    custom_data: CustomData | UnsetType = field(default=UNSET)
23    """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``; wire name: ``custom_data``; JSON type: object (CustomData)"""
24    active: bool | UnsetType = field(default=UNSET)
25    """Whether this payment method is active and reusable in new payment flows. Optional. Python type: ``bool``; wire name: ``active``; JSON type: boolean"""
26    archived: bool | UnsetType = field(default=UNSET)
27    """Whether archived. Optional. Python type: ``bool``; wire name: ``archived``; JSON type: boolean"""
28    owner: UpdatePaymentMethodRequestOwner | UnsetType = field(default=UNSET)
29    """Owner identity captured during tokenization when provided. Optional. Python type: ``UpdatePaymentMethodRequestOwner``; wire name: ``owner``; JSON type: object"""
30    payment_method_id: str
31    """Identifier of the related payment method. Required. Python type: ``str``; wire name: ``payment_method_id``; JSON type: string"""

A tokenized payment instrument tied to a customer.

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: UpdatePaymentMethodRequest.

UpdateRequest( *, custom_data: inttegro.CustomData | inttegro._request_base.UnsetType = UNSET, active: bool | inttegro._request_base.UnsetType = UNSET, archived: bool | inttegro._request_base.UnsetType = UNSET, owner: UpdateRequestOwner | inttegro._request_base.UnsetType = UNSET, payment_method_id: str)
custom_data: inttegro.CustomData | inttegro._request_base.UnsetType

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; wire name: custom_data; JSON type: object (CustomData)

active: bool | inttegro._request_base.UnsetType

Whether this payment method is active and reusable in new payment flows. Optional. Python type: bool; wire name: active; JSON type: boolean

archived: bool | inttegro._request_base.UnsetType

Whether archived. Optional. Python type: bool; wire name: archived; JSON type: boolean

owner: UpdateRequestOwner | inttegro._request_base.UnsetType

Owner identity captured during tokenization when provided. Optional. Python type: UpdatePaymentMethodRequestOwner; wire name: owner; JSON type: object

payment_method_id: str

Identifier of the related payment method. Required. Python type: str; wire name: payment_method_id; JSON type: string

@dataclass(frozen=True, slots=True, kw_only=True)
class UpdateRequestOwner(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class UpdateRequestOwner(ApiRequest):
14    """Parameters accepted by the update request owner 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: ``UpdatePaymentMethodRequestOwner``.
21    """
22    name: str | UnsetType = field(default=UNSET)
23    """Payment method owner's name. Optional. Python type: ``str``; wire name: ``name``; JSON type: string. Constraints: minimum length 1"""
24    address: UpdatePaymentMethodRequestOwnerAddress | UnsetType = field(default=UNSET)
25    """The address associated with this update request owner. Optional. Python type: ``UpdatePaymentMethodRequestOwnerAddress``; wire name: ``address``; JSON type: object"""

Parameters accepted by the update request owner 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: UpdatePaymentMethodRequestOwner.

UpdateRequestOwner( *, name: str | inttegro._request_base.UnsetType = UNSET, address: UpdateRequestOwnerAddress | inttegro._request_base.UnsetType = UNSET)
name: str | inttegro._request_base.UnsetType

Payment method owner's name. Optional. Python type: str; wire name: name; JSON type: string. Constraints: minimum length 1

address: UpdateRequestOwnerAddress | inttegro._request_base.UnsetType

The address associated with this update request owner. Optional. Python type: UpdatePaymentMethodRequestOwnerAddress; wire name: address; JSON type: object

@dataclass(frozen=True, slots=True, kw_only=True)
class UpdateRequestOwnerAddress(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class UpdateRequestOwnerAddress(ApiRequest):
14    """Parameters accepted by the update request owner address 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: ``UpdatePaymentMethodRequestOwnerAddress``.
21    """
22    city: str | UnsetType = field(default=UNSET)
23    """The city associated with this update request owner address. Optional. Python type: ``str``; wire name: ``city``; JSON type: string"""
24    country: str | UnsetType = field(default=UNSET)
25    """Country associated with the owner address. Optional. Python type: ``str``; wire name: ``country``; JSON type: string. Constraints: minimum length 1"""
26    line1: str | UnsetType = field(default=UNSET)
27    """The line1 associated with this update request owner address. Optional. Python type: ``str``; wire name: ``line1``; JSON type: string"""
28    line2: str | UnsetType = field(default=UNSET)
29    """The line2 associated with this update request owner address. Optional. Python type: ``str``; wire name: ``line2``; JSON type: string"""
30    name: str | UnsetType = field(default=UNSET)
31    """Human-readable name of the update request owner address. Optional. Python type: ``str``; wire name: ``name``; JSON type: string"""
32    phone_number: str | UnsetType = field(default=UNSET)
33    """Customer or recipient phone number in international form. Optional. Python type: ``str``; wire name: ``phone_number``; JSON type: string"""
34    post_code: str | UnsetType = field(default=UNSET)
35    """The post code associated with this update request owner address. Optional. Python type: ``str``; wire name: ``post_code``; JSON type: string"""
36    region: str | UnsetType = field(default=UNSET)
37    """The region associated with this update request owner address. Optional. Python type: ``str``; wire name: ``region``; JSON type: string"""

Parameters accepted by the update request owner address 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: UpdatePaymentMethodRequestOwnerAddress.

UpdateRequestOwnerAddress( *, city: str | inttegro._request_base.UnsetType = UNSET, country: str | inttegro._request_base.UnsetType = UNSET, line1: str | inttegro._request_base.UnsetType = UNSET, line2: str | inttegro._request_base.UnsetType = UNSET, name: str | inttegro._request_base.UnsetType = UNSET, phone_number: str | inttegro._request_base.UnsetType = UNSET, post_code: str | inttegro._request_base.UnsetType = UNSET, region: str | inttegro._request_base.UnsetType = UNSET)
city: str | inttegro._request_base.UnsetType

The city associated with this update request owner address. Optional. Python type: str; wire name: city; JSON type: string

country: str | inttegro._request_base.UnsetType

Country associated with the owner address. Optional. Python type: str; wire name: country; JSON type: string. Constraints: minimum length 1

line1: str | inttegro._request_base.UnsetType

The line1 associated with this update request owner address. Optional. Python type: str; wire name: line1; JSON type: string

line2: str | inttegro._request_base.UnsetType

The line2 associated with this update request owner address. Optional. Python type: str; wire name: line2; JSON type: string

name: str | inttegro._request_base.UnsetType

Human-readable name of the update request owner address. Optional. Python type: str; wire name: name; JSON type: string

phone_number: str | inttegro._request_base.UnsetType

Customer or recipient phone number in international form. Optional. Python type: str; wire name: phone_number; JSON type: string

post_code: str | inttegro._request_base.UnsetType

The post code associated with this update request owner address. Optional. Python type: str; wire name: post_code; JSON type: string

region: str | inttegro._request_base.UnsetType

The region associated with this update request owner address. Optional. Python type: str; wire name: region; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class UpdateResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class UpdateResponse(ApiModel):
14    """Payment information if payment was initiated.
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: ``UpdatePaymentMethodResponse``.
23    """
24    payment_method: PaymentMethod | None = field(init=False)
25    """A tokenized payment instrument tied to a customer. Required; nullable. Python type: ``PaymentMethod | None``; wire name: ``payment_method``; JSON type: object (PaymentMethodObject)"""

Payment information if payment was initiated.

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: UpdatePaymentMethodResponse.

payment_method: PaymentMethod | None

A tokenized payment instrument tied to a customer. Required; nullable. Python type: PaymentMethod | None; wire name: payment_method; JSON type: object (PaymentMethodObject)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Verification(inttegro._model_base.ApiModel):
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
14class Verification(ApiModel):
15    """Most recent verification record when the payment method has entered a verification flow.
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: ``PaymentMethodVerification``.
24    """
25    completed_at: datetime | None = field(init=False)
26    """When verification was completed. Optional; nullable. Python type: ``datetime | None``; wire name: ``completed_at``; JSON type: string (date-time)"""
27    initiated_at: datetime = field(init=False)
28    """When verification was initiated. Required. Python type: ``datetime``; wire name: ``initiated_at``; JSON type: string (date-time)"""
29    mechanism: str | None = field(init=False)
30    """Verification mechanism used. Optional; nullable. Python type: ``str | None``; wire name: ``mechanism``; JSON type: string"""
31    request_id: str = field(init=False)
32    """ID of the verification request. Required. Python type: ``str``; wire name: ``request_id``; JSON type: string"""
33    type: str = field(init=False)
34    """Verification type. Required. Python type: ``str``; wire name: ``type``; JSON type: string"""

Most recent verification record when the payment method has entered a verification flow.

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: PaymentMethodVerification.

completed_at: datetime.datetime | None

When verification was completed. Optional; nullable. Python type: datetime | None; wire name: completed_at; JSON type: string (date-time)

initiated_at: datetime.datetime

When verification was initiated. Required. Python type: datetime; wire name: initiated_at; JSON type: string (date-time)

mechanism: str | None

Verification mechanism used. Optional; nullable. Python type: str | None; wire name: mechanism; JSON type: string

request_id: str

ID of the verification request. Required. Python type: str; wire name: request_id; JSON type: string

type: str

Verification type. Required. Python type: str; wire name: type; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class VerificationDelivery(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class VerificationDelivery(ApiModel):
14    """Confirmation request details.
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: ``PaymentMethodVerificationDelivery``.
23    """
24    recipient: str | None = field(init=False)
25    """Recipient of the confirmation token. Required; nullable. Python type: ``str | None``; wire name: ``recipient``; JSON type: string"""
26    channel: str | None = field(init=False)
27    """The channel associated with this verification delivery. Optional; nullable. Python type: ``str | None``; wire name: ``channel``; JSON type: string"""
28    sender_id: str | None = field(init=False)
29    """Sender ID for the message. Required; nullable. Python type: ``str | None``; wire name: ``sender_id``; JSON type: string"""

Confirmation request details.

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: PaymentMethodVerificationDelivery.

recipient: str | None

Recipient of the confirmation token. Required; nullable. Python type: str | None; wire name: recipient; JSON type: string

channel: str | None

The channel associated with this verification delivery. Optional; nullable. Python type: str | None; wire name: channel; JSON type: string

sender_id: str | None

Sender ID for the message. Required; nullable. Python type: str | None; wire name: sender_id; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class VerificationSession(inttegro._model_base.ApiModel):
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
14class VerificationSession(ApiModel):
15    """Public file link metadata. Token hashes and provider URLs are not exposed.
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: ``PaymentMethodVerificationSession``.
24    """
25    payment_method_id: str = field(init=False)
26    """Identifier of the related payment method. Optional. Python type: ``str``; wire name: ``payment_method_id``; JSON type: string"""
27    status: str = field(init=False)
28    """Current lifecycle status of the verification session. Required. Python type: ``str``; wire name: ``status``; JSON type: string. Constraints: allowed values ``active``, ``revoked``, ``expired``, ``disabled``"""
29    token_sent_at: datetime | None = field(init=False)
30    """Timestamp for token sent at. Optional; nullable. Python type: ``datetime | None``; wire name: ``token_sent_at``; JSON type: string (date-time)"""
31    expires_at: datetime | None = field(init=False)
32    """Timestamp for expires at. Required; nullable. Python type: ``datetime | None``; wire name: ``expires_at``; JSON type: string (date-time)"""
33    delivery: PaymentMethodVerificationDelivery | None = field(init=False)
34    """The delivery associated with this verification session. Required; nullable. Python type: ``PaymentMethodVerificationDelivery | None``; wire name: ``delivery``; JSON type: object (FileLinkDelivery)"""

Public file link metadata. Token hashes and provider URLs are not exposed.

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: PaymentMethodVerificationSession.

payment_method_id: str

Identifier of the related payment method. Optional. Python type: str; wire name: payment_method_id; JSON type: string

status: str

Current lifecycle status of the verification session. Required. Python type: str; wire name: status; JSON type: string. Constraints: allowed values active, revoked, expired, disabled

token_sent_at: datetime.datetime | None

Timestamp for token sent at. Optional; nullable. Python type: datetime | None; wire name: token_sent_at; JSON type: string (date-time)

expires_at: datetime.datetime | None

Timestamp for expires at. Required; nullable. Python type: datetime | None; wire name: expires_at; JSON type: string (date-time)

delivery: VerificationDelivery | None

The delivery associated with this verification session. Required; nullable. Python type: PaymentMethodVerificationDelivery | None; wire name: delivery; JSON type: object (FileLinkDelivery)