@stripe/stripe-terminal-react-native
    Preparing search index...

    Interface StripeError

    interface StripeError {
        apiError?: ApiErrorInformation;
        cause?: unknown;
        code: ErrorCode;
        message: string;
        metadata: Record<string, unknown>;
        name: "StripeError";
        nativeErrorCode: string;
        paymentIntent?: PaymentIntent.Type;
        refund?: Props;
        setupIntent?: SetupIntent.Type;
        stack?: string;
        underlyingError?: UnderlyingErrorInformation;
    }

    Hierarchy

    • Error
      • StripeError
    Index

    Properties

    API-level error information (unified across platforms)

    cause?: unknown
    code: ErrorCode
    message: string
    metadata: Record<string, unknown>

    Platform-specific metadata (flexible map structure)

    name: "StripeError"
    nativeErrorCode: string
    paymentIntent?: PaymentIntent.Type

    Associated PaymentIntent (if applicable)

    refund?: Props

    Associated Refund (if applicable, Android will populate this)

    setupIntent?: SetupIntent.Type

    Associated SetupIntent (if applicable)

    stack?: string
    underlyingError?: UnderlyingErrorInformation

    Underlying error information (unified structure)