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

import typing

import typing_extensions
from .error import ErrorParams
from .payment import PaymentParams


class GetPaymentResponseParams(typing_extensions.TypedDict):
    """
    Defines the response returned by [GetPayment](api-endpoint:Payments-GetPayment).
    """

    errors: typing_extensions.NotRequired[typing.Sequence[ErrorParams]]
    """
    Information about errors encountered during the request.
    """

    payment: typing_extensions.NotRequired[PaymentParams]
    """
    The requested `Payment`.
    """
