def METHOD_NAME(code):
    claim = db.payments_claim.find_one({"_id": ObjectId(code)})
    if not claim:
        return (None, None)
    db.payments_claim.remove(claim)
    return (db.users.find_one({"_id": claim["User"]}), db.payments.find_one({"Txn": claim["Txn"]}))