I want to remove this:
{ \"val\" : NumberLong(200), \"chId\" : 2, \"reqSys\" : \"222220005031\", \"old\" : NumberL
To remove sub document use $pull
This query will remove from nested sub document
db.collection.update({ d : 2014001 , m :123456789}, {$pull : { "topups.data" : {"val":NumberLong(200)} } } )