MarzPay SDK Reference - v1.0.3
    Preparing search index...

    Interface APIResponseEnvelope<T>

    Standard MarzPay API wrapper response

    interface APIResponseEnvelope<T = Record<string, unknown>> {
        data: T;
        error_code?: string;
        errors?: Record<string, string[]>;
        message?: string;
        status: "success" | "error" | "sandbox";
    }

    Type Parameters

    • T = Record<string, unknown>
    Index
    data: T
    error_code?: string
    errors?: Record<string, string[]>
    message?: string
    status: "success" | "error" | "sandbox"