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

    Interface PayBillParams

    interface PayBillParams {
        amount: number;
        area?: string;
        bouquet_code?: string;
        callback_url?: string;
        customer_name?: string;
        email?: string;
        meter_number: string;
        phone_number: string;
        reference?: string;
        utility_code: string;
    }
    Index
    amount: number

    Amount to pay (For DSTV/GOTV, must match exact bouquet price)

    area?: string

    Area string (Required for NWSC, e.g. "Kampala")

    bouquet_code?: string

    Bouquet code (Required for DSTV / GOTV)

    callback_url?: string

    Webhook callback URL

    customer_name?: string

    Customer name

    email?: string

    Customer email for receipt

    meter_number: string

    Meter or SmartCard number

    phone_number: string

    Phone number for notifications

    reference?: string

    Unique reference (UUID). Auto-generated as a valid v4 UUID if omitted.

    utility_code: string

    Utility code: LIGHT, NWSC, DSTV, GOTV