class AsyncBilling(object)
    def __init__(self, transport: 'AsyncTransport') -> 'None'
    async def get_active_subscriptions(self) -> 'list[Subscription]'
    async def get_current_usage(self) -> 'list[UsageSummary]'
    async def get_invoice(self, invoice_id: 'str') -> 'Invoice'
    async def get_usage_history(self, *, billing_period: 'str | None' = None, page_number: 'int' = 1, page_size: 'int' = 50) -> 'list[UsageRecord]'
    async def list_invoices(self, *, page_number: 'int' = 1, page_size: 'int' = 20) -> 'list[InvoiceSummary]'
class AsyncIziPay(object)
    async def __aenter__(self) -> 'AsyncIziPay'
    async def __aexit__(self, exc_type: 'type[BaseException] | None', exc: 'BaseException | None', traceback: 'TracebackType | None') -> 'None'
    def __init__(self, *, environment: 'Environment | str', client_id: 'str', client_secret: 'str', timeout: 'float' = 120.0, max_retries: 'int' = 2, base_url_override: 'str | None' = None, scope: 'str' = 'izi-api', http_client: 'httpx.AsyncClient | None' = None, logger: 'logging.Logger | logging.LoggerAdapter[logging.Logger] | None' = None) -> 'None'
    async def close(self) -> 'None'
