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

    Interface CollectionCompletedEvent

    interface CollectionCompletedEvent {
        collection: {
            amount: MoneyObject;
            charge?: MoneyObject;
            mode?: string;
            net_amount?: MoneyObject;
            phone_number: string;
            provider: string;
            provider_transaction_id: string;
        };
        event_type: "success"
        | "collection.completed";
        metadata?: MetadataItem[];
        transaction: {
            amount: MoneyObject;
            charge?: MoneyObject;
            created_at: string;
            description?: string;
            net_amount?: MoneyObject;
            phone_number: string;
            provider: string;
            reference: string;
            status: "completed";
            updated_at: string;
            uuid: string;
        };
    }
    Index
    collection: {
        amount: MoneyObject;
        charge?: MoneyObject;
        mode?: string;
        net_amount?: MoneyObject;
        phone_number: string;
        provider: string;
        provider_transaction_id: string;
    }
    event_type: "success" | "collection.completed"
    metadata?: MetadataItem[]
    transaction: {
        amount: MoneyObject;
        charge?: MoneyObject;
        created_at: string;
        description?: string;
        net_amount?: MoneyObject;
        phone_number: string;
        provider: string;
        reference: string;
        status: "completed";
        updated_at: string;
        uuid: string;
    }