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

    Class MarzPay

    Official MarzPay API v1 SDK Client

    import { MarzPay } from 'marzpay';

    const marzpay = new MarzPay({
    apiKey: 'your_api_key',
    apiSecret: 'your_api_secret',
    webhookSecret: 'whsec_...',
    });

    // Initiate a mobile money collection
    const res = await marzpay.collections.create({
    amount: 5000,
    phone_number: '+256712345678',
    reference: 'c97fae8b-9b7f-4192-9f72-6f0859d33e67',
    country: 'UG',
    });
    Index

    Airtime & data bundle top-up service

    Multi-currency wallet balance & ledger history service

    bankTransfers: BankTransfersService

    Bank account payouts & validation service

    billPayments: BillPaymentsService

    Electricity, Water, and TV utility bill payments service

    collections: CollectionsService

    Mobile money & card collections service

    disbursements: DisbursementsService

    Send money payouts & disbursements service

    paymentLinks: PaymentLinksService

    Hosted payment links management service

    phoneVerification: PhoneVerificationService

    Subscriber identity lookup & KYC verification service

    services: ServicesService

    Service marketplace subscriptions service

    transactions: TransactionsService

    Transaction status & historical query service

    USSD gateway integration service

    webhooks: WebhooksService

    Webhook registrations, HMAC verification & payload parsing service

    whatsapp: WhatsAppService

    WhatsApp channel integration service