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

    Interface RequestOptions

    Per-request options (Idempotency Key, custom headers)

    interface RequestOptions {
        headers?: Record<string, string>;
        idempotencyKey?: string;
    }
    Index
    headers?: Record<string, string>

    Custom HTTP headers for this request.

    idempotencyKey?: string

    Optional Idempotency-Key header for double-charge prevention on retries.