inttegro.payout
Models, requests, and enums for the Inttegro payout resource.
The primary returned object is inttegro.payout.Payout. 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 payout resource. 2 3The primary returned object is ``inttegro.payout.Payout``. 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 .amount_limits import AmountLimits as AmountLimits 10 from .balance_transaction import BalanceTransaction as BalanceTransaction 11 from .balance_transaction_status import BalanceTransactionStatus as BalanceTransactionStatus 12 from .cancel_request import CancelRequest as CancelRequest 13 from .cancel_response import CancelResponse as CancelResponse 14 from .disable_automatic_request import DisableAutomaticRequest as DisableAutomaticRequest 15 from .disable_automatic_response import DisableAutomaticResponse as DisableAutomaticResponse 16 from .destinations import Destinations as Destinations 17 from .destinations_input import DestinationsInput as DestinationsInput 18 from .enable_automatic_request import EnableAutomaticRequest as EnableAutomaticRequest 19 from .enable_automatic_response import EnableAutomaticResponse as EnableAutomaticResponse 20 from .error import Error as Error 21 from .failure import Failure as Failure 22 from .failure_reason import FailureReason as FailureReason 23 from .get_settings_request import GetSettingsRequest as GetSettingsRequest 24 from .get_settings_response import GetSettingsResponse as GetSettingsResponse 25 from .lookup_request import LookupRequest as LookupRequest 26 from .lookup_response import LookupResponse as LookupResponse 27 from .page import Page as Page 28 from .page_request import PageRequest as PageRequest 29 from .page_response import PageResponse as PageResponse 30 from .payout import Payout as Payout 31 from .set_destinations_request import SetDestinationsRequest as SetDestinationsRequest 32 from .set_destinations_response import SetDestinationsResponse as SetDestinationsResponse 33 from .settings_lookup import SettingsLookup as SettingsLookup 34 from .settings_lookup_schedule import SettingsLookupSchedule as SettingsLookupSchedule 35 from .settings_lookup_schedule_aging_spec import SettingsLookupScheduleAgingSpec as SettingsLookupScheduleAgingSpec 36 from .settings_limits import SettingsLimits as SettingsLimits 37 from .settings_mutation import SettingsMutation as SettingsMutation 38 from .settings_mutation_schedule import SettingsMutationSchedule as SettingsMutationSchedule 39 from .settings_mutation_schedule_spec import SettingsMutationScheduleSpec as SettingsMutationScheduleSpec 40 from .status import Status as Status 41 42 43_EXPORTS: dict[str, tuple[str, str]] = { 44 "AmountLimits": ("inttegro.payout.amount_limits", "AmountLimits"), 45 "BalanceTransaction": ("inttegro.payout.balance_transaction", "BalanceTransaction"), 46 "BalanceTransactionStatus": ("inttegro.payout.balance_transaction_status", "BalanceTransactionStatus"), 47 "CancelRequest": ("inttegro.payout.cancel_request", "CancelRequest"), 48 "CancelResponse": ("inttegro.payout.cancel_response", "CancelResponse"), 49 "DisableAutomaticRequest": ("inttegro.payout.disable_automatic_request", "DisableAutomaticRequest"), 50 "DisableAutomaticResponse": ("inttegro.payout.disable_automatic_response", "DisableAutomaticResponse"), 51 "Destinations": ("inttegro.payout.destinations", "Destinations"), 52 "DestinationsInput": ("inttegro.payout.destinations_input", "DestinationsInput"), 53 "EnableAutomaticRequest": ("inttegro.payout.enable_automatic_request", "EnableAutomaticRequest"), 54 "EnableAutomaticResponse": ("inttegro.payout.enable_automatic_response", "EnableAutomaticResponse"), 55 "Error": ("inttegro.payout.error", "Error"), 56 "Failure": ("inttegro.payout.failure", "Failure"), 57 "FailureReason": ("inttegro.payout.failure_reason", "FailureReason"), 58 "GetSettingsRequest": ("inttegro.payout.get_settings_request", "GetSettingsRequest"), 59 "GetSettingsResponse": ("inttegro.payout.get_settings_response", "GetSettingsResponse"), 60 "LookupRequest": ("inttegro.payout.lookup_request", "LookupRequest"), 61 "LookupResponse": ("inttegro.payout.lookup_response", "LookupResponse"), 62 "Page": ("inttegro.payout.page", "Page"), 63 "PageRequest": ("inttegro.payout.page_request", "PageRequest"), 64 "PageResponse": ("inttegro.payout.page_response", "PageResponse"), 65 "Payout": ("inttegro.payout.payout", "Payout"), 66 "SetDestinationsRequest": ("inttegro.payout.set_destinations_request", "SetDestinationsRequest"), 67 "SetDestinationsResponse": ("inttegro.payout.set_destinations_response", "SetDestinationsResponse"), 68 "SettingsLookup": ("inttegro.payout.settings_lookup", "SettingsLookup"), 69 "SettingsLookupSchedule": ("inttegro.payout.settings_lookup_schedule", "SettingsLookupSchedule"), 70 "SettingsLookupScheduleAgingSpec": ("inttegro.payout.settings_lookup_schedule_aging_spec", "SettingsLookupScheduleAgingSpec"), 71 "SettingsLimits": ("inttegro.payout.settings_limits", "SettingsLimits"), 72 "SettingsMutation": ("inttegro.payout.settings_mutation", "SettingsMutation"), 73 "SettingsMutationSchedule": ("inttegro.payout.settings_mutation_schedule", "SettingsMutationSchedule"), 74 "SettingsMutationScheduleSpec": ("inttegro.payout.settings_mutation_schedule_spec", "SettingsMutationScheduleSpec"), 75 "Status": ("inttegro.payout.status", "Status"), 76} 77 78__all__ = [ 79 "AmountLimits", 80 "BalanceTransaction", 81 "BalanceTransactionStatus", 82 "CancelRequest", 83 "CancelResponse", 84 "DisableAutomaticRequest", 85 "DisableAutomaticResponse", 86 "Destinations", 87 "DestinationsInput", 88 "EnableAutomaticRequest", 89 "EnableAutomaticResponse", 90 "Error", 91 "Failure", 92 "FailureReason", 93 "GetSettingsRequest", 94 "GetSettingsResponse", 95 "LookupRequest", 96 "LookupResponse", 97 "Page", 98 "PageRequest", 99 "PageResponse", 100 "Payout", 101 "SetDestinationsRequest", 102 "SetDestinationsResponse", 103 "SettingsLookup", 104 "SettingsLookupSchedule", 105 "SettingsLookupScheduleAgingSpec", 106 "SettingsLimits", 107 "SettingsMutation", 108 "SettingsMutationSchedule", 109 "SettingsMutationScheduleSpec", 110 "Status", 111] 112 113 114def __getattr__(name: str) -> Any: 115 """Load a public resource type on first access.""" 116 try: 117 module_name, attribute_name = _EXPORTS[name] 118 except KeyError: 119 raise AttributeError(f"module {__name__!r} has no attribute {name!r}") from None 120 value = getattr(import_module(module_name), attribute_name) 121 globals()[name] = value 122 return value
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 14class AmountLimits(ApiModel): 15 """Inclusive payout amount range.""" 16 17 min: Amount = field(init=False) 18 """Smallest permitted payout amount. Required. Python type: ``Amount``; wire name: ``min``; JSON type: object""" 19 max: Amount = field(init=False) 20 """Largest permitted payout amount. Required. Python type: ``Amount``; wire name: ``max``; JSON type: object"""
Inclusive payout amount range.
Smallest permitted payout amount. Required. Python type: Amount; wire name: min; JSON type: object
Largest permitted payout amount. Required. Python type: Amount; wire name: max; JSON type: object
11@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 12class BalanceTransaction(ApiModel): 13 """A sparse view of one balance transaction's contribution to a payout.""" 14 15 allocated_amount: Amount = field(init=False) 16 """The exact portion allocated to this payout.""" 17 amount: Amount = field(init=False) 18 """The balance transaction's original amount before allocations.""" 19 id: str = field(init=False) 20 """Unique balance transaction identifier.""" 21 status: BalanceTransactionStatus = field(init=False) 22 """Whether this contribution remains reserved, completed, or released."""
A sparse view of one balance transaction's contribution to a payout.
Whether this contribution remains reserved, completed, or released.
9class BalanceTransactionStatus(WireEnum): 10 """Whether a payout contribution remains reserved, completed, or released.""" 11 12 RESERVED = "reserved" 13 """The contribution remains reserved while the payout is open.""" 14 15 COMPLETED = "completed" 16 """The contribution was consumed by a successful payout.""" 17 18 RELEASED = "released" 19 """The contribution was returned after the payout did not complete."""
Whether a payout contribution remains reserved, completed, or released.
The contribution remains reserved while the payout is open.
The contribution was consumed by a successful payout.
The contribution was returned after the payout did not complete.
12@dataclass(frozen=True, slots=True, kw_only=True) 13class CancelRequest(ApiRequest): 14 """Merchant balance entry caused by a payment or refund. `type` describes the semantic source, not direction. A payment transaction contains `payment_id`; a refund transaction contains `refund_id`. Exactly one matching reference is present. 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: ``CancelPayoutRequest``. 21 """ 22 payout_id: str 23 """Identifier of the related payout. Required. Python type: ``str``; wire name: ``payout_id``; JSON type: string"""
Merchant balance entry caused by a payment or refund. type describes the semantic source, not direction. A payment transaction contains payment_id; a refund transaction contains refund_id. Exactly one matching reference is present.
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: CancelPayoutRequest.
Identifier of the related payout. Required. Python type: str; wire name: payout_id; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class CancelResponse(ApiModel): 14 """Typed response returned by the cancel 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: ``CancelPayoutResponse``. 23 """ 24 payout: Payout | None = field(init=False) 25 """The payout associated with this cancel response. Optional; nullable. Python type: ``Payout | None``; wire name: ``payout``; JSON type: object"""
Typed response returned by the cancel 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: CancelPayoutResponse.
12@dataclass(frozen=True, slots=True, kw_only=True) 13class DisableAutomaticRequest(ApiRequest): 14 """Parameters accepted by the disable automatic 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: ``DisableAutomaticPayoutsRequest``. 21 """ 22 pass
Parameters accepted by the disable automatic 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: DisableAutomaticPayoutsRequest.
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class DisableAutomaticResponse(ApiModel): 14 """Typed response returned by the disable automatic 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: ``DisableAutomaticPayoutsResponse``. 23 """ 24 settings: PayoutSettingsMutation | None = field(init=False) 25 """The settings associated with this disable automatic response. Optional; nullable. Python type: ``PayoutSettingsMutation | None``; wire name: ``settings``; JSON type: object"""
Typed response returned by the disable automatic 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: DisableAutomaticPayoutsResponse.
The settings associated with this disable automatic response. Optional; nullable. Python type: PayoutSettingsMutation | None; wire name: settings; JSON type: object
11@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 12class Destinations(ApiModel): 13 """Supported currency-to-financial-account payout assignments. 14 15 ``ghs`` is the financial account that receives Ghana cedi payouts. The 16 object is decoded from API responses and retains mapping-style access. 17 """ 18 19 ghs: str | None = field(init=False) 20 """Financial account that receives Ghana cedi payouts. Optional."""
Supported currency-to-financial-account payout assignments.
ghs is the financial account that receives Ghana cedi payouts. The
object is decoded from API responses and retains mapping-style access.
11@dataclass(frozen=True, slots=True, kw_only=True) 12class DestinationsInput(ApiRequest): 13 """Supported destination assignments for a payout settings update.""" 14 15 ghs: str | UnsetType = field(default=UNSET) 16 """Financial account that receives Ghana cedi payouts. 17 18 Supply an empty string to remove the current GHS assignment. 19 """
Supported destination assignments for a payout settings update.
12@dataclass(frozen=True, slots=True, kw_only=True) 13class EnableAutomaticRequest(ApiRequest): 14 """Parameters accepted by the enable automatic 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: ``EnableAutomaticPayoutsRequest``. 21 """ 22 pass
Parameters accepted by the enable automatic 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: EnableAutomaticPayoutsRequest.
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class EnableAutomaticResponse(ApiModel): 14 """Typed response returned by the enable automatic 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: ``EnableAutomaticPayoutsResponse``. 23 """ 24 settings: PayoutSettingsMutation | None = field(init=False) 25 """The settings associated with this enable automatic response. Optional; nullable. Python type: ``PayoutSettingsMutation | None``; wire name: ``settings``; JSON type: object"""
Typed response returned by the enable automatic 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: EnableAutomaticPayoutsResponse.
The settings associated with this enable automatic response. Optional; nullable. Python type: PayoutSettingsMutation | None; wire name: settings; JSON type: object
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 14class Error(ApiModel): 15 """Public failure details when execution fails. 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: ``PayoutError``. 24 """ 25 cause: str = field(init=False) 26 """The cause associated with this error. Required. Python type: ``str``; wire name: ``cause``; JSON type: string""" 27 message: str = field(init=False) 28 """The message associated with this error. Required. Python type: ``str``; wire name: ``message``; JSON type: string""" 29 occurred_at: datetime = field(init=False) 30 """Timestamp for occurred at. Required. Python type: ``datetime``; wire name: ``occurred_at``; JSON type: string (date-time)""" 31 type: str = field(init=False) 32 """Discriminator identifying the error type. Required. Python type: ``str``; wire name: ``type``; JSON type: string"""
Public failure details when execution fails.
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: PayoutError.
The cause associated with this error. Required. Python type: str; wire name: cause; JSON type: string
The message associated with this error. Required. Python type: str; wire name: message; JSON type: string
Timestamp for occurred at. Required. Python type: datetime; wire name: occurred_at; JSON type: string (date-time)
Discriminator identifying the error type. Required. Python type: str; wire name: type; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class Failure(ApiModel): 14 """Caller-safe information about a terminal payout failure.""" 15 16 detail: str = field(init=False) 17 """Human-readable failure explanation. Required. Python type: ``str``; wire name: ``detail``; JSON type: string""" 18 reason: PayoutFailureReason = field(init=False) 19 """Stable caller-safe failure reason. Required. Python type: ``PayoutFailureReason``; wire name: ``reason``; JSON type: string enum""" 20 retryable: bool = field(init=False) 21 """Whether a new attempt may succeed. Required. Python type: ``bool``; wire name: ``retryable``; JSON type: boolean"""
Caller-safe information about a terminal payout failure.
Human-readable failure explanation. Required. Python type: str; wire name: detail; JSON type: string
Stable caller-safe failure reason. Required. Python type: PayoutFailureReason; wire name: reason; JSON type: string enum
Whether a new attempt may succeed. Required. Python type: bool; wire name: retryable; JSON type: boolean
11class FailureReason(WireEnum): 12 """Stable, caller-safe reason that a payout failed.""" 13 14 PROVIDER_DECLINED = "provider_declined" 15 """Wire value ``provider_declined``""" 16 DELIVERY_FAILED = "delivery_failed" 17 """Wire value ``delivery_failed``""" 18 TEMPORARILY_UNAVAILABLE = "temporarily_unavailable" 19 """Wire value ``temporarily_unavailable``""" 20 UNKNOWN = "unknown" 21 """Wire value ``unknown``"""
Stable, caller-safe reason that a payout failed.
Wire value provider_declined
Wire value temporarily_unavailable
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: ``GetPayoutSettingsRequest``. 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: GetPayoutSettingsRequest.
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: ``GetPayoutSettingsResponse``. 23 """ 24 settings: PayoutSettingsLookup | None = field(init=False) 25 """The settings associated with this get settings response. Optional; nullable. Python type: ``PayoutSettingsLookup | None``; 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: GetPayoutSettingsResponse.
The settings associated with this get settings response. Optional; nullable. Python type: PayoutSettingsLookup | None; wire name: settings; JSON type: object
12@dataclass(frozen=True, slots=True, kw_only=True) 13class LookupRequest(ApiRequest): 14 """Merchant balance entry caused by a payment or refund. `type` describes the semantic source, not direction. A payment transaction contains `payment_id`; a refund transaction contains `refund_id`. Exactly one matching reference is present. 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: ``LookupPayoutRequest``. 21 """ 22 payout_id: str 23 """Identifier of the related payout. Required. Python type: ``str``; wire name: ``payout_id``; JSON type: string"""
Merchant balance entry caused by a payment or refund. type describes the semantic source, not direction. A payment transaction contains payment_id; a refund transaction contains refund_id. Exactly one matching reference is present.
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: LookupPayoutRequest.
Identifier of the related payout. Required. Python type: str; wire name: payout_id; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class LookupResponse(ApiModel): 14 """Typed response returned by the lookup operation. 15 16 Instances are immutable API responses. ``from_dict()`` decodes nested 17 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 18 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 19 Fields not returned by the API remain absent and can still be queried 20 through mapping-style access. 21 22 API contract schema: ``LookupPayoutResponse``. 23 """ 24 payout: Payout | None = field(init=False) 25 """The payout associated with this lookup response. Optional; nullable. Python type: ``Payout | None``; wire name: ``payout``; JSON type: object"""
Typed response returned by the lookup operation.
Instances are immutable API responses. from_dict() decodes nested
objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
to_dict() returns the corresponding JSON-compatible wire shape.
Fields not returned by the API remain absent and can still be queried
through mapping-style access.
API contract schema: LookupPayoutResponse.
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: ``PayoutPage``. 23 """ 24 number: int = field(init=False) 25 """Human-readable number assigned to the page. Required. Python type: ``int``; wire name: ``number``; JSON type: integer""" 26 size: int = field(init=False) 27 """Numeric size used by this operation. Required. Python type: ``int``; wire name: ``size``; JSON type: integer""" 28 payouts: list[Payout] | None = field(init=False) 29 """The payouts associated with this page. Optional; nullable. Python type: ``list[Payout] | None``; wire name: ``payouts``; JSON type: array"""
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: PayoutPage.
Human-readable number assigned to the page. Required. Python type: int; wire name: number; JSON type: integer
Numeric size used by this operation. Required. Python type: int; wire name: size; JSON type: integer
12@dataclass(frozen=True, slots=True, kw_only=True) 13class PageRequest(ApiRequest): 14 """Parameters accepted by the page request operation. 15 16 This is an immutable, keyword-only request object. ``to_dict()`` uses 17 the documented wire names, omits fields left as ``UNSET``, serializes 18 string-backed enums by value, and requires timezone-aware datetimes. 19 20 API contract schema: ``PagePayoutsRequest``. 21 """ 22 page_size: int | UnsetType = field(default=UNSET) 23 """Maximum number of refunds to return. Optional. Python type: ``int``; wire name: ``page_size``; JSON type: integer. Constraints: minimum 1; maximum 256""" 24 page_number: int 25 """One-based page number. Required. Python type: ``int``; wire name: ``page_number``; JSON type: integer. Constraints: minimum 1; maximum 10"""
Parameters accepted by the page request operation.
This is an immutable, keyword-only request object. to_dict() uses
the documented wire names, omits fields left as UNSET, serializes
string-backed enums by value, and requires timezone-aware datetimes.
API contract schema: PagePayoutsRequest.
Maximum number of refunds to return. Optional. Python type: int; wire name: page_size; JSON type: integer. Constraints: minimum 1; maximum 256
One-based page number. Required. Python type: int; wire name: page_number; JSON type: integer. Constraints: minimum 1; maximum 10
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class PageResponse(ApiModel): 14 """Response containing a page of chimes. 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: ``PagePayoutsResponse``. 23 """ 24 page: PayoutPage | None = field(init=False) 25 """Numeric page used by this operation. Optional; nullable. Python type: ``PayoutPage | None``; wire name: ``page``; JSON type: object"""
Response containing a page of chimes.
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: PagePayoutsResponse.
15@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 16class Payout(ApiModel): 17 """A payout scheduled from your Inttegro balance to a destination financial account. 18 19 Instances are immutable API responses. ``from_dict()`` decodes nested 20 objects, string-backed enums, and timezone-aware ISO-8601 timestamps; 21 ``to_dict()`` returns the corresponding JSON-compatible wire shape. 22 Fields not returned by the API remain absent and can still be queried 23 through mapping-style access. 24 """ 25 amount: Amount | None = field(init=False) 26 """Monetary amount, represented by a currency and an integer minor-unit value. Optional; nullable. Python type: ``Amount | None``; wire name: ``amount``; JSON type: object (Amount)""" 27 balance_transactions: list[PayoutBalanceTransaction] | None = field(init=False) 28 """Balance transactions that contributed to this payout. Optional; nullable. Python type: ``list[PayoutBalanceTransaction] | None``; wire name: ``balance_transactions``; JSON type: array of objects""" 29 balance_transaction_id: str | None = field(init=False) 30 """The payout's own immutable debit balance transaction. Optional; nullable. Python type: ``str | None``; wire name: ``balance_transaction_id``; JSON type: string""" 31 canceled_at: datetime | None = field(init=False) 32 """When the payout was canceled. Optional; nullable. Python type: ``datetime | None``; wire name: ``canceled_at``; JSON type: string (date-time)""" 33 custom_data: CustomData | None = field(init=False) 34 """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)""" 35 destination_id: str = field(init=False) 36 """Financial account receiving the funds. Required. Python type: ``str``; wire name: ``destination_id``; JSON type: string""" 37 error: PayoutError | None = field(init=False) 38 """Deprecated compatibility projection. Use ``failure`` for stable, caller-safe information. Optional; nullable. Python type: ``PayoutError | None``; wire name: ``error``; JSON type: object""" 39 execute_after: datetime = field(init=False) 40 """Earliest moment payout execution may begin. Required. Python type: ``datetime``; wire name: ``execute_after``; JSON type: string (date-time)""" 41 executed_by: str | None = field(init=False) 42 """Actor that executed the payout. Optional; nullable. Python type: ``str | None``; wire name: ``executed_by``; JSON type: string""" 43 expected_at: datetime | None = field(init=False) 44 """Expected completion time. Optional; nullable. Python type: ``datetime | None``; wire name: ``expected_at``; JSON type: string (date-time)""" 45 failed_at: datetime | None = field(init=False) 46 """When the payout entered the failed state. Optional; nullable. Python type: ``datetime | None``; wire name: ``failed_at``; JSON type: string (date-time)""" 47 failure: PayoutFailure | None = field(init=False) 48 """Caller-safe terminal failure information. Optional; nullable. Python type: ``PayoutFailure | None``; wire name: ``failure``; JSON type: object""" 49 id: str = field(init=False) 50 """Unique payout identifier. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 51 initiated_at: datetime = field(init=False) 52 """When the payout was created. Required. Python type: ``datetime``; wire name: ``initiated_at``; JSON type: string (date-time)""" 53 initiated_by: str | None = field(init=False) 54 """Actor that initiated the payout. Optional; nullable. Python type: ``str | None``; wire name: ``initiated_by``; JSON type: string""" 55 max_amount: Amount = field(init=False) 56 """Monetary max amount, represented by a currency and an integer minor-unit value. Required. Python type: ``Amount``; wire name: ``max_amount``; JSON type: object (Amount)""" 57 reference: str | None = field(init=False) 58 """Merchant reference carried on the payout. Optional; nullable. Python type: ``str | None``; wire name: ``reference``; JSON type: string""" 59 schedule_id: str | None = field(init=False) 60 """Schedule associated with the payout. Optional; nullable. Python type: ``str | None``; wire name: ``schedule_id``; JSON type: string""" 61 scheduled_at: datetime | None = field(init=False) 62 """When the payout was scheduled. Optional; nullable. Python type: ``datetime | None``; wire name: ``scheduled_at``; JSON type: string (date-time)""" 63 scheduled_by: str | None = field(init=False) 64 """Actor that scheduled the payout. Optional; nullable. Python type: ``str | None``; wire name: ``scheduled_by``; JSON type: string""" 65 sent_at: datetime | None = field(init=False) 66 """When the transfer was sent. Optional; nullable. Python type: ``datetime | None``; wire name: ``sent_at``; JSON type: string (date-time)""" 67 source_id: str | None = field(init=False) 68 """Source identifier associated with the payout. Optional; nullable. Python type: ``str | None``; wire name: ``source_id``; JSON type: string""" 69 status: Literal['initialized', 'scheduled', 'processing', 'executing', 'succeeded', 'failed', 'canceled'] = field(init=False) 70 """Current payout lifecycle state. Required. Python type: ``Literal['initialized', 'scheduled', 'processing', 'executing', 'succeeded', 'failed', 'canceled']``; wire name: ``status``; JSON type: string.""" 71 succeeded_at: datetime | None = field(init=False) 72 """When the payout succeeded. Optional; nullable. Python type: ``datetime | None``; wire name: ``succeeded_at``; JSON type: string (date-time)"""
A payout scheduled from your Inttegro balance to a destination financial 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.
Monetary amount, represented by a currency and an integer minor-unit value. Optional; nullable. Python type: Amount | None; wire name: amount; JSON type: object (Amount)
Balance transactions that contributed to this payout. Optional; nullable. Python type: list[PayoutBalanceTransaction] | None; wire name: balance_transactions; JSON type: array of objects
The payout's own immutable debit balance transaction. Optional; nullable. Python type: str | None; wire name: balance_transaction_id; JSON type: string
When the payout was canceled. Optional; nullable. Python type: datetime | None; wire name: canceled_at; JSON type: string (date-time)
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)
Financial account receiving the funds. Required. Python type: str; wire name: destination_id; JSON type: string
Earliest moment payout execution may begin. Required. Python type: datetime; wire name: execute_after; JSON type: string (date-time)
Actor that executed the payout. Optional; nullable. Python type: str | None; wire name: executed_by; JSON type: string
Expected completion time. Optional; nullable. Python type: datetime | None; wire name: expected_at; JSON type: string (date-time)
When the payout entered the failed state. Optional; nullable. Python type: datetime | None; wire name: failed_at; JSON type: string (date-time)
Caller-safe terminal failure information. Optional; nullable. Python type: PayoutFailure | None; wire name: failure; JSON type: object
When the payout was created. Required. Python type: datetime; wire name: initiated_at; JSON type: string (date-time)
Actor that initiated the payout. Optional; nullable. Python type: str | None; wire name: initiated_by; JSON type: string
Monetary max amount, represented by a currency and an integer minor-unit value. Required. Python type: Amount; wire name: max_amount; JSON type: object (Amount)
Merchant reference carried on the payout. Optional; nullable. Python type: str | None; wire name: reference; JSON type: string
Schedule associated with the payout. Optional; nullable. Python type: str | None; wire name: schedule_id; JSON type: string
When the payout was scheduled. Optional; nullable. Python type: datetime | None; wire name: scheduled_at; JSON type: string (date-time)
Actor that scheduled the payout. Optional; nullable. Python type: str | None; wire name: scheduled_by; JSON type: string
When the transfer was sent. Optional; nullable. Python type: datetime | None; wire name: sent_at; JSON type: string (date-time)
Source identifier associated with the payout. Optional; nullable. Python type: str | None; wire name: source_id; JSON type: string
Current payout lifecycle state. Required. Python type: Literal['initialized', 'scheduled', 'processing', 'executing', 'succeeded', 'failed', 'canceled']; wire name: status; JSON type: string.
When the payout succeeded. Optional; nullable. Python type: datetime | None; wire name: succeeded_at; JSON type: string (date-time)
12@dataclass(frozen=True, slots=True, kw_only=True) 13class SetDestinationsRequest(ApiRequest): 14 """Payout settings fields returned after a mutation. 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: ``SetPayoutDestinationsRequest``. 21 """ 22 destinations: PayoutDestinationsInput 23 """Supported currency-to-financial-account assignments. Required. Python type: ``PayoutDestinationsInput``; wire name: ``destinations``; JSON type: object (PayoutDestinations)."""
Payout settings fields returned after a mutation.
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: SetPayoutDestinationsRequest.
Supported currency-to-financial-account assignments. Required. Python type: PayoutDestinationsInput; wire name: destinations; JSON type: object (PayoutDestinations).
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class SetDestinationsResponse(ApiModel): 14 """Typed response returned by the set destinations 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: ``SetPayoutDestinationsResponse``. 23 """ 24 settings: PayoutSettingsMutation | None = field(init=False) 25 """The settings associated with this set destinations response. Optional; nullable. Python type: ``PayoutSettingsMutation | None``; wire name: ``settings``; JSON type: object"""
Typed response returned by the set destinations 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: SetPayoutDestinationsResponse.
The settings associated with this set destinations response. Optional; nullable. Python type: PayoutSettingsMutation | None; wire name: settings; JSON type: object
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class SettingsLookup(ApiModel): 14 """Complete payout settings read model. 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: ``PayoutSettingsLookup``. 23 """ 24 destinations: PayoutDestinations = field(init=False) 25 """Supported currency-to-financial-account assignments. Required. Python type: ``PayoutDestinations``; wire name: ``destinations``; JSON type: object (PayoutDestinations).""" 26 fx_enabled: bool | None = field(init=False) 27 """Present only when foreign exchange is enabled in stored settings. Optional; nullable. Python type: ``bool | None``; wire name: ``fx_enabled``; JSON type: boolean""" 28 limits: PayoutSettingsLimits = field(init=False) 29 """Platform limits applied to payouts. Required. Python type: ``PayoutSettingsLimits``; wire name: ``limits``; JSON type: object.""" 30 schedule: PayoutSettingsLookupSchedule | None = field(init=False) 31 """Active payout schedule. Optional; nullable. Python type: ``PayoutSettingsLookupSchedule | None``; wire name: ``schedule``; JSON type: object"""
Complete payout settings read model.
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: PayoutSettingsLookup.
Supported currency-to-financial-account assignments. Required. Python type: PayoutDestinations; wire name: destinations; JSON type: object (PayoutDestinations).
Present only when foreign exchange is enabled in stored settings. Optional; nullable. Python type: bool | None; wire name: fx_enabled; JSON type: boolean
Platform limits applied to payouts. Required. Python type: PayoutSettingsLimits; wire name: limits; JSON type: object.
Active payout schedule. Optional; nullable. Python type: PayoutSettingsLookupSchedule | None; wire name: schedule; JSON type: object
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class SettingsLookupSchedule(ApiModel): 14 """Active payout schedule. 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: ``PayoutSettingsLookupSchedule``. 23 """ 24 aging_spec: PayoutSettingsLookupScheduleAgingSpec = field(init=False) 25 """The aging spec associated with this settings lookup schedule. Required. Python type: ``PayoutSettingsLookupScheduleAgingSpec``; wire name: ``aging_spec``; JSON type: object""" 26 description: str = field(init=False) 27 """Human-readable description of the settings lookup schedule. Required. Python type: ``str``; wire name: ``description``; JSON type: string""" 28 interval: str = field(init=False) 29 """The interval associated with this settings lookup schedule. Required. Python type: ``str``; wire name: ``interval``; JSON type: string""" 30 name: str = field(init=False) 31 """Human-readable name of the settings lookup schedule. Required. Python type: ``str``; wire name: ``name``; JSON type: string""" 32 schedule_on: str = field(init=False) 33 """The schedule on associated with this settings lookup schedule. Required. Python type: ``str``; wire name: ``schedule_on``; JSON type: string""" 34 type: str = field(init=False) 35 """Discriminator identifying the settings lookup schedule type. Required. Python type: ``str``; wire name: ``type``; JSON type: string"""
Active payout schedule.
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: PayoutSettingsLookupSchedule.
The aging spec associated with this settings lookup schedule. Required. Python type: PayoutSettingsLookupScheduleAgingSpec; wire name: aging_spec; JSON type: object
Human-readable description of the settings lookup schedule. Required. Python type: str; wire name: description; JSON type: string
The interval associated with this settings lookup schedule. Required. Python type: str; wire name: interval; JSON type: string
Human-readable name of the settings lookup schedule. Required. Python type: str; wire name: name; JSON type: string
The schedule on associated with this settings lookup schedule. Required. Python type: str; wire name: schedule_on; JSON type: string
Discriminator identifying the settings lookup schedule type. Required. Python type: str; wire name: type; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class SettingsLookupScheduleAgingSpec(ApiModel): 14 """Typed settings lookup schedule aging spec data in the payout 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: ``PayoutSettingsLookupScheduleAgingSpec``. 23 """ 24 abide: str = field(init=False) 25 """The abide associated with this settings lookup schedule aging spec. Required. Python type: ``str``; wire name: ``abide``; JSON type: string""" 26 public_id: str = field(init=False) 27 """The public identifier associated with this settings lookup schedule aging spec. Required. Python type: ``str``; wire name: ``public_id``; JSON type: string""" 28 label: str = field(init=False) 29 """The label associated with this settings lookup schedule aging spec. Required. Python type: ``str``; wire name: ``label``; JSON type: string""" 30 t_plus: str = field(init=False) 31 """The t plus associated with this settings lookup schedule aging spec. Required. Python type: ``str``; wire name: ``t_plus``; JSON type: string"""
Typed settings lookup schedule aging spec data in the payout 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: PayoutSettingsLookupScheduleAgingSpec.
The abide associated with this settings lookup schedule aging spec. Required. Python type: str; wire name: abide; JSON type: string
The public identifier associated with this settings lookup schedule aging spec. Required. Python type: str; wire name: public_id; JSON type: string
The label associated with this settings lookup schedule aging spec. Required. Python type: str; wire name: label; JSON type: string
The t plus associated with this settings lookup schedule aging spec. Required. Python type: str; wire name: t_plus; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class SettingsLimits(ApiModel): 14 """Platform limits applied to payouts.""" 15 16 amount: PayoutAmountLimits = field(init=False) 17 """Inclusive payout amount range. Required. Python type: ``PayoutAmountLimits``; wire name: ``amount``; JSON type: object"""
Platform limits applied to payouts.
Inclusive payout amount range. Required. Python type: PayoutAmountLimits; wire name: amount; JSON type: object
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class SettingsMutation(ApiModel): 14 """Payout settings fields returned after a mutation. 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: ``PayoutSettingsMutation``. 23 """ 24 destinations: PayoutDestinations | None = field(init=False) 25 """Supported currency-to-financial-account assignments. Optional; nullable. Python type: ``PayoutDestinations | None``; wire name: ``destinations``; JSON type: object (PayoutDestinations).""" 26 fx_enabled: bool | None = field(init=False) 27 """Updated foreign-exchange setting. Optional; nullable. Python type: ``bool | None``; wire name: ``fx_enabled``; JSON type: boolean.""" 28 id: str | None = field(init=False) 29 """Payout settings identifier. Optional; nullable. Python type: ``str | None``; wire name: ``id``; JSON type: string""" 30 limits: PayoutSettingsLimits = field(init=False) 31 """Platform limits applied to payouts. Required. Python type: ``PayoutSettingsLimits``; wire name: ``limits``; JSON type: object.""" 32 schedule: PayoutSettingsMutationSchedule | None = field(init=False) 33 """Updated payout schedule. Optional; nullable. Python type: ``PayoutSettingsMutationSchedule | None``; wire name: ``schedule``; JSON type: object"""
Payout settings fields returned after a mutation.
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: PayoutSettingsMutation.
Supported currency-to-financial-account assignments. Optional; nullable. Python type: PayoutDestinations | None; wire name: destinations; JSON type: object (PayoutDestinations).
Updated foreign-exchange setting. Optional; nullable. Python type: bool | None; wire name: fx_enabled; JSON type: boolean.
Payout settings identifier. Optional; nullable. Python type: str | None; wire name: id; JSON type: string
Platform limits applied to payouts. Required. Python type: PayoutSettingsLimits; wire name: limits; JSON type: object.
Updated payout schedule. Optional; nullable. Python type: PayoutSettingsMutationSchedule | None; wire name: schedule; JSON type: object
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class SettingsMutationSchedule(ApiModel): 14 """Updated payout schedule. 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: ``PayoutSettingsMutationSchedule``. 23 """ 24 description: str = field(init=False) 25 """Human-readable description of the settings mutation schedule. Required. Python type: ``str``; wire name: ``description``; JSON type: string""" 26 id: str = field(init=False) 27 """Unique identifier for this settings mutation schedule. Required. Python type: ``str``; wire name: ``id``; JSON type: string""" 28 interval: str = field(init=False) 29 """The interval associated with this settings mutation schedule. Required. Python type: ``str``; wire name: ``interval``; JSON type: string""" 30 name: str = field(init=False) 31 """Human-readable name of the settings mutation schedule. Required. Python type: ``str``; wire name: ``name``; JSON type: string""" 32 schedule_on: str = field(init=False) 33 """The schedule on associated with this settings mutation schedule. Required. Python type: ``str``; wire name: ``schedule_on``; JSON type: string""" 34 spec: PayoutSettingsMutationScheduleSpec = field(init=False) 35 """The spec associated with this settings mutation schedule. Required. Python type: ``PayoutSettingsMutationScheduleSpec``; wire name: ``spec``; JSON type: object""" 36 type: str = field(init=False) 37 """Discriminator identifying the settings mutation schedule type. Required. Python type: ``str``; wire name: ``type``; JSON type: string"""
Updated payout schedule.
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: PayoutSettingsMutationSchedule.
Human-readable description of the settings mutation schedule. Required. Python type: str; wire name: description; JSON type: string
Unique identifier for this settings mutation schedule. Required. Python type: str; wire name: id; JSON type: string
The interval associated with this settings mutation schedule. Required. Python type: str; wire name: interval; JSON type: string
Human-readable name of the settings mutation schedule. Required. Python type: str; wire name: name; JSON type: string
The schedule on associated with this settings mutation schedule. Required. Python type: str; wire name: schedule_on; JSON type: string
The spec associated with this settings mutation schedule. Required. Python type: PayoutSettingsMutationScheduleSpec; wire name: spec; JSON type: object
Discriminator identifying the settings mutation schedule type. Required. Python type: str; wire name: type; JSON type: string
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False) 13class SettingsMutationScheduleSpec(ApiModel): 14 """Typed settings mutation schedule spec data in the payout 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: ``PayoutSettingsMutationScheduleSpec``. 23 """ 24 abide: str = field(init=False) 25 """The abide associated with this settings mutation schedule spec. Required. Python type: ``str``; wire name: ``abide``; JSON type: string""" 26 public_id: str = field(init=False) 27 """Public identifier for this settings mutation schedule spec. Required. Python type: ``str``; wire name: ``public_id``; JSON type: string""" 28 label: str = field(init=False) 29 """The label associated with this settings mutation schedule spec. Required. Python type: ``str``; wire name: ``label``; JSON type: string""" 30 t_plus: str = field(init=False) 31 """The t plus associated with this settings mutation schedule spec. Required. Python type: ``str``; wire name: ``t_plus``; JSON type: string"""
Typed settings mutation schedule spec data in the payout 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: PayoutSettingsMutationScheduleSpec.
The abide associated with this settings mutation schedule spec. Required. Python type: str; wire name: abide; JSON type: string
Public identifier for this settings mutation schedule spec. Required. Python type: str; wire name: public_id; JSON type: string
The label associated with this settings mutation schedule spec. Required. Python type: str; wire name: label; JSON type: string
The t plus associated with this settings mutation schedule spec. Required. Python type: str; wire name: t_plus; JSON type: string
11class Status(WireEnum): 12 """Current payout lifecycle state. 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: ``PayoutStatus``. 18 """ 19 INITIALIZED = "initialized" 20 """Wire value ``initialized`` (initialized) for current payout lifecycle state""" 21 SCHEDULED = "scheduled" 22 """Wire value ``scheduled`` (scheduled) for current payout lifecycle state""" 23 PROCESSING = "processing" 24 """Wire value ``processing`` (processing) for current payout lifecycle state""" 25 EXECUTING = "executing" 26 """Wire value ``executing`` (executing) for current payout lifecycle state""" 27 SUCCEEDED = "succeeded" 28 """Wire value ``succeeded`` (succeeded) for current payout lifecycle state""" 29 FAILED = "failed" 30 """Wire value ``failed`` (failed) for current payout lifecycle state""" 31 CANCELED = "canceled" 32 """Wire value ``canceled`` (canceled) for current payout lifecycle state"""
Current payout lifecycle state.
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: PayoutStatus.
Wire value initialized (initialized) for current payout lifecycle state
Wire value scheduled (scheduled) for current payout lifecycle state
Wire value processing (processing) for current payout lifecycle state
Wire value executing (executing) for current payout lifecycle state
Wire value succeeded (succeeded) for current payout lifecycle state
Wire value canceled (canceled) for current payout lifecycle state