# This file was auto-generated by Fern from our API Definition.

import typing

import typing_extensions
from .payment_updated_event_object import PaymentUpdatedEventObjectParams


class PaymentUpdatedEventDataParams(typing_extensions.TypedDict):
    type: typing_extensions.NotRequired[typing.Optional[str]]
    """
    Name of the affected object’s type, `"payment"`.
    """

    id: typing_extensions.NotRequired[str]
    """
    ID of the affected payment.
    """

    object: typing_extensions.NotRequired[PaymentUpdatedEventObjectParams]
    """
    An object containing the updated payment.
    """