class AsyncPayments(object)
    def __init__(self, transport: 'AsyncTransport') -> 'None'
    async def cancel_authorization(self, internal_id: 'str') -> 'AuthorizationCancellation'
    async def capture(self, *, amount: 'Amount', reference: 'str', authorization_id: 'str', description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    async def create_authorization(self, *, amount: 'Amount', reference: 'str', phone_number: 'str', provider: 'str | None' = None, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    async def create_mobile(self, *, amount: 'Amount', reference: 'str', phone_number: 'str', provider: 'str | None' = None, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    async def create_qr_code(self, *, amount: 'Amount', reference: 'str', qr_size: 'str | None' = None, qr_type: 'str | None' = None, max_transactions: 'int | None' = None, end_date: 'datetime | None' = None, include_deep_link: 'bool' = True, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    async def create_reference(self, *, amount: 'Amount', reference_type: 'ReferenceType' = <ReferenceType.DYNAMIC: 'Dynamic'>, reference: 'str | None' = None, expiry_date: 'datetime | None' = None, customer_name: 'str | None' = None, customer_email: 'str | None' = None, customer_telephone: 'str | None' = None, document_number: 'str | None' = None, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    async def create_webframe(self, *, amount: 'Amount', reference: 'str', css_url: 'str | None' = None, qr_code: 'str | None' = None, mobile: 'str | None' = None, card: 'str | None' = None, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    async def get(self, payment_id: 'str') -> 'Payment'
    async def list(self, *, page_number: 'int' = 1, page_size: 'int' = 20, status: 'PaymentStatus | None' = None, payment_type: 'PaymentType | None' = None, start_date: 'datetime | None' = None, end_date: 'datetime | None' = None, search: 'str | None' = None) -> 'Page[Payment]'
    async def request_status_sync(self, payment_id: 'str') -> 'None'
class AsyncReferences(object)
    def __init__(self, transport: 'AsyncTransport') -> 'None'
    async def cancel(self, reference: 'str') -> 'None'
    async def create(self, *, amount: 'Amount | None' = None, reference_type: 'ReferenceType' = <ReferenceType.DYNAMIC: 'Dynamic'>, reference: 'str | None' = None, expiry_date: 'datetime | None' = None, description: 'str | None' = None, customer_name: 'str | None' = None, customer_email: 'str | None' = None, customer_telephone: 'str | None' = None, document_number: 'str | None' = None, custom_metadata: 'Custom | None' = None) -> 'PaymentReference'
    async def create_bulk(self, references: 'Sequence[CreateReferenceRequest]') -> 'BulkReferenceResult'
    async def get(self, reference: 'str') -> 'PaymentReference'
    async def get_history(self, reference: 'str') -> 'builtins.list[ReferencePayment]'
    async def list(self, *, page_number: 'int' = 1, page_size: 'int' = 20, reference_type: 'ReferenceType | None' = None, status: 'PaymentStatus | None' = None) -> 'Page[PaymentReference]'
class AsyncRefunds(object)
    def __init__(self, transport: 'AsyncTransport') -> 'None'
    async def create(self, *, payment_id: 'str', amount: 'Amount', supervisor_id: 'str', reason: 'str | None' = None) -> 'Refund'
    async def get(self, *, payment_id: 'str', refund_id: 'str') -> 'Refund'
    async def list(self, *, page_number: 'int' = 1, page_size: 'int' = 20, status: 'RefundStatus | None' = None, payment_type: 'PaymentType | None' = None, start_date: 'datetime | None' = None, end_date: 'datetime | None' = None) -> 'Page[Refund]'
class AsyncTerminals(object)
    def __init__(self, transport: 'AsyncTransport') -> 'None'
    async def close(self, pos_id: 'str', *, supervisor_id: 'str | None' = None, supervisor_iban: 'str | None' = None) -> 'str'
    async def get_status(self, pos_id: 'str') -> 'TerminalStatus'
    async def open(self, pos_id: 'str', *, supervisor_id: 'str | None' = None, supervisor_iban: 'str | None' = None) -> 'str'
class AuthenticationError(IziPayError)
dataclass AuthorizationCancellation(object)
    field cancellation_id: str | None
    def __init__(self, *, cancellation_id: 'str | None') -> None
class Billing(object)
    def __init__(self, transport: 'SyncTransport') -> 'None'
    def get_active_subscriptions(self) -> 'list[Subscription]'
    def get_current_usage(self) -> 'list[UsageSummary]'
    def get_invoice(self, invoice_id: 'str') -> 'Invoice'
    def get_usage_history(self, *, billing_period: 'str | None' = None, page_number: 'int' = 1, page_size: 'int' = 50) -> 'list[UsageRecord]'
    def list_invoices(self, *, page_number: 'int' = 1, page_size: 'int' = 20) -> 'list[InvoiceSummary]'
dataclass BulkReferenceResult(object)
    field success_count: int
    field error_count: int
    field references: list[PaymentReference]
    field errors: list[Any]
    def __init__(self, *, success_count: 'int', error_count: 'int', references: 'list[PaymentReference]', errors: 'list[Any]') -> None
class ConflictError(IziPayError)
class ConnectionFailedError(IziPayError)
dataclass CreateReferenceRequest(object)
    field amount: Decimal | int | str | None = None
    field reference_type: ReferenceType = <ReferenceType.DYNAMIC: 'Dynamic'>
    field reference: str | None = None
    field expiry_date: datetime | None = None
    field description: str | None = None
    field customer_name: str | None = None
    field customer_email: str | None = None
    field customer_telephone: str | None = None
    field document_number: str | None = None
    field custom_metadata: Custom | None = None
    def __init__(self, *, amount: 'Decimal | int | str | None' = None, reference_type: 'ReferenceType' = <ReferenceType.DYNAMIC: 'Dynamic'>, reference: 'str | None' = None, expiry_date: 'datetime | None' = None, description: 'str | None' = None, customer_name: 'str | None' = None, customer_email: 'str | None' = None, customer_telephone: 'str | None' = None, document_number: 'str | None' = None, custom_metadata: 'Custom | None' = None) -> None
    def to_wire(self) -> 'dict[str, Any]'
dataclass CreatedPayment(object)
    field id: str | None
    field internal_id: str | None
    field provider_id: str | None
    field authorization_id: str | None
    field reference: str | None
    field entity: str | None
    field amount: Decimal | None
    field currency: str | None
    field status: PaymentStatus
    field created_at: datetime | None
    field expires_at: datetime | None
    field description: str | None
    field customer: PaymentCustomer | None
    field custom_metadata: dict[str, Any] | None
    field payment_url: str | None
    field qr_code_png: bytes | None
    field deep_link: str | None
    field error_code: str | None
    field error_message: str | None
    field error_type: str | None
    field additional_data: dict[str, Any] | None
    field idempotency_key: str
    field is_idempotent_replay: bool
    field reference_record_id: str | None = None
    def __init__(self, *, id: 'str | None', internal_id: 'str | None', provider_id: 'str | None', authorization_id: 'str | None', reference: 'str | None', entity: 'str | None', amount: 'Decimal | None', currency: 'str | None', status: 'PaymentStatus', created_at: 'datetime | None', expires_at: 'datetime | None', description: 'str | None', customer: 'PaymentCustomer | None', custom_metadata: 'dict[str, Any] | None', payment_url: 'str | None', qr_code_png: 'bytes | None', deep_link: 'str | None', error_code: 'str | None', error_message: 'str | None', error_type: 'str | None', additional_data: 'dict[str, Any] | None', idempotency_key: 'str', is_idempotent_replay: 'bool', reference_record_id: 'str | None' = None) -> None
const DEFAULT_TIMEOUT = 120.0
enum Environment(StrEnum)
    SANDBOX = 'sandbox'
    PRODUCTION = 'production'
dataclass ErrorDetail(object)
    field field: str | None
    field code: str | None
    field message: str
    def __init__(self, field: 'str | None', code: 'str | None', message: 'str') -> None
enum ErrorKind(StrEnum)
    AUTHENTICATION = 'Authentication'
    PERMISSION = 'Permission'
    VALIDATION = 'Validation'
    NOT_FOUND = 'NotFound'
    CONFLICT = 'Conflict'
    RATE_LIMITED = 'RateLimited'
    SERVER = 'Server'
    CONNECTION = 'Connection'
    OUTCOME_UNKNOWN = 'OutcomeUnknown'
    INVALID_RESPONSE = 'InvalidResponse'
    NOT_AVAILABLE = 'NotAvailable'
class InvalidResponseError(IziPayError)
dataclass Invoice(object)
    field invoice_id: str
    field invoice_number: str | None
    field merchant_id: str
    field merchant_name: str | None
    field billing_period: str | None
    field issue_date: datetime | None
    field due_date: datetime | None
    field sub_total: Decimal
    field tax_amount: Decimal
    field total_amount: Decimal
    field status: InvoiceStatus
    field items: list[InvoiceItem]
    def __init__(self, *, invoice_id: 'str', invoice_number: 'str | None', merchant_id: 'str', merchant_name: 'str | None', billing_period: 'str | None', issue_date: 'datetime | None', due_date: 'datetime | None', sub_total: 'Decimal', tax_amount: 'Decimal', total_amount: 'Decimal', status: 'InvoiceStatus', items: 'list[InvoiceItem]') -> None
dataclass InvoiceItem(object)
    field invoice_item_id: str
    field service_id: str
    field service_name: str | None
    field description: str | None
    field quantity: Decimal
    field unit_price: Decimal
    field amount: Decimal
    def __init__(self, *, invoice_item_id: 'str', service_id: 'str', service_name: 'str | None', description: 'str | None', quantity: 'Decimal', unit_price: 'Decimal', amount: 'Decimal') -> None
enum InvoiceStatus(WireEnum)
    UNKNOWN = 'Unknown'
    DRAFT = 'Draft'
    ISSUED = 'Issued'
    PAID = 'Paid'
    OVERDUE = 'Overdue'
    CANCELLED = 'Cancelled'
dataclass InvoiceSummary(object)
    field invoice_id: str
    field invoice_number: str | None
    field billing_period: str | None
    field issue_date: datetime | None
    field due_date: datetime | None
    field total_amount: Decimal
    field status: InvoiceStatus
    def __init__(self, *, invoice_id: 'str', invoice_number: 'str | None', billing_period: 'str | None', issue_date: 'datetime | None', due_date: 'datetime | None', total_amount: 'Decimal', status: 'InvoiceStatus') -> None
class IziPay(object)
    def __enter__(self) -> 'IziPay'
    def __exit__(self, exc_type: 'type[BaseException] | None', exc: 'BaseException | None', traceback: 'TracebackType | None') -> 'None'
    def __init__(self, *, environment: 'Environment | str', client_id: 'str', client_secret: 'str', timeout: 'float' = 120.0, max_retries: 'int' = 2, base_url_override: 'str | None' = None, scope: 'str' = 'izi-api', http_client: 'httpx.Client | None' = None, logger: 'logging.Logger | logging.LoggerAdapter[logging.Logger] | None' = None) -> 'None'
    def close(self) -> 'None'
class IziPayError(Exception)
    def __init__(self, message: 'str', *, kind: 'ErrorKind | None' = None, status_code: 'int | None' = None, error_code: 'str | None' = None, details: 'Sequence[ErrorDetail]' = (), trace_id: 'str | None' = None) -> 'None'
    property is_safe_to_retry
const LUANDA = datetime.timezone(datetime.timedelta(seconds=3600), 'WAT')
class NotAvailableError(IziPayError)
class NotFoundError(IziPayError)
class OutcomeUnknownError(IziPayError)
    def __init__(self, message: 'str', *, operation: 'str', idempotency_key: 'str | None', status_code: 'int | None' = None, error_code: 'str | None' = None, kind: 'ErrorKind | None' = None, details: 'Sequence[ErrorDetail]' = (), trace_id: 'str | None' = None) -> 'None'
dataclass Page(Generic)
    field items: list[T]
    field page_number: int
    field page_size: int
    field total_pages: int | None
    field total_items: int | None
    def __init__(self, *, items: 'list[T]', page_number: 'int', page_size: 'int', total_pages: 'int | None', total_items: 'int | None') -> None
    property has_more
dataclass Payment(object)
    field id: str
    field internal_id: str
    field merchant_id: str
    field merchant_name: str | None
    field reference: str
    field amount: Decimal
    field currency: str
    field payment_type: PaymentType
    field payment_method: str | None
    field status: PaymentStatus
    field created_at: datetime | None
    field completed_at: datetime | None
    field refunded_amount: Decimal
    field description: str | None
    field customer_email: str | None
    field customer_name: str | None
    field customer_telephone: str | None
    field document_number: str | None
    field custom_metadata: dict[str, Any] | None
    field error_message: str | None
    field failure_category: str | None
    field normalized_error_message: str | None
    def __init__(self, *, id: 'str', internal_id: 'str', merchant_id: 'str', merchant_name: 'str | None', reference: 'str', amount: 'Decimal', currency: 'str', payment_type: 'PaymentType', payment_method: 'str | None', status: 'PaymentStatus', created_at: 'datetime | None', completed_at: 'datetime | None', refunded_amount: 'Decimal', description: 'str | None', customer_email: 'str | None', customer_name: 'str | None', customer_telephone: 'str | None', document_number: 'str | None', custom_metadata: 'dict[str, Any] | None', error_message: 'str | None', failure_category: 'str | None', normalized_error_message: 'str | None') -> None
dataclass PaymentCustomer(object)
    field email: str | None
    field name: str | None
    field telephone: str | None
    def __init__(self, *, email: 'str | None', name: 'str | None', telephone: 'str | None') -> None
dataclass PaymentReference(object)
    field reference: str
    field entity: str
    field amount: Decimal
    field status: PaymentStatus
    field reference_status: ReferenceStatus
    field expires_at: datetime | None
    field created_at: datetime | None
    field description: str | None
    field customer_email: str | None
    field customer_name: str | None
    field customer_telephone: str | None
    field document_number: str | None
    field custom_metadata: dict[str, Any] | None
    def __init__(self, *, reference: 'str', entity: 'str', amount: 'Decimal', status: 'PaymentStatus', reference_status: 'ReferenceStatus', expires_at: 'datetime | None', created_at: 'datetime | None', description: 'str | None', customer_email: 'str | None', customer_name: 'str | None', customer_telephone: 'str | None', document_number: 'str | None', custom_metadata: 'dict[str, Any] | None') -> None
enum PaymentStatus(WireEnum)
    UNKNOWN = 'Unknown'
    PENDING = 'Pending'
    PROCESSING = 'Processing'
    COMPLETED = 'Completed'
    FAILED = 'Failed'
    CANCELLED = 'Cancelled'
    REFUNDED = 'Refunded'
    PARTIALLY_REFUNDED = 'PartiallyRefunded'
    AUTHORIZED = 'Authorized'
enum PaymentType(WireEnum)
    UNKNOWN = 'Unknown'
    GPO = 'GPO'
    PPR = 'PPR'
class Payments(object)
    def __init__(self, transport: 'SyncTransport') -> 'None'
    def cancel_authorization(self, internal_id: 'str') -> 'AuthorizationCancellation'
    def capture(self, *, amount: 'Amount', reference: 'str', authorization_id: 'str', description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    def create_authorization(self, *, amount: 'Amount', reference: 'str', phone_number: 'str', provider: 'str | None' = None, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    def create_mobile(self, *, amount: 'Amount', reference: 'str', phone_number: 'str', provider: 'str | None' = None, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    def create_qr_code(self, *, amount: 'Amount', reference: 'str', qr_size: 'str | None' = None, qr_type: 'str | None' = None, max_transactions: 'int | None' = None, end_date: 'datetime | None' = None, include_deep_link: 'bool' = True, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    def create_reference(self, *, amount: 'Amount', reference_type: 'ReferenceType' = <ReferenceType.DYNAMIC: 'Dynamic'>, reference: 'str | None' = None, expiry_date: 'datetime | None' = None, customer_name: 'str | None' = None, customer_email: 'str | None' = None, customer_telephone: 'str | None' = None, document_number: 'str | None' = None, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    def create_webframe(self, *, amount: 'Amount', reference: 'str', css_url: 'str | None' = None, qr_code: 'str | None' = None, mobile: 'str | None' = None, card: 'str | None' = None, description: 'str | None' = None, custom: 'Custom | None' = None, idempotency_key: 'str | None' = None) -> 'CreatedPayment'
    def get(self, payment_id: 'str') -> 'Payment'
    def list(self, *, page_number: 'int' = 1, page_size: 'int' = 20, status: 'PaymentStatus | None' = None, payment_type: 'PaymentType | None' = None, start_date: 'datetime | None' = None, end_date: 'datetime | None' = None, search: 'str | None' = None) -> 'Page[Payment]'
    def request_status_sync(self, payment_id: 'str') -> 'None'
class PermissionDeniedError(IziPayError)
dataclass QrCodePaymentNotification(object)
    field id: str
    field amount: Decimal
    field currency: str | None
    field status: str | None
    field transaction_type: str | None
    field transaction_number: str | None
    field clearing_period: str | None
    field order_origin: str | None
    field charge_id: str | None
    field point_of_sale_id: str | None
    field merchant_reference_number: str | None
    field creation_date: datetime | None
    field updated_date: datetime | None
    def __init__(self, *, id: 'str', amount: 'Decimal', currency: 'str | None', status: 'str | None', transaction_type: 'str | None', transaction_number: 'str | None', clearing_period: 'str | None', order_origin: 'str | None', charge_id: 'str | None', point_of_sale_id: 'str | None', merchant_reference_number: 'str | None', creation_date: 'datetime | None', updated_date: 'datetime | None') -> None
class RateLimitedError(IziPayError)
dataclass ReferencePayment(object)
    field reference: str
    field amount: Decimal
    field status: PaymentStatus
    field created_at: datetime | None
    field completed_at: datetime | None
    field is_paid: bool
    def __init__(self, *, reference: 'str', amount: 'Decimal', status: 'PaymentStatus', created_at: 'datetime | None', completed_at: 'datetime | None', is_paid: 'bool') -> None
dataclass ReferencePaymentNotification(object)
    field id: str
    field reference: str
    field amount_paid: Decimal
    field paid_at: datetime | None
    field transaction_id: str
    field system_log_number: str | None
    field system_log_id: str | None
    field terminal_type: str | None
    field terminal_id: str | None
    field terminal_location: str | None
    field nib: str | None
    field bank: str | None
    def __init__(self, *, id: 'str', reference: 'str', amount_paid: 'Decimal', paid_at: 'datetime | None', transaction_id: 'str', system_log_number: 'str | None', system_log_id: 'str | None', terminal_type: 'str | None', terminal_id: 'str | None', terminal_location: 'str | None', nib: 'str | None', bank: 'str | None') -> None
enum ReferenceStatus(WireEnum)
    UNKNOWN = 'Unknown'
    ACTIVE = 'Active'
    PAID = 'Paid'
    CANCELLED = 'Cancelled'
    EXPIRED = 'Expired'
enum ReferenceType(WireEnum)
    UNKNOWN = 'Unknown'
    DYNAMIC = 'Dynamic'
    CHARGING = 'Charging'
class References(object)
    def __init__(self, transport: 'SyncTransport') -> 'None'
    def cancel(self, reference: 'str') -> 'None'
    def create(self, *, amount: 'Amount | None' = None, reference_type: 'ReferenceType' = <ReferenceType.DYNAMIC: 'Dynamic'>, reference: 'str | None' = None, expiry_date: 'datetime | None' = None, description: 'str | None' = None, customer_name: 'str | None' = None, customer_email: 'str | None' = None, customer_telephone: 'str | None' = None, document_number: 'str | None' = None, custom_metadata: 'Custom | None' = None) -> 'PaymentReference'
    def create_bulk(self, references: 'Sequence[CreateReferenceRequest]') -> 'BulkReferenceResult'
    def get(self, reference: 'str') -> 'PaymentReference'
    def get_history(self, reference: 'str') -> 'builtins.list[ReferencePayment]'
    def list(self, *, page_number: 'int' = 1, page_size: 'int' = 20, reference_type: 'ReferenceType | None' = None, status: 'PaymentStatus | None' = None) -> 'Page[PaymentReference]'
dataclass Refund(object)
    field id: str
    field payment_id: str
    field payment_reference: str | None
    field amount: Decimal
    field currency: str | None
    field status: RefundStatus
    field reason: str | None
    field payment_type: PaymentType | None
    field created_at: datetime | None
    field processed_at: datetime | None
    field completed_at: datetime | None
    field error_code: str | None
    field error_message: str | None
    def __init__(self, *, id: 'str', payment_id: 'str', payment_reference: 'str | None', amount: 'Decimal', currency: 'str | None', status: 'RefundStatus', reason: 'str | None', payment_type: 'PaymentType | None', created_at: 'datetime | None', processed_at: 'datetime | None', completed_at: 'datetime | None', error_code: 'str | None', error_message: 'str | None') -> None
enum RefundStatus(WireEnum)
    UNKNOWN = 'Unknown'
    PENDING = 'Pending'
    PROCESSING = 'Processing'
    COMPLETED = 'Completed'
    FAILED = 'Failed'
class Refunds(object)
    def __init__(self, transport: 'SyncTransport') -> 'None'
    def create(self, *, payment_id: 'str', amount: 'Amount', supervisor_id: 'str', reason: 'str | None' = None) -> 'Refund'
    def get(self, *, payment_id: 'str', refund_id: 'str') -> 'Refund'
    def list(self, *, page_number: 'int' = 1, page_size: 'int' = 20, status: 'RefundStatus | None' = None, payment_type: 'PaymentType | None' = None, start_date: 'datetime | None' = None, end_date: 'datetime | None' = None) -> 'Page[Refund]'
class ServerError(IziPayError)
dataclass Subscription(object)
    field subscription_id: str
    field merchant_id: str
    field merchant_name: str | None
    field package_id: str
    field package_name: str | None
    field start_date: datetime | None
    field end_date: datetime | None
    field status: SubscriptionStatus
    field created_at: datetime | None
    def __init__(self, *, subscription_id: 'str', merchant_id: 'str', merchant_name: 'str | None', package_id: 'str', package_name: 'str | None', start_date: 'datetime | None', end_date: 'datetime | None', status: 'SubscriptionStatus', created_at: 'datetime | None') -> None
enum SubscriptionStatus(WireEnum)
    UNKNOWN = 'Unknown'
    ACTIVE = 'Active'
    CANCELLED = 'Cancelled'
    EXPIRED = 'Expired'
enum TerminalState(WireEnum)
    UNKNOWN = 'Unknown'
    OPEN = 'OPEN'
    CLOSED = 'CLOSE'
dataclass TerminalStatus(object)
    field id: str
    field name: str | None
    field active: bool
    field status: TerminalState
    field scenario: str | None
    field creation_date: datetime | None
    field updated_date: datetime | None
    field clearing_period_id: str | None
    field establishment_id: str | None
    field merchant_id: str | None
    field supervisor_id: str | None
    def __init__(self, *, id: 'str', name: 'str | None', active: 'bool', status: 'TerminalState', scenario: 'str | None', creation_date: 'datetime | None', updated_date: 'datetime | None', clearing_period_id: 'str | None', establishment_id: 'str | None', merchant_id: 'str | None', supervisor_id: 'str | None') -> None
class Terminals(object)
    def __init__(self, transport: 'SyncTransport') -> 'None'
    def close(self, pos_id: 'str', *, supervisor_id: 'str | None' = None, supervisor_iban: 'str | None' = None) -> 'str'
    def get_status(self, pos_id: 'str') -> 'TerminalStatus'
    def open(self, pos_id: 'str', *, supervisor_id: 'str | None' = None, supervisor_iban: 'str | None' = None) -> 'str'
dataclass UsageRecord(object)
    field usage_id: str
    field merchant_id: str
    field service_id: str
    field service_name: str | None
    field quantity: Decimal
    field amount: Decimal | None
    field recorded_at: datetime | None
    field billing_period: str | None
    field is_processed: bool
    def __init__(self, *, usage_id: 'str', merchant_id: 'str', service_id: 'str', service_name: 'str | None', quantity: 'Decimal', amount: 'Decimal | None', recorded_at: 'datetime | None', billing_period: 'str | None', is_processed: 'bool') -> None
dataclass UsageSummary(object)
    field service_id: str
    field service_name: str | None
    field unit_name: str | None
    field total_quantity: Decimal
    field total_amount: Decimal
    field billing_period: str | None
    def __init__(self, *, service_id: 'str', service_name: 'str | None', unit_name: 'str | None', total_quantity: 'Decimal', total_amount: 'Decimal', billing_period: 'str | None') -> None
class ValidationError(IziPayError)
class WebhookError(Exception)
class Webhooks(object)
    def __init__(self, access_key: 'str') -> 'None'
    staticmethod acknowledge(merchant_payment_id: 'str', note: 'str' = 'Payment processed') -> 'str'
    def ensure_authentic(self, access_key_header: 'str | None') -> 'None'
    def is_authentic(self, access_key_header: 'str | None') -> 'bool'
    def parse_qr_code_payment(self, body: 'str | bytes') -> 'QrCodePaymentNotification'
    def parse_reference_payment(self, body: 'str | bytes') -> 'ReferencePaymentNotification'
    staticmethod reject(merchant_payment_id: 'str', note: 'str') -> 'str'
enum WireEnum(StrEnum)
    classmethod from_wire(cls: 'type[_E]', value: 'object') -> '_E'
